diff options
Diffstat (limited to 'sw/source/ui/config/optload.cxx')
-rw-r--r-- | sw/source/ui/config/optload.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index 81eebd4c1635..aba994138a24 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -386,7 +386,7 @@ SwCaptionPreview::SwCaptionPreview(vcl::Window* pParent, WinBits nStyle) : Window(pParent, nStyle) , mbFontInitialized(false) { - Init(); + maDrawPos = Point(4, 6); } VCL_BUILDER_DECL_FACTORY(SwCaptionPreview) @@ -398,11 +398,6 @@ VCL_BUILDER_DECL_FACTORY(SwCaptionPreview) rRet = VclPtr<SwCaptionPreview>::Create(pParent, nBits); } -void SwCaptionPreview::Init() -{ - maDrawPos = Point(4, 6); -} - void SwCaptionPreview::ApplySettings(vcl::RenderContext& rRenderContext) { Wallpaper aBack(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor()); |