diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-25 15:36:50 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:21:48 +0200 |
commit | ff13378085ccba67ece63afd4cfa62704f582f95 (patch) | |
tree | d05270688fa7d2e6325efaecadf67b4a8c926317 /sfx2 | |
parent | a24006e0f9ecc3a6fec9b974bc9a204d869d5819 (diff) |
Remove some obsolete stuff
* unused macro ENABLE_MISSINGKEYASSERTIONS
* don't bother with private/commercial use
Change-Id: I84af3ea909b20f0ab8295bbc0d0adc90e6d6f6e1
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/sfxsids.hrc | 12 | ||||
-rw-r--r-- | sfx2/sdi/sfx.sdi | 185 | ||||
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 7 | ||||
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 19 |
4 files changed, 0 insertions, 223 deletions
diff --git a/sfx2/inc/sfx2/sfxsids.hrc b/sfx2/inc/sfx2/sfxsids.hrc index 1fa43e3f8108..8e67cd044b5c 100644 --- a/sfx2/inc/sfx2/sfxsids.hrc +++ b/sfx2/inc/sfx2/sfxsids.hrc @@ -209,19 +209,11 @@ #define SID_DOCUMENT_COMPARE (SID_SFX_START + 1586) #define SID_DOCUMENT_MERGE (SID_SFX_START + 1587) -#define SID_OFFICE_PLK (SID_SFX_START + 1601) -#define SID_OFFICE_PALK (SID_SFX_START + 1604) -#define SID_CHECK_KEY (SID_SFX_START + 1605) -#define SID_OFFICE_PRIVATE_USE (SID_SFX_START + 1606) -#define SID_OFFICE_COMMERCIAL_USE (SID_SFX_START + 1607) #define SID_OFFICE_CUSTOMERNUMBER (SID_SFX_START + 1608) #define SID_OFFICE_CHECK_PLZ (SID_SFX_START + 1610) -#define SID_INTERNET_SEARCH (SID_SFX_START + 1611) #define SID_CURRENT_URL (SID_SFX_START + 1613) -#define SID_OLD_PALK (SID_SFX_START + 1620) #define SID_GROUPVIEW (SID_SFX_START + 1621) - #define SID_TIPWINDOW (SID_SFX_START + 1632) #define SID_CHARSET (SID_SFX_START + 1633) #define SID_OVERWRITE (SID_SFX_START + 1634) @@ -363,8 +355,6 @@ #define SID_STYLE_FAMILY4 (SID_STYLE_FAMILY_START + 3) #define SID_STYLE_FAMILY5 (SID_STYLE_FAMILY_START + 4) -#define SID_ENABLE_METAFILEPRINT (SID_SFX_START + 543) - #define SID_STYLE_NEW (SID_SFX_START + 549) #define SID_STYLE_EDIT (SID_SFX_START + 550) #define SID_STYLE_DELETE (SID_SFX_START + 551) @@ -578,8 +568,6 @@ #define SID_INET_FTP_PROXY_NAME (SID_OPTIONS_START + 40) #define SID_INET_FTP_PROXY_PORT (SID_OPTIONS_START + 41) #define SID_INET_SOCKS_PROXY_PORT (SID_OPTIONS_START + 43) -#define SID_INET_SECURITY_PROXY_NAME (SID_OPTIONS_START + 44) -#define SID_INET_SECURITY_PROXY_PORT (SID_OPTIONS_START + 45) #define SID_INET_EXE_PLUGIN (SID_OPTIONS_START + 52) diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 80d73c2c6330..f7f9e89586bb 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -900,33 +900,6 @@ SfxTemplateItem CharStyle SID_STYLE_FAMILY1 ] //-------------------------------------------------------------------------- -SfxStringItem CheckKey SID_CHECK_KEY - -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - Readonly = TRUE, - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = GID_SPECIAL; -] - -//-------------------------------------------------------------------------- SfxStringItem ChooseMacro SID_BASICIDE_CHOOSEMACRO () [ @@ -1134,33 +1107,6 @@ SfxStringItem Comments SID_DOCINFO_COMMENTS ] //-------------------------------------------------------------------------- -SfxStringItem CommercialUse SID_OFFICE_COMMERCIAL_USE - -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - Readonly = FALSE, - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = GID_SPECIAL; -] - -//-------------------------------------------------------------------------- SfxInt32Item CompareDocuments SID_DOCUMENT_COMPARE (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem Password SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION) [ @@ -3206,31 +3152,6 @@ SfxBoolItem InternetOnline SID_INTERNET_ONLINE ] //-------------------------------------------------------------------------- -SfxVoidItem InternetSearch SID_INTERNET_SEARCH -(SfxStringItem SearchString SID_INTERNET_SEARCH) -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = TRUE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = TRUE, - RecordAbsolute = FALSE, - RecordPerSet; - Asynchron; - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = ; -] - -//-------------------------------------------------------------------------- SfxBoolItem IsLoading SID_DOC_LOADING [ @@ -3476,33 +3397,6 @@ SfxStringItem LibSelector SID_BASICIDE_LIBSELECTOR ] //-------------------------------------------------------------------------- -SfxStringItem LicenceKey SID_OFFICE_PLK - -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - Readonly = TRUE, - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = ; -] - -//-------------------------------------------------------------------------- SfxVoidItem LoadAccel SID_CONFIGACCEL (SfxStringItem FileName SID_CFGFILE) [ @@ -4434,33 +4328,6 @@ SfxStringItem ObjectMenue SID_OBJECT ] //-------------------------------------------------------------------------- -SfxStringItem OldPALK SID_OLD_PALK - -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = TRUE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - Readonly = TRUE, - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = GID_SPECIAL; -] - -//-------------------------------------------------------------------------- SfxObjectItem Open SID_OPENDOC (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem OpenFlags SID_OPTIONS,SfxStringItem Password SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION,SfxStringItem Referer SID_REFERER,SfxStringItem SuggestedSaveAsDir SID_DEFAULTFILEPATH,SfxStringItem SuggestedSaveAsName SID_DEFAULTFILENAME) [ @@ -5130,33 +4997,6 @@ SfxBoolItem PrintPreview SID_PRINTPREVIEW ] //-------------------------------------------------------------------------- -SfxStringItem PrivateUse SID_OFFICE_PRIVATE_USE - -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - Readonly = FALSE, - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = GID_SPECIAL; -] - -//-------------------------------------------------------------------------- SfxVoidItem SetDocumentProperties SID_DOCINFO (SfxDocumentInfoItem Properties SID_DOCINFO) [ @@ -6175,31 +6015,6 @@ SfxVoidItem SetOptions SID_SETOPTIONS ] //-------------------------------------------------------------------------- -SfxBoolItem SetPALK SID_OFFICE_PALK -(SfxStringItem PALK SID_OFFICE_PALK) -[ - /* flags: */ - AutoUpdate = FALSE, - Cachable = Cachable, - FastCall = FALSE, - HasCoreId = FALSE, - HasDialog = FALSE, - ReadOnlyDoc = TRUE, - Toggle = FALSE, - Container = FALSE, - RecordAbsolute = FALSE, - RecordPerSet; - Synchron; - - /* config: */ - AccelConfig = FALSE, - MenuConfig = FALSE, - StatusBarConfig = FALSE, - ToolBoxConfig = FALSE, - GroupId = GID_SPECIAL; -] - -//-------------------------------------------------------------------------- SfxBoolItem ShowBrowser SID_SHOW_BROWSER [ diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 87b54da6bd71..3ff93a293f47 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -242,13 +242,6 @@ void SfxApplication::PropExec_Impl( SfxRequest &rReq ) break; } - case SID_OFFICE_PRIVATE_USE: - case SID_OFFICE_COMMERCIAL_USE: - { - DBG_ASSERT( sal_False, "SfxApplication::PropExec_Impl()\nSID_OFFICE_PRIVATE_USE & SID_OFFICE_COMMERCIAL_USE are obsolete!\n" ); - break; - } - case SID_OFFICE_CUSTOMERNUMBER: { SFX_REQUEST_ARG(rReq, pStringItem, SfxStringItem, nSID, sal_False); diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index bda8064a9264..307abf76e9dd 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -390,11 +390,6 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet ) } } break; - case SID_ENABLE_METAFILEPRINT : -#ifdef ENABLE_MISSINGKEYASSERTIONS//MUSTINI - DBG_ASSERT(sal_False, "SfxApplication::GetOptions()\nSoffice.ini key \"Common\\MetafilePrint\" is obsolete! .. How I can support SID_ENABLE_METAFILEPRINT any longer?\n"); -#endif - break; case SID_INET_PROXY_TYPE : if (rSet.Put( SfxUInt16Item( @@ -445,12 +440,6 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet ) bRet = true; } break; - case SID_INET_SECURITY_PROXY_NAME : - case SID_INET_SECURITY_PROXY_PORT : -#ifdef ENABLE_MISSINGKEYASSERTIONS//MUSTINI - DBG_ASSERT( sal_False, "SfxApplication::GetOptions()\nSome INET values no longer supported!\n" ); -#endif - break; case SID_INET_NOPROXY : if (rSet.Put( SfxStringItem( @@ -809,14 +798,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet ) aSecurityOptions.SetConfirmationEnabled( ( (const SfxBoolItem *)pItem )->GetValue() ); } - // EnableMetafilePrint - if ( SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ENABLE_METAFILEPRINT ), sal_True, &pItem ) ) - { -#ifdef ENABLE_MISSINGKEYASSERTIONS//MUSTINI - DBG_ASSERT(sal_False, "SfxApplication::SetOptions_Impl()\nsoffice.ini key \"MetafilPrint\" not supported any longer!\n"); -#endif - } - // Store changed data batch->commit(); } |