From 7419057e3ec4365748fa6456e207f40fd9e09c62 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Sep 2016 16:34:14 +0200 Subject: loplugin:unusedmethods in chart2..svx Change-Id: Ifb6045885049733415895f58cdd911256f48323c Reviewed-on: https://gerrit.libreoffice.org/29187 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cui/source/dialogs/dlgname.cxx | 13 ------------- cui/source/inc/cuitabarea.hxx | 17 ----------------- cui/source/inc/cuitabline.hxx | 1 - cui/source/inc/dlgname.hxx | 1 - 4 files changed, 32 deletions(-) (limited to 'cui') 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 ); }; -- cgit