summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-14 13:25:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-14 20:59:14 +0100
commitd311c57f8a439d1b6f127ff1b0a852089dfc3033 (patch)
treecde1a963519f6dd419de8d84c312d1e6f8fdcf4f /sw/source/ui/misc
parentc37077578deffb79405330967191185967e90b98 (diff)
swuilo-NumberingPreview is now unused
Change-Id: Ieba56962ae1986686ae649ac15ba721a3fbfae5e
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/outline.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index f5ea3b36cee0..e1d428e23ef8 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -851,25 +851,6 @@ static long lcl_DrawGraphic(vcl::RenderContext* pVDev, const SwNumFormat &rForma
return nRet;
}
-VCL_BUILDER_FACTORY(NumberingPreview)
-
-// paint numbering's preview
-void NumberingPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rRect*/)
-{
- const Size aSize(rRenderContext.PixelToLogic(GetOutputSizePixel()));
-
- ScopedVclPtrInstance<VirtualDevice> pVDev(rRenderContext);
- pVDev->SetMapMode(rRenderContext.GetMapMode());
- pVDev->SetOutputSize(aSize);
-
- // #101524# OJ
- pVDev->SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor());
- pVDev->SetLineColor(rRenderContext.GetSettings().GetStyleSettings().GetButtonTextColor());
- pVDev->DrawRect(tools::Rectangle(Point(0,0), aSize));
-
- rRenderContext.DrawOutDev(Point(0,0), aSize, Point(0,0), aSize, *pVDev);
-}
-
void SwNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
{
const Size aSize(rRenderContext.PixelToLogic(GetOutputSizePixel()));
@@ -1074,9 +1055,4 @@ void SwNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const tools::
rRenderContext.DrawOutDev(Point(0,0), aSize, Point(0,0), aSize, *pVDev);
}
-
-NumberingPreview::~NumberingPreview()
-{
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */