diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/config/optload.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index 87ba77f90ebb..84cf08a300f8 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -425,9 +425,9 @@ Size SwCaptionPreview::GetOptimalSize() const return LogicToPixel(Size(106 , 20), MapMode(MAP_APPFONT)); } -void SwCaptionPreview::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) +void SwCaptionPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - Window::Paint( rRect ); + Window::Paint(rRenderContext, rRect); DrawRect( Rectangle( Point( 0, 0 ), GetSizePixel() ) ); DrawText( Point( 4, 6 ), maText ); diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 4a53ece0428f..ff2869c0450f 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -208,9 +208,9 @@ void SwSidebarWin::dispose() vcl::Window::dispose(); } -void SwSidebarWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) +void SwSidebarWin::Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect) { - Window::Paint(rRect); + Window::Paint(rRenderContext, rRect); if (mpMetadataAuthor->IsVisible() ) { |