diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 10:56:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:49:00 +0100 |
commit | 8559539c5607b8345de4baa2a9de806d955815e9 (patch) | |
tree | 6eab15d2f3c8de4a58fa98f5a554a081b99bd041 /cui | |
parent | coverity#1242785 Uninitialized pointer field (diff) | |
download | core-8559539c5607b8345de4baa2a9de806d955815e9.tar.gz core-8559539c5607b8345de4baa2a9de806d955815e9.zip |
coverity#1242776 Unused value
Change-Id: Ia84bfbcdd4de08c9e87c877b3c1be84c0b712a07
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 122a339c34ce..b85829c22f08 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -717,46 +717,12 @@ bool IconChoiceDialog::QueryClose() return bRet; } - - void IconChoiceDialog::Start_Impl() { - sal_uInt16 nActPage; - - if ( mnCurrentPageId == 0 || mnCurrentPageId == USHRT_MAX ) - nActPage = maPageList.front()->nId; - else - nActPage = mnCurrentPageId; - - // configuration existing? - //SvtViewOptions aTabDlgOpt( E_TABDIALOG, rId ); - - /*if ( aTabDlgOpt.Exists() ) - { - // possibly position from config - SetWindowState(OUStringToOString(aTabDlgOpt.GetWindowState().getStr(), RTL_TEXTENCODING_ASCII_US)); - - // initial TabPage from program/help/config - nActPage = (sal_uInt16)aTabDlgOpt.GetPageID(); - - if ( USHRT_MAX != mnCurrentPageId ) - nActPage = mnCurrentPageId; - - if ( GetPageData ( nActPage ) == NULL ) - nActPage = maPageList.front()->nId; - }*/ - //else if ( USHRT_MAX != mnCurrentPageId && GetPageData ( mnCurrentPageId ) != NULL ) - nActPage = mnCurrentPageId; - - mnCurrentPageId = nActPage; - FocusOnIcon( mnCurrentPageId ); - ActivatePageImpl(); } - - const SfxItemSet* IconChoiceDialog::GetRefreshedSet() { SAL_WARN( "cui.dialogs", "GetRefreshedSet not implemented" ); |