summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-21 09:05:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 09:05:41 +0000
commit3d2f43438d4fe6947965a98262b0db42c8d5e680 (patch)
treee245fa05276d3b30b9537924cb06f7ebe266ac3b /sd/source/ui/inc
parent190f91c71905ca18d6174393ad1b54be74259754 (diff)
loplugin:unusedmethods sd
Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d Reviewed-on: https://gerrit.libreoffice.org/17254 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/Client.hxx6
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx1
-rw-r--r--sd/source/ui/inc/FrameView.hxx1
-rw-r--r--sd/source/ui/inc/PaneShells.hxx4
-rw-r--r--sd/source/ui/inc/TabControl.hxx2
-rw-r--r--sd/source/ui/inc/View.hxx4
-rw-r--r--sd/source/ui/inc/ViewShell.hxx2
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx1
-rw-r--r--sd/source/ui/inc/Window.hxx1
-rw-r--r--sd/source/ui/inc/docprev.hxx1
-rw-r--r--sd/source/ui/inc/framework/ResourceId.hxx5
-rw-r--r--sd/source/ui/inc/fuhhconv.hxx6
-rw-r--r--sd/source/ui/inc/fupoor.hxx5
-rw-r--r--sd/source/ui/inc/fusearch.hxx5
-rw-r--r--sd/source/ui/inc/navigatr.hxx1
-rw-r--r--sd/source/ui/inc/optsitem.hxx4
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx1
-rw-r--r--sd/source/ui/inc/sdundogr.hxx1
-rw-r--r--sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx52
19 files changed, 4 insertions, 99 deletions
diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx
index dd965219395b..bd7a78423fdd 100644
--- a/sd/source/ui/inc/Client.hxx
+++ b/sd/source/ui/inc/Client.hxx
@@ -34,7 +34,6 @@ class Client : public SfxInPlaceClient
ViewShell* mpViewShell;
SdrOle2Obj* pSdrOle2Obj;
SdrGrafObj* pSdrGrafObj;
- OutlinerParaObject* pOutlinerParaObj;
virtual void ObjectAreaChanged() SAL_OVERRIDE;
virtual void RequestNewObjectArea( Rectangle& ) SAL_OVERRIDE;
@@ -43,12 +42,7 @@ class Client : public SfxInPlaceClient
public:
Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, vcl::Window* pWindow);
virtual ~Client();
-
- SdrOle2Obj* GetSdrOle2Obj() const { return pSdrOle2Obj; }
void SetSdrGrafObj(SdrGrafObj* pObj) { pSdrGrafObj = pObj; }
- SdrGrafObj* GetSdrGrafObj() const { return pSdrGrafObj; }
- void SetOutlinerParaObj (OutlinerParaObject* pObj) { pOutlinerParaObj = pObj; }
- OutlinerParaObject* GetOutlinerParaObject () const { return pOutlinerParaObj; }
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 34b0929b439a..b2d2d10e8235 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -250,7 +250,6 @@ public:
PageKind GetPageKind() { return mePageKind; }
void SetPageKind( PageKind ePageKind ) { mePageKind = ePageKind; }
Point GetMousePos() { return maMousePos; }
- bool IsMousePosFreezed() { return mbMousePosFreezed; }
void SetMousePosFreezed( bool bIn ) { mbMousePosFreezed = bIn; }
EditMode GetEditMode() const { return meEditMode; }
diff --git a/sd/source/ui/inc/FrameView.hxx b/sd/source/ui/inc/FrameView.hxx
index 1cfe9d1c5fa4..dea23ec839f4 100644
--- a/sd/source/ui/inc/FrameView.hxx
+++ b/sd/source/ui/inc/FrameView.hxx
@@ -155,7 +155,6 @@ public:
sal_uInt16 GetPresentationViewShellId() const { return mnPresViewShellId; }
void SetSlotId(sal_uInt16 nId) { mnSlotId = nId; }
- sal_uInt16 GetSlotId() const { return mnSlotId; }
void SetSlidesPerRow(sal_uInt16 nSlides) { mnSlidesPerRow = nSlides; }
sal_uInt16 GetSlidesPerRow() const { return mnSlidesPerRow; }
diff --git a/sd/source/ui/inc/PaneShells.hxx b/sd/source/ui/inc/PaneShells.hxx
index b362d3e35c95..7447159602c4 100644
--- a/sd/source/ui/inc/PaneShells.hxx
+++ b/sd/source/ui/inc/PaneShells.hxx
@@ -73,10 +73,6 @@ public:
TYPEINFO_OVERRIDE();
SFX_DECL_INTERFACE( SD_IF_SDTOOLPANELPANESHELL )
-private:
- /// SfxInterface initializer.
- static void InitInterface_Impl();
-
public:
ToolPanelPaneShell();
virtual ~ToolPanelPaneShell();
diff --git a/sd/source/ui/inc/TabControl.hxx b/sd/source/ui/inc/TabControl.hxx
index b767cc8b2ba7..d73d29ae51a6 100644
--- a/sd/source/ui/inc/TabControl.hxx
+++ b/sd/source/ui/inc/TabControl.hxx
@@ -79,8 +79,6 @@ protected:
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) SAL_OVERRIDE;
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE;
- DECL_LINK(DeactivatePageHdl, void*);
-
private:
// nested class to implement the TransferableHelper
class TabControlTransferable : public TransferableHelper
diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx
index f2509c52194a..94bb84689106 100644
--- a/sd/source/ui/inc/View.hxx
+++ b/sd/source/ui/inc/View.hxx
@@ -208,7 +208,6 @@ public:
virtual void AddCustomHdl() SAL_OVERRIDE;
SmartTagSet& getSmartTags() { return maSmartTags; }
- void selectSmartTag( const SmartTagReference& xTag );
void updateHandles();
virtual SdrViewContext GetContext() const SAL_OVERRIDE;
@@ -250,9 +249,6 @@ public:
void SetResizePropAllowed( bool bSet ) { bResizePropAllowed = bSet; }
void SetResizeProtected( bool bSet ) { bResizeProtect = bSet; }
- void SetMarkedPointsSmoothPossible( bool bSet ) { bSetMarkedPointsSmoothPossible = bSet; }
- void SetMarkedSegmentsKindPossible( bool bSet ) { bSetMarkedSegmentsKindPossible = bSet; }
-
SdrObject* GetEmptyPresentationObject( PresObjKind eKind );
SdPage* GetPage();
SdrObject* GetSelectedSingleObject(SdPage* pPage);
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 75705c32dc5f..c710bd57817f 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -584,8 +584,6 @@ private:
*/
void construct();
- DECL_LINK(FrameWindowEventListener, VclSimpleEvent*);
-
/** Create the rulers.
*/
void SetupRulers();
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index f67da17348b4..832add5cfb3f 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -63,7 +63,6 @@ class ViewShellBase
{
public:
TYPEINFO_OVERRIDE();
- SFX_DECL_VIEWFACTORY(ViewShellBase);
SFX_DECL_INTERFACE(SD_IF_SDVIEWSHELLBASE)
private:
diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx
index c1cc2143d858..b615356ac83e 100644
--- a/sd/source/ui/inc/Window.hxx
+++ b/sd/source/ui/inc/Window.hxx
@@ -87,7 +87,6 @@ public:
long GetZoomForRect( const Rectangle& rZoomRect );
void SetMinZoomAutoCalc (bool bAuto);
- void SetCalcMinZoomByMinSide (bool bMin);
/** Calculate the minimal zoom factor as the value at which the
application area would completely fill the window. All values set
diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx
index ff1f4b97c778..f28e7a7d3dfe 100644
--- a/sd/source/ui/inc/docprev.hxx
+++ b/sd/source/ui/inc/docprev.hxx
@@ -73,7 +73,6 @@ public:
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
void SetClickHdl( const Link<>& rLink ) { aClickHdl = rLink; }
- const Link<>& GetClickHdl() const { return aClickHdl; }
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index d9694bb5bd35..9c6bf20a38df 100644
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -101,11 +101,6 @@ public:
virtual ~ResourceId();
- /** Return the list of URLs of both the resource URL and the anchor
- URLs.
- */
- const ::std::vector<OUString>& GetResourceURLs() const;
-
//===== XResourceId =======================================================
virtual OUString SAL_CALL
diff --git a/sd/source/ui/inc/fuhhconv.hxx b/sd/source/ui/inc/fuhhconv.hxx
index 25669f68bdad..015116744ccd 100644
--- a/sd/source/ui/inc/fuhhconv.hxx
+++ b/sd/source/ui/inc/fuhhconv.hxx
@@ -28,7 +28,7 @@ class Outliner;
class FuHangulHanjaConversion : public FuPoor
{
- public:
+public:
TYPEINFO_OVERRIDE();
static rtl::Reference<FuPoor> Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
@@ -40,9 +40,7 @@ class FuHangulHanjaConversion : public FuPoor
void ConvertStyles( sal_Int16 nTargetLanguage, const vcl::Font *pTargetFont );
- Outliner* GetOutliner() const { return pSdOutliner; }
-
- protected:
+protected:
virtual ~FuHangulHanjaConversion();
Outliner* pSdOutliner;
diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx
index 72e88fd19b93..34153b4b8a01 100644
--- a/sd/source/ui/inc/fupoor.hxx
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -60,7 +60,6 @@ public:
sal_uInt16 GetMouseButtonCode() const { return mnCode; }
DrawDocShell* GetDocSh() { return mpDocSh; }
- SdDrawDocument* GetDoc() { return mpDoc; }
virtual void DoCut();
virtual void DoCopy();
@@ -87,10 +86,6 @@ public:
virtual void SelectionHasChanged();
sal_uInt16 GetSlotID() const { return nSlotId; }
- sal_uInt16 GetSlotValue() const { return nSlotValue; }
-
- void SetNoScrollUntilInside(bool bNoScroll = true)
- { bNoScrollUntilInside = bNoScroll; }
void StartDelayToScrollTimer ();
diff --git a/sd/source/ui/inc/fusearch.hxx b/sd/source/ui/inc/fusearch.hxx
index 3e9a73b26269..55f2d4343ffa 100644
--- a/sd/source/ui/inc/fusearch.hxx
+++ b/sd/source/ui/inc/fusearch.hxx
@@ -28,8 +28,7 @@ namespace sd {
class Outliner;
-class FuSearch
- : public FuPoor
+class FuSearch : public FuPoor
{
public:
TYPEINFO_OVERRIDE();
@@ -39,8 +38,6 @@ public:
void SearchAndReplace( const SvxSearchItem* pSearchItem );
- ::sd::Outliner* GetOutliner() const { return pSdOutliner; }
-
protected:
virtual ~FuSearch();
diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx
index 493cebcda495..7c9f26689ebb 100644
--- a/sd/source/ui/inc/navigatr.hxx
+++ b/sd/source/ui/inc/navigatr.hxx
@@ -108,7 +108,6 @@ public:
bool InsertFile(const OUString& rFileName);
NavigatorDragType GetNavigatorDragType();
- void SetNavigatorDragType(NavigatorDragType eType) { meDragType = eType; }
protected:
virtual void Resize() SAL_OVERRIDE;
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 57c4569eba25..47e1bae7f3cc 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -102,8 +102,7 @@ public:
SdOptionsGeneric( sal_uInt16 nConfigId, const OUString& rSubTree );
virtual ~SdOptionsGeneric();
- const OUString& GetSubTree() const { return maSubTree; }
- sal_uInt16 GetConfigId() const { return mnConfigId; }
+ sal_uInt16 GetConfigId() const { return mnConfigId; }
void EnableModify( bool bModify ) { mbEnableModify = bModify; }
@@ -196,7 +195,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
- SdOptionsContents& GetOptionsContents() { return maOptionsContents; }
private:
SdOptionsContents maOptionsContents;
};
diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx
index 31e812510907..7e918976d2b6 100644
--- a/sd/source/ui/inc/sdtreelb.hxx
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -195,7 +195,6 @@ public:
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
void SetViewFrame( SfxViewFrame* pViewFrame ) { mpFrame = pViewFrame; }
- SfxViewFrame* GetViewFrame() const { return mpFrame; }
void Fill( const SdDrawDocument*, bool bAllPages, const OUString& rDocName );
void Fill( const SdDrawDocument*, SfxMedium* pSfxMedium, const OUString& rDocName );
diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx
index 47ae4694a04e..c91373c1c817 100644
--- a/sd/source/ui/inc/sdundogr.hxx
+++ b/sd/source/ui/inc/sdundogr.hxx
@@ -42,7 +42,6 @@ public:
virtual void Redo() SAL_OVERRIDE;
void AddAction(SdUndoAction* pAction);
- sal_uLong Count() const { return aCtn.size(); }
};
diff --git a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
index bd69db1766f3..4260f07d06a4 100644
--- a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
+++ b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
@@ -58,10 +58,6 @@ public:
TYPEINFO_OVERRIDE();
SFX_DECL_INTERFACE(SD_IF_SDTOOLPANELSHELL)
-private:
- /// SfxInterface initializer.
- static void InitInterface_Impl();
-
public:
ToolPanelViewShell (
SfxViewFrame* pFrame,
@@ -70,9 +66,6 @@ public:
FrameView* pFrameView);
virtual ~ToolPanelViewShell();
- void GetFocus();
- void LoseFocus();
- void KeyInput (const KeyEvent& rEvent);
using sd::ViewShell::KeyInput;
virtual SdPage* GetActualPage() SAL_OVERRIDE;
@@ -80,25 +73,6 @@ public:
virtual void ArrangeGUIElements() SAL_OVERRIDE;
- TaskPaneShellManager& GetSubShellManager() const;
-
- /** deactivates the given panel, bypassing the configuration controller. Only valid for tool panels which are
- not under the drawing framework's control.
- */
- void ActivatePanel( const OUString& i_rPanelResourceURL );
-
- /** deactivates the given panel, bypassing the configuration controller
- */
- void DeactivatePanel( const OUString& i_rPanelResourceURL );
-
- /** Return a pointer to the docking window that is the parent or a
- predecessor of the content window.
- @return
- When the view shell is not placed in a docking window, e.g. when
- shown in the center pane, then <NULL?> is returned.
- */
- DockingWindow* GetDockingWindow();
-
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>
CreateAccessibleDocumentView (::sd::Window* pWindow) SAL_OVERRIDE;
@@ -109,17 +83,6 @@ public:
*/
virtual bool RelocateToParentWindow (vcl::Window* pParentWindow) SAL_OVERRIDE;
- /// returns <TRUE/> if and only if the given window is the panel anchor window of our ToolPanelDeck
- bool IsPanelAnchorWindow( const vcl::Window& i_rWindow ) const;
-
- /** creates an XUIElement for the given standard panel
- */
- ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElement >
- CreatePanelUIElement(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rDocFrame,
- const OUString& i_rPanelResourceURL
- );
-
private:
::boost::scoped_ptr< ToolPanelViewShell_Impl > mpImpl;
@@ -129,21 +92,6 @@ private:
window.
*/
sal_uInt16 mnMenuId;
-
- /** Create a popup menu. it contains two sections, one for
- docking or un-docking the tool panel, one for toggling the
- visibility state of the tool panel items.
- @param bIsDocking
- According to this flag one of the lock/unlock entries is
- made disabled.
- */
- ::std::unique_ptr<PopupMenu> CreatePopupMenu (bool bIsDocking);
-
- /** Initialize the task pane view shell if that has not yet been done
- before. If mbIsInitialized is already set to <TRUE/> then this
- method returns immediately.
- */
- void Initialize();
};
} } // end of namespace ::sd::toolpanel