Kaydet (Commit) 56bbd709 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-function -Werror,-Wunused-private-field

... -Werror,-Wunused-variable loplugin:bodynotinblock

Change-Id: I64742401e22b4b83364411a7454c755daa78d00c
üst bcfc61a4
...@@ -35,31 +35,6 @@ ...@@ -35,31 +35,6 @@
using ::std::vector; using ::std::vector;
// some stuff for easier changes for SvtViewOptions
static const sal_Char* pViewOptDataName = "dialog data";
#define VIEWOPT_DATANAME OUString::createFromAscii( pViewOptDataName )
static inline void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData )
{
rOpt.SetUserItem( VIEWOPT_DATANAME, css::uno::makeAny( rData ) );
}
static inline OUString GetViewOptUserItem( const SvtViewOptions& rOpt )
{
::com::sun::star::uno::Any aAny( rOpt.GetUserItem( VIEWOPT_DATANAME ) );
OUString aUserData;
aAny >>= aUserData;
return aUserData;
}
// Class IconChoicePage
/********************************************************************** /**********************************************************************
| |
| Ctor / Dtor | Ctor / Dtor
...@@ -209,7 +184,6 @@ IconChoiceDialog::IconChoiceDialog ( Window* pParent, const OString& rID, ...@@ -209,7 +184,6 @@ IconChoiceDialog::IconChoiceDialog ( Window* pParent, const OString& rID,
pOutSet ( NULL ), pOutSet ( NULL ),
pExampleSet ( NULL ), pExampleSet ( NULL ),
pRanges ( NULL ), pRanges ( NULL ),
rId ( rID ),
bHideResetBtn ( false ), bHideResetBtn ( false ),
bModal ( false ), bModal ( false ),
...@@ -754,7 +728,7 @@ void IconChoiceDialog::Start_Impl() ...@@ -754,7 +728,7 @@ void IconChoiceDialog::Start_Impl()
nActPage = maPageList.front()->nId; nActPage = maPageList.front()->nId;
}*/ }*/
//else if ( USHRT_MAX != mnCurrentPageId && GetPageData ( mnCurrentPageId ) != NULL ) //else if ( USHRT_MAX != mnCurrentPageId && GetPageData ( mnCurrentPageId ) != NULL )
nActPage = mnCurrentPageId; nActPage = mnCurrentPageId;
mnCurrentPageId = nActPage; mnCurrentPageId = nActPage;
......
...@@ -144,8 +144,6 @@ private : ...@@ -144,8 +144,6 @@ private :
SfxItemSet* pExampleSet; SfxItemSet* pExampleSet;
sal_uInt16* pRanges; sal_uInt16* pRanges;
const OString& rId;
bool bHideResetBtn; bool bHideResetBtn;
bool bModal; bool bModal;
bool bInOK; bool bInOK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment