diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-22 16:34:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 18:57:43 +0000 |
commit | 7419057e3ec4365748fa6456e207f40fd9e09c62 (patch) | |
tree | c7ae11659b42539efb0f8c6eef68c1ee14c10dca /cui | |
parent | c4cd079b8f613084a99a83b95c3968b65cbd8900 (diff) |
loplugin:unusedmethods in chart2..svx
Change-Id: Ifb6045885049733415895f58cdd911256f48323c
Reviewed-on: https://gerrit.libreoffice.org/29187
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/dlgname.cxx | 13 | ||||
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 17 | ||||
-rw-r--r-- | cui/source/inc/cuitabline.hxx | 1 | ||||
-rw-r--r-- | cui/source/inc/dlgname.hxx | 1 |
4 files changed, 0 insertions, 32 deletions
diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx index 71bd359b150a..6772f445f3ea 100644 --- a/cui/source/dialogs/dlgname.cxx +++ b/cui/source/dialogs/dlgname.cxx @@ -202,19 +202,6 @@ IMPL_LINK_NOARG_TYPED(SvxMessDialog, Button2Hdl, Button*, void) /*************************************************************************/ -void SvxMessDialog::DisableButton( SvxMessDialogButton nBtnId ) -{ - switch( nBtnId ) - { - case SvxMessDialogButton::N1: - pBtn1->Disable(); - break; - case SvxMessDialogButton::N2: - pBtn2->Disable(); - break; - } -} - void SvxMessDialog::SetButtonText( SvxMessDialogButton nBtnId, const OUString& rNewTxt ) { switch ( nBtnId ) diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index ef7ca4c973e0..86f5119aae80 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -103,25 +103,14 @@ public: void SetNewColorList( XColorListRef const & pColorList ) { mpNewColorList = pColorList; } const XColorListRef& GetNewColorList() const { return mpNewColorList; } - const XColorListRef& GetColorList() const { return mpColorList; } - void SetNewGradientList( XGradientListRef const & pGrdLst) - { mpNewGradientList = pGrdLst; } const XGradientListRef& GetNewGradientList() const { return mpNewGradientList; } - void SetNewHatchingList( XHatchListRef const & pHtchLst) - { mpNewHatchingList = pHtchLst; } const XHatchListRef& GetNewHatchingList() const { return mpNewHatchingList; } - void SetNewBitmapList( XBitmapListRef const & pBmpLst) - { mpNewBitmapList = pBmpLst; } const XBitmapListRef& GetNewBitmapList() const { return mpNewBitmapList; } - - void SetNewPatternList( XPatternListRef const & pPtrnLst ) - { mpNewPatternList = pPtrnLst; } - const XPatternListRef& GetNewPatternList() const { return mpNewPatternList; } }; /************************************************************************/ @@ -810,7 +799,6 @@ public: void SetPropertyList( XPropertyListType t, const XPropertyListRef &xRef ); void SetColorList( const XColorListRef& pColList ); - const XColorListRef& GetColorList() { return pColorList; } void SetPageType( PageType* pInType ) { pPageType = pInType; } void SetDlgType( sal_uInt16 nInType ) { nDlgType = nInType; } @@ -821,10 +809,6 @@ public: virtual void FillUserData() override; - bool IsModified() - { - return bool(*pnColorListState & ChangeType::MODIFIED); - } void SetModified(bool bIsModified) { if (bIsModified) @@ -836,7 +820,6 @@ public: { *pnColorListState |= nState; } - void Update(bool bLoaded); }; #endif // INCLUDED_CUI_SOURCE_INC_CUITABAREA_HXX diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index edbb252a9bac..fc84623aa6b2 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -78,7 +78,6 @@ public: void SetNewColorList( XColorListRef const & pColTab ) { mpNewColorList = pColTab; } const XColorListRef& GetNewColorList() const { return mpNewColorList; } - const XColorListRef& GetColorList() const { return pColorList; } }; /*************************************************************************/ diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index ab57fe5746fb..07dc6d03e4c3 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -145,7 +145,6 @@ public: SvxMessDialog( vcl::Window* pWindow, const OUString& rText, const OUString& rDesc, Image* pImg = nullptr ); virtual ~SvxMessDialog() override; virtual void dispose() override; - void DisableButton( SvxMessDialogButton nBtnId); void SetButtonText( SvxMessDialogButton nBtnId, const OUString& rNewTxt ); }; |