diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-28 10:01:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-28 13:01:12 +0200 |
commit | 149a4d756699f4275f9f84807e72526e73aed1b2 (patch) | |
tree | 5a5251e773b74d5147e677f962a07d1c32bb088c /sd/source/ui/sidebar | |
parent | 7f7653c11b4312e89b7ad3cc0e5fb0b6a9b94c5d (diff) |
loplugin:virtualdown in sc..sd
Change-Id: If93dc12f484839e6d2b44d6568b506f0c15b4735
Reviewed-on: https://gerrit.libreoffice.org/51989
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/sidebar')
-rw-r--r-- | sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/sidebar/MasterPagesSelector.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/sidebar/MasterPagesSelector.hxx | 14 |
3 files changed, 1 insertions, 19 deletions
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx index 01f1d9b55e92..f20bf2ac2803 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx @@ -45,7 +45,7 @@ public: used by the currently selected page of the document in the center pane. */ - virtual void UpdateSelection() override; + virtual void UpdateSelection(); /** Copy all master pages that are to be shown into the given list. */ diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx index 8fa6a644069b..3047153cc5f8 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx @@ -464,10 +464,6 @@ void MasterPagesSelector::SetUserData (int nIndex, UserData* pData) } } -void MasterPagesSelector::UpdateSelection() -{ -} - void MasterPagesSelector::SetItem ( sal_uInt16 nIndex, MasterPageContainer::Token aToken) diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx index 1ed1279797b8..05c4461934c1 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx @@ -70,20 +70,6 @@ public: sal_Int32 GetPreferredHeight (sal_Int32 nWidth); - /** Update the selection of previews according to whatever - influences them apart from mouse and keyboard. If, for - example, the current page of the main pane changes, then call - this method at the CurrentMasterPagesSelector to select the - previews of the master pages that are assigned to the new - current page. - - The default implementation of this method ignores the call. This is - used by e.g. the RecentMasterPagesSelector because it does not show - the currently used master pages by default and thus is not - influenced by its changes. - */ - virtual void UpdateSelection(); - /** Make the selector empty. This method clear the value set from any entries. Override this method to add functionality, especially to destroy objects set as data items at the value set. |