diff options
Diffstat (limited to 'sw/source/ui/misc/outline.cxx')
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 24 |
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: */ |