summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx b/basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx
index b795c04e158e..95c310b7dcc9 100644
--- a/basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -349,12 +350,12 @@ namespace basegfx
return 0.0f;
}
- bool isEnded()
+ bool isEnded() const
{
return mnYCounter<=0;
}
- bool isDownwards()
+ bool isDownwards() const
{
return mbDownwards;
}
@@ -590,8 +591,7 @@ namespace basegfx
switch( eFillRule )
{
default:
- OSL_ENSURE(false,
- "B2DPolyPolygonRasterConverter::rasterConvert(): Unexpected fill rule");
+ OSL_FAIL("B2DPolyPolygonRasterConverter::rasterConvert(): Unexpected fill rule");
return;
case FillRule_EVEN_ODD:
@@ -700,3 +700,5 @@ namespace basegfx
}
}
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */