diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-15 15:13:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 05:48:12 +0000 |
commit | b7f9a397fbf8459d166d7bb961d5d8c2c87a0868 (patch) | |
tree | 7991b4d6a75db21a2261e461108d0f44e858f992 /sd | |
parent | 4ca2cf1b7e57c823e911bcbae0c87102a7c9851e (diff) |
loplugin:unusedmethods sfx2(part2)
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc
Reviewed-on: https://gerrit.libreoffice.org/17075
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/docshell/sdclient.cxx | 13 | ||||
-rw-r--r-- | sd/source/ui/inc/Client.hxx | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx index fc6887d9e878..e77ae5849151 100644 --- a/sd/source/ui/docshell/sdclient.cxx +++ b/sd/source/ui/docshell/sdclient.cxx @@ -189,19 +189,6 @@ void Client::ViewChanged() } } -/** - * Scroll object into visible area. - */ -void Client::MakeVisible() -{ - if (mpViewShell->ISA(DrawViewShell)) - { - static_cast<DrawViewShell*>(mpViewShell)->MakeVisible( - pSdrOle2Obj->GetLogicRect(), - *mpViewShell->GetActiveWindow()); - } -} - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx index 279add7ec642..dd965219395b 100644 --- a/sd/source/ui/inc/Client.hxx +++ b/sd/source/ui/inc/Client.hxx @@ -39,7 +39,6 @@ class Client : public SfxInPlaceClient virtual void ObjectAreaChanged() SAL_OVERRIDE; virtual void RequestNewObjectArea( Rectangle& ) SAL_OVERRIDE; virtual void ViewChanged() SAL_OVERRIDE; - virtual void MakeVisible() SAL_OVERRIDE; public: Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, vcl::Window* pWindow); |