summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 10:21:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 10:23:35 +0000
commit7da765dde1800aa607f96e7a5807582ad2894acb (patch)
treeb7c3027f51f9b41133f25c19697965dd28fec7bb /include/svtools
parentc19d2b276b7a28c07315cf60cb0965098a935e5f (diff)
loplugin:expandablemethods in svtools
Change-Id: I126cc87c890867c3e762f86969a20d64aef63108 Reviewed-on: https://gerrit.libreoffice.org/30314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/PlaceEditDialog.hxx1
-rw-r--r--include/svtools/accessibleruler.hxx8
-rw-r--r--include/svtools/brwbox.hxx2
-rw-r--r--include/svtools/calendar.hxx1
-rw-r--r--include/svtools/dialogcontrolling.hxx1
-rw-r--r--include/svtools/filectrl.hxx3
-rw-r--r--include/svtools/grfmgr.hxx5
-rw-r--r--include/svtools/simptabl.hxx1
-rw-r--r--include/svtools/treelistbox.hxx3
-rw-r--r--include/svtools/unoevent.hxx1
-rw-r--r--include/svtools/wizdlg.hxx1
11 files changed, 0 insertions, 27 deletions
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx
index c6ab42b05f83..4649307f383c 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -81,7 +81,6 @@ public :
private:
void InitDetails( );
- void UpdateLabel( );
DECL_LINK ( OKHdl, Button *, void );
DECL_LINK ( DelHdl, Button *, void );
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx
index ddc63a4e0898..2d4861f74ac1 100644
--- a/include/svtools/accessibleruler.hxx
+++ b/include/svtools/accessibleruler.hxx
@@ -178,9 +178,6 @@ protected:
/// @returns true if it's disposed or in disposing
inline bool IsAlive() const;
- /// @returns true if it's not disposed and no in disposing
- inline bool IsNotAlive() const;
-
/// throws the exception DisposedException if it's not alive
void ThrowExceptionIfNotAlive() throw( css::lang::DisposedException );
@@ -212,11 +209,6 @@ inline bool SvtRulerAccessible::IsAlive() const
return !rBHelper.bDisposed && !rBHelper.bInDispose;
}
-inline bool SvtRulerAccessible::IsNotAlive() const
-{
- return rBHelper.bDisposed || rBHelper.bInDispose;
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 5ec84e60652d..903fce871f74 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -302,8 +302,6 @@ private:
bool GoToColumnId( sal_uInt16 nColId, bool bMakeVisible, bool bRowColMove = false);
void SelectColumnPos( sal_uInt16 nCol, bool _bSelect, bool bMakeVisible);
- void SelectColumnId( sal_uInt16 nColId, bool _bSelect, bool bMakeVisible)
- { SelectColumnPos( GetColumnPos(nColId), _bSelect, bMakeVisible); }
void ImplPaintData(OutputDevice& _rOut, const Rectangle& _rRect, bool _bForeignDevice, bool _bDrawSelections);
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 606d0dd74888..8cd906d3a32b 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -354,7 +354,6 @@ public:
virtual void dispose() override;
virtual bool ShowDropDown( bool bShow ) override;
- VclPtr<Calendar> CreateCalendar( vcl::Window* pParent );
Calendar* GetCalendar();
void EnableToday() { mbToday = true; }
diff --git a/include/svtools/dialogcontrolling.hxx b/include/svtools/dialogcontrolling.hxx
index e934adfcc6bb..020572b2954d 100644
--- a/include/svtools/dialogcontrolling.hxx
+++ b/include/svtools/dialogcontrolling.hxx
@@ -111,7 +111,6 @@ namespace svt
void reset();
private:
- void impl_updateAll( const VclWindowEvent& _rTriggerEvent );
void impl_update( const VclWindowEvent& _rTriggerEvent, vcl::Window& _rWindow );
DECL_LINK( OnWindowEvent, VclWindowEvent&, void );
diff --git a/include/svtools/filectrl.hxx b/include/svtools/filectrl.hxx
index 7108f444cbac..1dbb4f33dc81 100644
--- a/include/svtools/filectrl.hxx
+++ b/include/svtools/filectrl.hxx
@@ -50,9 +50,6 @@ private:
FileControlMode_Internal mnInternalFlags;
-private:
- SVT_DLLPRIVATE void ImplBrowseFile( );
-
protected:
SVT_DLLPRIVATE void Resize() override;
SVT_DLLPRIVATE void GetFocus() override;
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 66cb2ff25280..75fb7742b905 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -311,9 +311,6 @@ private:
DECL_LINK( ImplAutoSwapOutHdl, Timer*, void );
- // restart SwapOut timer; this is like touching in a cache to reset to the full timeout value
- void SVT_DLLPRIVATE restartSwapOutTimer() const;
-
// Handle evtl. needed AfterDataChanges, needs to be called when new
// graphic data is swapped in/added to the GraphicManager
void SVT_DLLPRIVATE ImplAfterDataChange();
@@ -409,8 +406,6 @@ public:
bool IsAnimated() const { return mbAnimated; }
bool IsEPS() const { return mbEPS; }
- Link<Animation*,void> GetAnimationNotifyHdl() const { return GetGraphic().GetAnimationNotifyHdl(); }
-
bool SwapOut();
bool SwapOut( SvStream* pOStm );
bool SwapIn();
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index 3890e44b6784..5f180eac1ccc 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -80,7 +80,6 @@ protected:
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override;
virtual void HBarClick();
- void HBarStartDrag();
void HBarDrag();
void HBarEndDrag();
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 093d5206603a..d9ac1b58d598 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -305,7 +305,6 @@ protected:
void EditText( const OUString&, const Rectangle&,const Selection&);
void CancelTextEditing();
bool EditingCanceled() const;
- bool IsEmptyTextAllowed() const;
// Return value must be derived from SvViewDataEntry!
virtual SvViewDataEntry* CreateViewData( SvTreeListEntry* ) override;
@@ -380,7 +379,6 @@ public:
static SvTreeListEntry* PrevSibling( SvTreeListEntry* pEntry );
bool CopySelection( SvTreeListBox* pSource, SvTreeListEntry* pTarget );
- bool MoveSelection( SvTreeListBox* pSource, SvTreeListEntry* pTarget );
bool MoveSelectionCopyFallbackPossible( SvTreeListBox* pSource, SvTreeListEntry* pTarget, bool bAllowCopyFallback );
void RemoveSelection();
@@ -535,7 +533,6 @@ protected:
using SvListView::SelectAll;
SVT_DLLPRIVATE short GetHeightOffset( const Image& rBmp, Size& rLogicSize);
- SVT_DLLPRIVATE void GetHeightOffset( Size& rLogicSize);
SVT_DLLPRIVATE void SetEntryHeight( SvTreeListEntry* pEntry );
SVT_DLLPRIVATE void AdjustEntryHeight( const Image& rBmp );
diff --git a/include/svtools/unoevent.hxx b/include/svtools/unoevent.hxx
index ef303638f7ae..e5332cb0f611 100644
--- a/include/svtools/unoevent.hxx
+++ b/include/svtools/unoevent.hxx
@@ -280,7 +280,6 @@ public:
virtual ~SvMacroTableEventDescriptor() override;
- void copyMacrosFromTable(const SvxMacroTableDtor& aFmt);
void copyMacrosIntoTable(SvxMacroTableDtor& aFmt);
};
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx
index 91473c42ea89..a115a1a92412 100644
--- a/include/svtools/wizdlg.hxx
+++ b/include/svtools/wizdlg.hxx
@@ -204,7 +204,6 @@ private:
bool mbEmptyViewMargin;
DECL_DLLPRIVATE_LINK( ImplHandleWizardLayoutTimerHdl, Idle*, void );
- bool hasWizardPendingLayout() const;
protected:
long LogicalCoordinateToPixel(int iCoordinate);