summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/regband.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/regband.cxx')
-rw-r--r--vcl/source/gdi/regband.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index a729fa94d574..4961a17463bb 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -323,7 +323,7 @@ void ImplRegionBand::ScaleX( double fHorzScale )
// combine overlapping separations
-bool ImplRegionBand::OptimizeBand()
+void ImplRegionBand::OptimizeBand()
{
ImplRegionBandSep* pPrevSep = nullptr;
ImplRegionBandSep* pSep = mpFirstSep;
@@ -360,8 +360,6 @@ bool ImplRegionBand::OptimizeBand()
pPrevSep = pSep;
pSep = pSep->mpNextSep;
}
-
- return true;
}
void ImplRegionBand::Union( long nXLeft, long nXRight )