diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 00:31:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 09:56:08 +0100 |
commit | de82a40f84c69081a517617989c344ec9597cb45 (patch) | |
tree | 6b9c15c67b11db681e6e8417b62efdd0a98b013a /unotools | |
parent | 313332e76bd17c0a5a6bd67c0abc467877948a3a (diff) |
callcatcher: drop various unused methods
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 27 | ||||
-rw-r--r-- | unotools/source/config/startoptions.cxx | 19 |
2 files changed, 0 insertions, 46 deletions
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 4ea66c92e006..c5d3af5e8b27 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -362,7 +362,6 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem ::rtl::OUString GetFactoryName ( SvtModuleOptions::EFactory eFactory ) const; ::rtl::OUString GetFactoryShortName ( SvtModuleOptions::EFactory eFactory ) const; ::rtl::OUString GetFactoryStandardTemplate( SvtModuleOptions::EFactory eFactory ) const; - ::rtl::OUString GetFactoryWindowAttributes( SvtModuleOptions::EFactory eFactory ) const; ::rtl::OUString GetFactoryEmptyDocumentURL( SvtModuleOptions::EFactory eFactory ) const; ::rtl::OUString GetFactoryDefaultFilter ( SvtModuleOptions::EFactory eFactory ) const; sal_Bool IsDefaultFilterReadonly( SvtModuleOptions::EFactory eFactory ) const; @@ -371,8 +370,6 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem SvtModuleOptions::EFactory& eFactory ); void SetFactoryStandardTemplate( SvtModuleOptions::EFactory eFactory , const ::rtl::OUString& sTemplate ); - void SetFactoryWindowAttributes( SvtModuleOptions::EFactory eFactory , - const ::rtl::OUString& sAttributes); void SetFactoryDefaultFilter ( SvtModuleOptions::EFactory eFactory , const ::rtl::OUString& sFilter ); void MakeReadonlyStatesAvailable(); @@ -702,19 +699,6 @@ sal_Bool SvtModuleOptions_Impl::IsModuleInstalled( SvtModuleOptions::EModule eMo } //***************************************************************************************************************** -::rtl::OUString SvtModuleOptions_Impl::GetFactoryWindowAttributes( SvtModuleOptions::EFactory eFactory ) const -{ - ::rtl::OUString sAttributes; - - if( eFactory>=0 && eFactory<FACTORYCOUNT ) - { - sAttributes = m_lFactories[eFactory].getWindowAttributes(); - } - - return sAttributes; -} - -//***************************************************************************************************************** ::rtl::OUString SvtModuleOptions_Impl::GetFactoryEmptyDocumentURL( SvtModuleOptions::EFactory eFactory ) const { // Attention: Hard configured yet ... because it's not fine to make changes possible by xml file yet. @@ -799,17 +783,6 @@ void SvtModuleOptions_Impl::SetFactoryStandardTemplate( SvtModuleOptions:: } //***************************************************************************************************************** -void SvtModuleOptions_Impl::SetFactoryWindowAttributes( SvtModuleOptions::EFactory eFactory , - const ::rtl::OUString& sAttributes) -{ - if( eFactory>=0 && eFactory<FACTORYCOUNT ) - { - m_lFactories[eFactory].setWindowAttributes( sAttributes ); - SetModified(); - } -} - -//***************************************************************************************************************** void SvtModuleOptions_Impl::SetFactoryDefaultFilter( SvtModuleOptions::EFactory eFactory, const ::rtl::OUString& sFilter ) { diff --git a/unotools/source/config/startoptions.cxx b/unotools/source/config/startoptions.cxx index cd1ce9c25b75..e6addfcdc9ed 100644 --- a/unotools/source/config/startoptions.cxx +++ b/unotools/source/config/startoptions.cxx @@ -138,8 +138,6 @@ class SvtStartOptions_Impl : public ConfigItem @onerror - *//*-*****************************************************************************************************/ - sal_Bool IsIntroEnabled ( ) const ; - void EnableIntro ( sal_Bool bState ) ; OUString GetConnectionURL( ) const ; void SetConnectionURL( const OUString& sURL ) ; @@ -298,23 +296,6 @@ void SvtStartOptions_Impl::Commit() //***************************************************************************************************************** // public method //***************************************************************************************************************** -sal_Bool SvtStartOptions_Impl::IsIntroEnabled() const -{ - return m_bShowIntro; -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** -void SvtStartOptions_Impl::EnableIntro( sal_Bool bState ) -{ - m_bShowIntro = bState; - SetModified(); -} - -//***************************************************************************************************************** -// public method -//***************************************************************************************************************** OUString SvtStartOptions_Impl::GetConnectionURL() const { return m_sConnectionURL; |