summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx2
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.hxx14
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.