summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-13 09:55:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-13 09:56:16 +0000
commita6fed7a19befa5673403ec5fe3ab69a91475da3a (patch)
treec692d0ca693a2acfb7da3d1a2e915c79d5e0ebcd /include
parent5a247505a36ccdb911e48f0d859572f56ec4b171 (diff)
loplugin:unusedmethods vcl
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589 Reviewed-on: https://gerrit.libreoffice.org/16975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/builder.hxx10
-rw-r--r--include/vcl/ctrl.hxx1
-rw-r--r--include/vcl/field.hxx8
-rw-r--r--include/vcl/fixedhyper.hxx7
-rw-r--r--include/vcl/i18nhelp.hxx1
-rw-r--r--include/vcl/image.hxx5
-rw-r--r--include/vcl/menu.hxx1
-rw-r--r--include/vcl/menubtn.hxx3
-rw-r--r--include/vcl/msgbox.hxx4
-rw-r--r--include/vcl/print.hxx22
-rw-r--r--include/vcl/rendersettings.hxx2
-rw-r--r--include/vcl/scrbar.hxx1
-rw-r--r--include/vcl/seleng.hxx1
-rw-r--r--include/vcl/slider.hxx9
-rw-r--r--include/vcl/spinfld.hxx3
-rw-r--r--include/vcl/split.hxx7
-rw-r--r--include/vcl/splitwin.hxx33
-rw-r--r--include/vcl/status.hxx12
-rw-r--r--include/vcl/tabctrl.hxx4
-rw-r--r--include/vcl/toolbox.hxx1
20 files changed, 12 insertions, 123 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index baf523d5d301..26b5d8c3b7c0 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -70,8 +70,6 @@ public:
vcl::Window* get_widget_root();
- PopupMenu* get_menu(PopupMenu*& ret, const OString& sID);
-
//sID may not exist
PopupMenu* get_menu(const OString& sID);
@@ -432,13 +430,7 @@ inline T* VclBuilder::get(const OString& sID)
return static_cast<T*>(w);
}
-inline PopupMenu* VclBuilder::get_menu(PopupMenu*& ret, const OString& sID)
-{
- ret = get_menu(sID);
- SAL_WARN_IF(!ret, "vcl.layout", "menu \"" << sID.getStr() << "\" not found in .ui");
- assert(ret);
- return ret;
-}
+
//helper baseclass to ease retro fitting dialogs/tabpages that load a resource
//to load a .ui file instead
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx
index 038d445522e4..d33982b78da3 100644
--- a/include/vcl/ctrl.hxx
+++ b/include/vcl/ctrl.hxx
@@ -185,7 +185,6 @@ public:
vcl::Font GetUnzoomedControlPointFont() const;
void SetShowAccelerator (bool val);
- bool GetShowAccelerator (void) const;
};
#endif // INCLUDED_VCL_CTRL_HXX
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index dc461b781771..fdb09f110af8 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -83,7 +83,6 @@ public:
const AllSettings& GetFieldSettings() const;
- void SetErrorHdl( const Link<>& rLink ) { maErrorLink = rLink; }
const Link<>& GetErrorHdl() const { return maErrorLink; }
void SetEmptyFieldValue();
@@ -127,12 +126,10 @@ public:
const OString& GetEditMask() const { return m_aEditMask; }
const OUString& GetLiteralMask() const { return maLiteralMask; }
- void SetFormatFlags( sal_uInt16 nFlags ) { mnFormatFlags = nFlags; }
sal_uInt16 GetFormatFlags() const { return mnFormatFlags; }
void SetString( const OUString& rStr );
OUString GetString() const;
- bool IsStringModified() const { return !(GetString() == maFieldString ); }
};
@@ -209,7 +206,6 @@ public:
virtual sal_Int64 GetValue() const;
virtual OUString CreateFieldText( sal_Int64 nValue ) const;
bool IsValueModified() const;
- sal_Int64 GetCorrectedValue() const { return mnCorrectedValue; }
sal_Int64 Normalize( sal_Int64 nValue ) const;
sal_Int64 Denormalize( sal_Int64 nValue ) const;
@@ -267,11 +263,9 @@ public:
virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const;
virtual sal_Int64 GetValue() const SAL_OVERRIDE;
virtual OUString CreateFieldText( sal_Int64 nValue ) const SAL_OVERRIDE;
- using NumericFormatter::GetCorrectedValue;
sal_Int64 GetCorrectedValue( FieldUnit eOutUnit ) const;
void SetCustomConvertHdl( const Link<>& rLink ) { maCustomConvertLink = rLink; }
- const Link<>& GetCustomConvertHdl() const { return maCustomConvertLink; }
};
@@ -371,7 +365,6 @@ public:
Date GetDate() const;
void SetEmptyDate();
bool IsEmptyDate() const;
- Date GetCorrectedDate() const { return maCorrectedDate; }
void ResetLastDate() { maLastDate = Date( 0, 0, 0 ); }
@@ -456,7 +449,6 @@ public:
tools::Time GetTime() const;
void SetEmptyTime() { FormatterBase::SetEmptyFieldValue(); }
bool IsEmptyTime() const { return FormatterBase::IsEmptyFieldValue(); }
- tools::Time GetCorrectedTime() const { return maCorrectedTime; }
static tools::Time GetInvalidTime() { return tools::Time( 99, 99, 99 ); }
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx
index 8af5860bcf4c..9accb2853344 100644
--- a/include/vcl/fixedhyper.hxx
+++ b/include/vcl/fixedhyper.hxx
@@ -93,13 +93,6 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
*/
inline void SetClickHdl( const Link<>& rLink ) { m_aClickHdl = rLink; }
- /** returns m_aClickHdl.
-
- @return
- m_aClickHdl
- */
- inline const Link<>& GetClickHdl() const { return m_aClickHdl; }
-
// ::FixedHyperbaseLink
/** sets the URL of the hyperlink and uses it as tooltip. */
diff --git a/include/vcl/i18nhelp.hxx b/include/vcl/i18nhelp.hxx
index 71ca315544ce..8ca39f05f4d5 100644
--- a/include/vcl/i18nhelp.hxx
+++ b/include/vcl/i18nhelp.hxx
@@ -60,7 +60,6 @@ private:
SAL_DLLPRIVATE void ImplDestroyWrappers();
protected:
- ::osl::Mutex& GetMutex() { return maMutex; }
SAL_DLLPRIVATE utl::TransliterationWrapper& ImplGetTransliterationWrapper() const;
SAL_DLLPRIVATE LocaleDataWrapper& ImplGetLocaleDataWrapper() const;
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 67f0b9183e18..ab1cd2ce9f13 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -129,11 +129,6 @@ private:
sal_uInt16 mnInitSize;
sal_uInt16 mnGrowSize;
- SAL_DLLPRIVATE void ImplInitBitmapEx( const OUString& rUserImageName,
- const ::std::vector< OUString >& rImageNames,
- const OUString& rSymbolsStyle,
- BitmapEx& rBmpEx,
- const Color* pMaskColor ) const;
SAL_DLLPRIVATE void ImplInit( sal_uInt16 nItems, const Size &rSize );
SAL_DLLPRIVATE sal_uInt16 ImplGetImageId( const OUString& rImageName ) const;
};
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 25714b31635c..9daae73b1a83 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -216,7 +216,6 @@ protected:
public:
SAL_DLLPRIVATE void ImplKillLayoutData() const;
- SAL_DLLPRIVATE Menu* ImplGetStartedFrom() const { return pStartedFrom; }
SAL_DLLPRIVATE vcl::Window* ImplGetWindow() const { return pWindow; }
#if defined(MACOSX)
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx
index b89db354dc9e..d164ed826aa6 100644
--- a/include/vcl/menubtn.hxx
+++ b/include/vcl/menubtn.hxx
@@ -68,17 +68,14 @@ public:
void ExecuteMenu();
void SetMenuMode( sal_uInt16 nMode );
- sal_uInt16 GetMenuMode() const { return mnMenuMode; }
void SetPopupMenu( PopupMenu* pNewMenu );
PopupMenu* GetPopupMenu() const { return mpMenu; }
sal_uInt16 GetCurItemId() const { return mnCurItemId; }
OString GetCurItemIdent() const;
- void SetCurItemId( sal_uInt16 nItemId ) { mnCurItemId = nItemId; }
void SetActivateHdl( const Link<>& rLink ) { maActivateHdl = rLink; }
- const Link<>& GetActivateHdl() const { return maActivateHdl; }
void SetSelectHdl( const Link<MenuButton *, void>& rLink ) { maSelectHdl = rLink; }
};
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 8147821280c1..63eae2670470 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -57,12 +57,10 @@ public:
const OUString& GetMessText() const { return maMessText; }
void SetImage( const Image& rImage ) { maImage = rImage; }
- const Image& GetImage() const { return maImage; }
void SetCheckBoxText( const OUString& rText ) { maCheckBoxText = rText;}
- const OUString& GetCheckBoxText() const { return maCheckBoxText;}
void SetCheckBoxState( bool bCheck );
- bool GetCheckBoxState() const;
+ bool GetCheckBoxState() const;
virtual Size GetOptimalSize() const SAL_OVERRIDE;
};
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index ce9dbba1e666..c4cf3159dc83 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -62,18 +62,14 @@ class VCL_DLLPUBLIC PrinterPage
{
GDIMetaFile* mpMtf;
JobSetup maJobSetup;
- bool mbNewJobSetup;
public:
PrinterPage() : mpMtf( new GDIMetaFile() ) {}
- PrinterPage( GDIMetaFile* pMtf, bool bNewJobSetup, const JobSetup& rSetup ) :
- mpMtf( pMtf ), maJobSetup( rSetup ), mbNewJobSetup( bNewJobSetup ) {}
+ PrinterPage( GDIMetaFile* pMtf, const JobSetup& rSetup ) :
+ mpMtf( pMtf ), maJobSetup( rSetup ) {}
~PrinterPage() { delete mpMtf; }
- GDIMetaFile* GetGDIMetaFile() const { return mpMtf; }
- const JobSetup& GetJobSetup() const { return maJobSetup; }
- bool IsNewJobSetup() const { return mbNewJobSetup; }
};
@@ -267,9 +263,6 @@ public:
virtual Bitmap GetBitmap( const Point& rSrcPt, const Size& rSize ) const SAL_OVERRIDE;
protected:
-
- void SetSelfAsQueuePrinter( bool bQueuePrinter ) { mbIsQueuePrinter = bQueuePrinter; }
- bool IsQueuePrinter() const { return mbIsQueuePrinter; }
virtual void DrawDeviceMask ( const Bitmap& rMask, const Color& rMaskColor,
const Point& rDestPt, const Size& rDestSize,
const Point& rSrcPtPixel, const Size& rSrcSizePixel ) SAL_OVERRIDE;
@@ -305,12 +298,9 @@ public:
static const QueueInfo* GetQueueInfo( const OUString& rPrinterName, bool bStatusUpdate );
static OUString GetDefaultPrinterName();
- void Error();
-
const OUString& GetName() const { return maPrinterName; }
const OUString& GetDriverName() const { return maDriver; }
bool IsDefPrinter() const { return mbDefPrinter; }
- void SetDefPrinter(bool bDef) { mbDefPrinter = bDef; }
bool IsDisplayPrinter() const { return mpDisplayDev != nullptr; }
bool IsValid() const { return !IsDisplayPrinter(); }
@@ -366,16 +356,8 @@ public:
bool IsPrinting() const { return mbPrinting; }
- const OUString& GetCurJobName() const { return maJobName; }
- sal_uInt16 GetCurPage() const { return mnCurPage; }
bool IsJobActive() const { return mbJobActive; }
- sal_uLong GetError() const { return ERRCODE_TOERROR(mnError); }
- sal_uLong GetErrorCode() const { return mnError; }
-
- void SetErrorHdl( const Link<>& rLink ) { maErrorHdl = rLink; }
- const Link<>& GetErrorHdl() const { return maErrorHdl; }
-
/** checks the printer list and updates it necessary
*
* sends a DataChanged event of type DataChangedEventType::PRINTER
diff --git a/include/vcl/rendersettings.hxx b/include/vcl/rendersettings.hxx
index 41a2775db081..47e588ff18ed 100644
--- a/include/vcl/rendersettings.hxx
+++ b/include/vcl/rendersettings.hxx
@@ -28,8 +28,6 @@ public:
virtual ~RenderSettings()
{}
-
- void Apply(vcl::RenderContext& rRenderContext);
};
}
diff --git a/include/vcl/scrbar.hxx b/include/vcl/scrbar.hxx
index 5de297fdb1e9..b83bfbb585ca 100644
--- a/include/vcl/scrbar.hxx
+++ b/include/vcl/scrbar.hxx
@@ -85,7 +85,6 @@ private:
SAL_DLLPRIVATE bool ImplDrawNative(vcl::RenderContext& rRenderContext, sal_uInt16 nDrawFlags);
SAL_DLLPRIVATE void ImplDragThumb( const Point& rMousePos );
SAL_DLLPRIVATE Size getCurrentCalcSize() const;
- DECL_DLLPRIVATE_LINK( ImplTimerHdl, Timer* );
DECL_DLLPRIVATE_LINK_TYPED( ImplAutoTimerHdl, Timer*, void );
public:
diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx
index d5b9ef572d28..33442becb30b 100644
--- a/include/vcl/seleng.hxx
+++ b/include/vcl/seleng.hxx
@@ -121,7 +121,6 @@ public:
// when the mouse is outside the area
void SetVisibleArea( const Rectangle& rNewArea )
{ aArea = rNewArea; }
- const Rectangle& GetVisibleArea() const { return aArea; }
void SetAddMode( bool);
bool IsAddMode() const;
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx
index 8e609cd7ecaa..10c7e9b7a390 100644
--- a/include/vcl/slider.hxx
+++ b/include/vcl/slider.hxx
@@ -96,16 +96,11 @@ public:
void Slide();
void EndSlide();
- void EnableDrag( bool bEnable = true )
- { mbFullDrag = bEnable; }
- bool IsDragEnabled() const { return mbFullDrag; }
-
void SetRangeMin(long nNewRange);
long GetRangeMin() const { return mnMinRange; }
void SetRangeMax(long nNewRange);
long GetRangeMax() const { return mnMaxRange; }
void SetRange( const Range& rRange );
- Range GetRange() const { return Range( GetRangeMin(), GetRangeMax() ); }
void SetThumbPos( long nThumbPos );
long GetThumbPos() const { return mnThumbPos; }
void SetLineSize( long nNewSize ) { mnLineSize = nNewSize; }
@@ -113,16 +108,12 @@ public:
void SetPageSize( long nNewSize ) { mnPageSize = nNewSize; }
long GetPageSize() const { return mnPageSize; }
- long GetDelta() const { return mnDelta; }
-
Size CalcWindowSizePixel();
void SetLinkedField(VclPtr<NumericField> pField);
void SetSlideHdl( const Link<>& rLink ) { maSlideHdl = rLink; }
- const Link<>& GetSlideHdl() const { return maSlideHdl; }
void SetEndSlideHdl( const Link<>& rLink ) { maEndSlideHdl = rLink; }
- const Link<>& GetEndSlideHdl() const { return maEndSlideHdl; }
};
#endif // INCLUDED_VCL_SLIDER_HXX
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx
index 9c2efcb3d8ad..d3787eccecf8 100644
--- a/include/vcl/spinfld.hxx
+++ b/include/vcl/spinfld.hxx
@@ -90,13 +90,10 @@ public:
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
void SetUpHdl( const Link<>& rLink ) { maUpHdlLink = rLink; }
- const Link<>& GetUpHdl() const { return maUpHdlLink; }
void SetDownHdl( const Link<>& rLink ) { maDownHdlLink = rLink; }
const Link<>& GetDownHdl() const { return maDownHdlLink; }
void SetFirstHdl( const Link<>& rLink ) { maFirstHdlLink = rLink; }
- const Link<>& GetFirstHdl() const { return maFirstHdlLink; }
void SetLastHdl( const Link<>& rLink ) { maLastHdlLink = rLink; }
- const Link<>& GetLastHdl() const { return maLastHdlLink; }
virtual Size CalcMinimumSize() const SAL_OVERRIDE;
virtual Size CalcMinimumSizeForText(const OUString &rString) const SAL_OVERRIDE;
diff --git a/include/vcl/split.hxx b/include/vcl/split.hxx
index a9a185bb67eb..b12abdda5131 100644
--- a/include/vcl/split.hxx
+++ b/include/vcl/split.hxx
@@ -86,13 +86,11 @@ public:
void SetDragRectPixel( const Rectangle& rDragRect,
vcl::Window* pRefWin = NULL );
- const Rectangle& GetDragRectPixel() const { return maDragRect; }
- vcl::Window* GetDragWindow() const { return mpRefWin; }
void SetSplitPosPixel( long nPos );
long GetSplitPosPixel() const { return mnSplitPos; }
- bool IsHorizontal() const { return mbHorzSplit; }
+ bool IsHorizontal() const { return mbHorzSplit; }
void SetHorizontal(bool bNew);
// set the stepsize of the splitter for cursor movement
@@ -100,11 +98,8 @@ public:
void SetKeyboardStepSize( long nStepSize );
void SetStartSplitHdl( const Link<>& rLink ) { maStartSplitHdl = rLink; }
- const Link<>& GetStartSplitHdl() const { return maStartSplitHdl; }
void SetSplitHdl( const Link<>& rLink ) { maSplitHdl = rLink; }
void SetEndSplitHdl( const Link<>& rLink ) { maEndSplitHdl = rLink; }
- const Link<>& GetEndSplitHdl() const { return maEndSplitHdl; }
- const Link<>& GetSplitHdl() const { return maSplitHdl; }
};
#endif // INCLUDED_VCL_SPLIT_HXX
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 24a58125275e..8918d4235b10 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -109,7 +109,6 @@ private:
SAL_DLLPRIVATE void ImplDrawFadeOut(vcl::RenderContext& rRenderContext, bool bInPaint);
SAL_DLLPRIVATE void ImplNewAlign();
SAL_DLLPRIVATE void ImplDrawGrip(vcl::RenderContext& rRenderContext, const Rectangle& rRect, bool bHorz, bool bLeft);
- SAL_DLLPRIVATE void ImplDrawFadeArrow(vcl::RenderContext& rRenderContext, const Point& rPt, bool bHorz, bool bLeft);
SAL_DLLPRIVATE void ImplStartSplit( const MouseEvent& rMEvt );
SAL_DLLPRIVATE void ImplDrawBorder(vcl::RenderContext& rRenderContext);
@@ -177,51 +176,31 @@ public:
/** Return the current size limits for the specified item.
*/
long GetItemSize( sal_uInt16 nId, SplitWindowItemFlags nBits ) const;
- sal_uInt16 GetSet( sal_uInt16 nId ) const;
- sal_uInt16 GetItemId( vcl::Window* pWindow ) const;
- sal_uInt16 GetItemId( const Point& rPos ) const;
- sal_uInt16 GetItemPos( sal_uInt16 nId, sal_uInt16 nSetId = 0 ) const;
- sal_uInt16 GetItemId( sal_uInt16 nPos, sal_uInt16 nSetId = 0 ) const;
- sal_uInt16 GetItemCount( sal_uInt16 nSetId = 0 ) const;
+ sal_uInt16 GetSet( sal_uInt16 nId ) const;
+ sal_uInt16 GetItemId( vcl::Window* pWindow ) const;
+ sal_uInt16 GetItemId( const Point& rPos ) const;
+ sal_uInt16 GetItemPos( sal_uInt16 nId, sal_uInt16 nSetId = 0 ) const;
+ sal_uInt16 GetItemId( sal_uInt16 nPos, sal_uInt16 nSetId = 0 ) const;
+ sal_uInt16 GetItemCount( sal_uInt16 nSetId = 0 ) const;
bool IsItemValid( sal_uInt16 nId ) const;
- bool IsNoAlign() const { return mbNoAlign; }
void SetAlign( WindowAlign eNewAlign = WINDOWALIGN_TOP );
WindowAlign GetAlign() const { return meAlign; }
bool IsHorizontal() const { return mbHorz; }
- bool IsSplitting() const { return IsTracking(); }
-
void SetMaxSizePixel( long nNewMaxSize ) { mnMaxSize = nNewMaxSize; }
- long GetMaxSizePixel() const { return mnMaxSize; }
Size CalcLayoutSizePixel( const Size& aNewSize );
void ShowAutoHideButton( bool bShow = true );
bool IsAutoHideButtonVisible() const { return mbAutoHide; }
void ShowFadeInHideButton( bool bShow = true );
- void ShowFadeInButton( bool bShow = true ) { ShowFadeInHideButton( bShow ); }
- bool IsFadeInButtonVisible() const { return mbFadeIn; }
void ShowFadeOutButton( bool bShow = true );
- bool IsFadeOutButtonVisible() const { return mbFadeOut; }
long GetFadeInSize() const;
bool IsFadeNoButtonMode() const { return mbFadeNoButtonMode; }
void SetAutoHideState( bool bAutoHide );
- bool GetAutoHideState() const { return mbAutoHideIn; }
-
- void SetStartSplitHdl( const Link<>& rLink ) { maStartSplitHdl = rLink; }
- const Link<>& GetStartSplitHdl() const { return maStartSplitHdl; }
void SetSplitHdl( const Link<>& rLink ) { maSplitHdl = rLink; }
- const Link<>& GetSplitHdl() const { return maSplitHdl; }
- void SetSplitResizeHdl( const Link<>& rLink ) { maSplitResizeHdl = rLink; }
- const Link<>& GetSplitResizeHdl() const { return maSplitResizeHdl; }
- void SetAutoHideHdl( const Link<>& rLink ) { maAutoHideHdl = rLink; }
- const Link<>& GetAutoHideHdl() const { return maAutoHideHdl; }
- void SetFadeInHdl( const Link<>& rLink ) { maFadeInHdl = rLink; }
- const Link<>& GetFadeInHdl() const { return maFadeInHdl; }
- void SetFadeOutHdl( const Link<>& rLink ) { maFadeOutHdl = rLink; }
- const Link<>& GetFadeOutHdl() const { return maFadeOutHdl; }
};
#endif // INCLUDED_VCL_SPLITWIN_HXX
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx
index fd79dd1f557e..fda3c31a6e96 100644
--- a/include/vcl/status.hxx
+++ b/include/vcl/status.hxx
@@ -189,22 +189,10 @@ public:
void SetText( const OUString& rText ) SAL_OVERRIDE;
- void SetHelpText( const OUString& rText )
- { Window::SetHelpText( rText ); }
- const OUString& GetHelpText() const
- { return Window::GetHelpText(); }
-
- void SetHelpId( const OString& rId )
- { Window::SetHelpId( rId ); }
- const OString& GetHelpId() const
- { return Window::GetHelpId(); }
-
Size CalcWindowSizePixel() const;
void SetClickHdl( const Link<>& rLink ) { maClickHdl = rLink; }
- const Link<>& GetClickHdl() const { return maClickHdl; }
void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; }
- const Link<>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
using Window::SetAccessibleName;
void SetAccessibleName( sal_uInt16 nItemId, const OUString& rName );
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index 3d4ab0533e3c..cf6135e7a411 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -135,12 +135,10 @@ public:
sal_uInt16 GetPageId( const OString& rName ) const;
void SetCurPageId( sal_uInt16 nPageId );
- sal_uInt16 GetCurPageId() const;
+ sal_uInt16 GetCurPageId() const;
void SelectTabPage( sal_uInt16 nPageId );
- void SetMaxPageWidth( long nMaxWidth ) { mnMaxPageWidth = nMaxWidth; }
-
void SetTabPage( sal_uInt16 nPageId, TabPage* pPage );
TabPage* GetTabPage( sal_uInt16 nPageId ) const;
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 73cb93728d03..f0541cd0fed0 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -226,7 +226,6 @@ private:
DECL_DLLPRIVATE_LINK( ImplCallExecuteCustomMenu, void* );
DECL_DLLPRIVATE_LINK_TYPED( ImplUpdateHdl, Idle*, void );
- DECL_DLLPRIVATE_LINK( ImplResetAutoSizeTriesHdl, void* );
DECL_DLLPRIVATE_LINK( ImplCustomMenuListener, VclMenuEvent* );
DECL_DLLPRIVATE_LINK_TYPED( ImplDropdownLongClickHdl, Timer*, void );