Kaydet (Commit) 81da8a36 authored tarafından Matteo Casalin's avatar Matteo Casalin

Fix regression: execute IsAnyFrm only if bOn is true

Change-Id: I2d2ce5913e8737caba2391a4e40f4c72c1911f90
üst 80a280d7
......@@ -319,13 +319,19 @@ inline bool SwTxtFly::IsOn() const
inline bool SwTxtFly::Relax( const SwRect &rRect )
{
bOn &= IsAnyFrm( rRect );
if (bOn)
{
bOn = IsAnyFrm( rRect );
}
return bOn;
}
inline bool SwTxtFly::Relax()
{
bOn &= IsAnyFrm();
if (bOn)
{
bOn = IsAnyFrm();
}
return bOn;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment