summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/StylesPreviewWindow.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-23 13:17:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-23 19:02:25 +0100
commitba20fcaa257f4ce8491e4303c0e05dc5460c18fe (patch)
tree82e1e86effeac30a1ea0156eaba581ad804f302c /svx/source/tbxctrls/StylesPreviewWindow.cxx
parent804dd3e3761fe94e139384c4fdf765da0256f0fd (diff)
loplugin:unusedmethods
Change-Id: Ie0534244cc7a30ad006e65baf125c59757c90d50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111388 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/tbxctrls/StylesPreviewWindow.cxx')
-rw-r--r--svx/source/tbxctrls/StylesPreviewWindow.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx
index 6acfda335cb4..af151d19a139 100644
--- a/svx/source/tbxctrls/StylesPreviewWindow.cxx
+++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx
@@ -290,19 +290,6 @@ void StyleItemController::DrawContentBackground(vcl::RenderContext& rRenderConte
rRenderContext.DrawRect(aContentRect);
}
-void StyleItemController::DrawSelection(vcl::RenderContext& rRenderContext)
-{
- Size aSize(rRenderContext.GetOutputSizePixel());
- tools::Rectangle aFullRect(Point(0, 0), aSize);
-
- const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
-
- rRenderContext.SetLineColor(rStyleSettings.GetActiveBorderColor());
- rRenderContext.SetFillColor(rStyleSettings.GetActiveBorderColor());
-
- rRenderContext.DrawRect(aFullRect);
-}
-
void StyleItemController::DrawHighlight(vcl::RenderContext& rRenderContext, Color aFontBack)
{
tools::Rectangle aTextRect;