diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:28:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 17:33:55 +0100 |
commit | d197d524c5292cf6d66be802ec7d1fed78e30416 (patch) | |
tree | ed1c3f2476cc557a776b9f6aabc56be3bb5b8534 /sfx2/source/sidebar | |
parent | 80751cd90d007a19143e13bf69c7e317b7d4afc9 (diff) |
loplugin:staticmethods in sfx2
Change-Id: Ide10d0186431e745c3bb17d321cf46724e801c8f
Reviewed-on: https://gerrit.libreoffice.org/63404
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/DeckTitleBar.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx index 40450ddeaa7b..35e62b9eee4b 100644 --- a/sfx2/source/sidebar/DeckTitleBar.cxx +++ b/sfx2/source/sidebar/DeckTitleBar.cxx @@ -82,7 +82,7 @@ tools::Rectangle DeckTitleBar::GetTitleArea (const tools::Rectangle& rTitleBarBo rTitleBarBox.Bottom()); } -tools::Rectangle DeckTitleBar::GetDragArea() const +tools::Rectangle DeckTitleBar::GetDragArea() { Image aGripImage (Theme::GetImage(Theme::Image_Grip)); return tools::Rectangle(0,0, diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 338fd9d6137d..95b33d7cde4a 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -1389,7 +1389,7 @@ tools::Rectangle SidebarController::GetDeckDragArea() const if(pTitleBar) { - aRect = pTitleBar->GetDragArea(); + aRect = DeckTitleBar::GetDragArea(); } } |