summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dlgctrl.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-29 11:58:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-30 16:14:36 +0200
commitb878bd3fe9cdc2ad0180b05892b7feeaa06b9c8d (patch)
tree4f930db36d7a64faf3b2ffa0d373d8486985f0f4 /svx/source/dialog/dlgctrl.cxx
parent0749b68fe14ef8687c9fa28133a960f66add1fc7 (diff)
rename XRectPreview back to SvxXRectPreview
Change-Id: I5d684a651c075104cfb2f2bd73303a2e7f5a7fdd Reviewed-on: https://gerrit.libreoffice.org/61138 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 4850967c52fd..0750a5355853 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -1626,7 +1626,7 @@ void PreviewBase::StyleUpdated()
CustomWidgetController::StyleUpdated();
}
-XRectPreview::XRectPreview()
+SvxXRectPreview::SvxXRectPreview()
: mpRectangleObject(nullptr)
{
}
@@ -1637,7 +1637,7 @@ tools::Rectangle PreviewBase::GetPreviewSize() const
return aObjectSize;
}
-void XRectPreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
+void SvxXRectPreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
{
PreviewBase::SetDrawingArea(pDrawingArea);
InitSettings();
@@ -1646,7 +1646,7 @@ void XRectPreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
mpRectangleObject = new SdrRectObj(getModel(), GetPreviewSize());
}
-void XRectPreview::Resize()
+void SvxXRectPreview::Resize()
{
SdrObject *pOrigObject = mpRectangleObject;
if (pOrigObject)
@@ -1658,18 +1658,18 @@ void XRectPreview::Resize()
PreviewBase::Resize();
}
-XRectPreview::~XRectPreview()
+SvxXRectPreview::~SvxXRectPreview()
{
SdrObject::Free(mpRectangleObject);
}
-void XRectPreview::SetAttributes(const SfxItemSet& rItemSet)
+void SvxXRectPreview::SetAttributes(const SfxItemSet& rItemSet)
{
mpRectangleObject->SetMergedItemSet(rItemSet, true);
mpRectangleObject->SetMergedItem(XLineStyleItem(drawing::LineStyle_NONE));
}
-void XRectPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
+void SvxXRectPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
{
rRenderContext.Push(PushFlags::MAPMODE);
rRenderContext.SetMapMode(MapMode(MapUnit::Map100thMM));