summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/iconcdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-24 13:21:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-24 13:21:05 +0200
commit56bbd709904b3a8b8932acbf72df4192d873c18f (patch)
tree3042f858b48e91ef19c0216c2fa01fadf4ad384f /cui/source/dialogs/iconcdlg.cxx
parentbcfc61a49fd3e6acccd155d5c0ce7746f8e97a03 (diff)
-Werror,-Wunused-function -Werror,-Wunused-private-field
... -Werror,-Wunused-variable loplugin:bodynotinblock Change-Id: I64742401e22b4b83364411a7454c755daa78d00c
Diffstat (limited to 'cui/source/dialogs/iconcdlg.cxx')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx28
1 files changed, 1 insertions, 27 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 0af84e032145..5c795dbe1f4d 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -35,31 +35,6 @@
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
@@ -209,7 +184,6 @@ IconChoiceDialog::IconChoiceDialog ( Window* pParent, const OString& rID,
pOutSet ( NULL ),
pExampleSet ( NULL ),
pRanges ( NULL ),
- rId ( rID ),
bHideResetBtn ( false ),
bModal ( false ),
@@ -754,7 +728,7 @@ void IconChoiceDialog::Start_Impl()
nActPage = maPageList.front()->nId;
}*/
//else if ( USHRT_MAX != mnCurrentPageId && GetPageData ( mnCurrentPageId ) != NULL )
- nActPage = mnCurrentPageId;
+ nActPage = mnCurrentPageId;
mnCurrentPageId = nActPage;