Kaydet (Commit) 2cfce42e authored tarafından Zolnai Tamás's avatar Zolnai Tamás

More useless static bool variables.

Change-Id: If09aa23768f73bbf659966e4e5aac82dca83d1b6
üst d4653a95
...@@ -1844,10 +1844,7 @@ bool DrawFillAttributes( ...@@ -1844,10 +1844,7 @@ bool DrawFillAttributes(
const SwRect& rPaintRect, const SwRect& rPaintRect,
OutputDevice& rOut) OutputDevice& rOut)
{ {
static bool bUseNew(true); if(rFillAttributes.get() && rFillAttributes->isUsed())
static bool bReturnWhenNew(true);
if(bUseNew && rFillAttributes.get() && rFillAttributes->isUsed())
{ {
basegfx::B2DRange aPaintRange( basegfx::B2DRange aPaintRange(
rPaintRect.Left(), rPaintRect.Left(),
...@@ -1917,14 +1914,11 @@ bool DrawFillAttributes( ...@@ -1917,14 +1914,11 @@ bool DrawFillAttributes(
delete pProcessor; delete pProcessor;
if(bReturnWhenNew)
{
return true; return true;
} }
} }
} }
} }
}
return false; return false;
} }
......
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