summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/sidebar')
-rw-r--r--sd/source/ui/sidebar/AllMasterPagesSelector.hxx2
-rw-r--r--sd/source/ui/sidebar/IDisposable.hxx1
-rw-r--r--sd/source/ui/sidebar/ISidebarReceiver.hxx2
-rw-r--r--sd/source/ui/sidebar/MasterPageContainer.hxx4
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.hxx15
-rw-r--r--sd/source/ui/sidebar/PanelBase.cxx13
-rw-r--r--sd/source/ui/sidebar/PanelBase.hxx6
7 files changed, 0 insertions, 43 deletions
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
index e63e00c5b76c..96130c6f6efe 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
@@ -65,8 +65,6 @@ private:
const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~AllMasterPagesSelector();
- void AddTemplate (const TemplateEntry& rEntry);
-
void AddItem (MasterPageContainer::Token aToken);
/** Add all items in the internal master page list into the given list.
diff --git a/sd/source/ui/sidebar/IDisposable.hxx b/sd/source/ui/sidebar/IDisposable.hxx
index 3bad77980735..ee4424f3000c 100644
--- a/sd/source/ui/sidebar/IDisposable.hxx
+++ b/sd/source/ui/sidebar/IDisposable.hxx
@@ -29,7 +29,6 @@ namespace sd { namespace sidebar {
class IDisposable
{
public:
- virtual void Dispose() = 0;
virtual ~IDisposable();
};
diff --git a/sd/source/ui/sidebar/ISidebarReceiver.hxx b/sd/source/ui/sidebar/ISidebarReceiver.hxx
index 2c5867391981..4e6b8de1d29b 100644
--- a/sd/source/ui/sidebar/ISidebarReceiver.hxx
+++ b/sd/source/ui/sidebar/ISidebarReceiver.hxx
@@ -26,8 +26,6 @@ namespace sd { namespace sidebar {
class ISidebarReceiver
{
public:
- virtual void SetSidebar (const ::com::sun::star::uno::Reference<
- ::com::sun::star::ui::XSidebar>& rxSidebar) = 0;
virtual ~ISidebarReceiver();
};
diff --git a/sd/source/ui/sidebar/MasterPageContainer.hxx b/sd/source/ui/sidebar/MasterPageContainer.hxx
index b1db0558dc41..9b28bef0e152 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.hxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.hxx
@@ -158,10 +158,6 @@ private:
class Implementation;
::boost::shared_ptr<Implementation> mpImpl;
PreviewSize mePreviewSize;
-
- /** Retrieve the preview of the document specified by the given URL.
- */
- static BitmapEx LoadPreviewFromURL (const OUString& aURL);
};
/** For some changes to the set of master pages in a MasterPageContainer or
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx
index 179f57a4089d..801254b0ead5 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx
@@ -67,19 +67,6 @@ public:
virtual void LateInit();
- /** Return the height that this control needs to show all of its lines.
- */
- long GetRequiredHeight (int nWidth) const;
-
- /** The given master page, either the master page of a slide or a notes
- page, is cloned and inserted into mrDocument. The necessary styles
- are copied as well.
- */
- static SdPage* AddMasterPage (
- SdDrawDocument* pTargetDocument,
- SdPage* pMasterPage,
- sal_uInt16 nInsertionIndex);
-
sal_Int32 GetPreferredHeight (sal_Int32 nWidth);
/** Update the selection of previews according to whatever
@@ -96,8 +83,6 @@ public:
*/
virtual void UpdateSelection();
- void FillPageSet();
-
/** 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.
diff --git a/sd/source/ui/sidebar/PanelBase.cxx b/sd/source/ui/sidebar/PanelBase.cxx
index c7bcde32e36a..3aaa0b2cd90f 100644
--- a/sd/source/ui/sidebar/PanelBase.cxx
+++ b/sd/source/ui/sidebar/PanelBase.cxx
@@ -47,12 +47,6 @@ void PanelBase::dispose()
Control::dispose();
}
-void PanelBase::Dispose()
-{
- OSL_TRACE("PanelBase::DisposeL: deleting wrapped control at %p", mpWrappedControl.get());
- mpWrappedControl.disposeAndClear();
-}
-
css::ui::LayoutSize PanelBase::GetHeightForWidth (const sal_Int32 /*nWidth*/)
{
sal_Int32 nHeight (0);
@@ -70,13 +64,6 @@ void PanelBase::Resize()
}
}
-void PanelBase::SetSidebar (const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
-{
- mxSidebar = rxSidebar;
- if (mxSidebar.is() && mpWrappedControl!=nullptr)
- mxSidebar->requestLayout();
-}
-
bool PanelBase::ProvideWrappedControl()
{
if ( ! mpWrappedControl)
diff --git a/sd/source/ui/sidebar/PanelBase.hxx b/sd/source/ui/sidebar/PanelBase.hxx
index a9971fc5d9f6..b05e1a7a77fb 100644
--- a/sd/source/ui/sidebar/PanelBase.hxx
+++ b/sd/source/ui/sidebar/PanelBase.hxx
@@ -49,15 +49,9 @@ public:
virtual void Resize() SAL_OVERRIDE;
- // IDisposable
- virtual void Dispose() SAL_OVERRIDE;
-
// ILayoutableWindow
virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) SAL_OVERRIDE;
- // ISidebarReceiver
- virtual void SetSidebar (const css::uno::Reference<css::ui::XSidebar>& rxSidebar) SAL_OVERRIDE;
-
protected:
VclPtr<vcl::Window> mpWrappedControl;
virtual vcl::Window* CreateWrappedControl (