summaryrefslogtreecommitdiff
path: root/svx/source/dialog/pagectrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/pagectrl.cxx')
-rw-r--r--svx/source/dialog/pagectrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 65a31f216f5d..4f14fa4613d4 100644
--- a/svx/source/dialog/pagectrl.cxx
+++ b/svx/source/dialog/pagectrl.cxx
@@ -365,7 +365,7 @@ void SvxPageWindow::drawFillAttributes(vcl::RenderContext& rRenderContext,
rDefineRange.Bottom());
// prepare primitive sequence
- drawinglayer::primitive2d::Primitive2DSequence aSequence;
+ drawinglayer::primitive2d::Primitive2DContainer aSequence;
// create fill geometry if there is something to fill
if (rFillAttributes.get() && rFillAttributes->isUsed())
@@ -380,11 +380,11 @@ void SvxPageWindow::drawFillAttributes(vcl::RenderContext& rRenderContext,
new drawinglayer::primitive2d::PolygonHairlinePrimitive2D(
basegfx::tools::createPolygonFromRect(aPaintRange), GetLineColor().getBColor()));
- drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(aSequence, xOutline);
+ aSequence.push_back(xOutline);
}
// draw that if we have something to draw
- if (aSequence.getLength())
+ if (!aSequence.empty())
{
const drawinglayer::geometry::ViewInformation2D aViewInformation2D(
basegfx::B2DHomMatrix(), GetViewTransformation(), aPaintRange, nullptr,