diff options
Diffstat (limited to 'unotools/source/config/startoptions.cxx')
-rw-r--r-- | unotools/source/config/startoptions.cxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/unotools/source/config/startoptions.cxx b/unotools/source/config/startoptions.cxx index 093a4c5b1318..18653e38e3a0 100644 --- a/unotools/source/config/startoptions.cxx +++ b/unotools/source/config/startoptions.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include <unotools/startoptions.hxx> #include <unotools/configmgr.hxx> #include <unotools/configitem.hxx> @@ -36,19 +35,12 @@ #include <rtl/logfile.hxx> #include "itemholder1.hxx" -//_________________________________________________________________________________________________________________ -// namespaces -//_________________________________________________________________________________________________________________ using namespace ::utl ; using namespace ::rtl ; using namespace ::osl ; using namespace ::com::sun::star::uno ; -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - #define DEFAULT_SHOWINTRO sal_True #define DEFAULT_CONNECTIONURL OUString() @@ -61,29 +53,13 @@ using namespace ::com::sun::star::uno ; #define PROPERTYCOUNT 2 -//_________________________________________________________________________________________________________________ -// private declarations! -//_________________________________________________________________________________________________________________ - class SvtStartOptions_Impl : public ConfigItem { - //------------------------------------------------------------------------------------------------------------- - // public methods - //------------------------------------------------------------------------------------------------------------- - public: - //--------------------------------------------------------------------------------------------------------- - // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - SvtStartOptions_Impl(); ~SvtStartOptions_Impl(); - //--------------------------------------------------------------------------------------------------------- - // overloaded methods of baseclass - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short called for notify of configmanager @descr These method is called from the ConfigManager before application ends or from the @@ -119,10 +95,6 @@ class SvtStartOptions_Impl : public ConfigItem virtual void Commit(); - //--------------------------------------------------------------------------------------------------------- - // public interface - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** @short access method to get internal values @descr These method give us a chance to regulate acces to ouer internal values. @@ -137,11 +109,6 @@ class SvtStartOptions_Impl : public ConfigItem *//*-*****************************************************************************************************/ OUString GetConnectionURL( ) const ; - void SetConnectionURL( const OUString& sURL ) ; - - //------------------------------------------------------------------------------------------------------------- - // private methods - //------------------------------------------------------------------------------------------------------------- private: @@ -161,20 +128,12 @@ class SvtStartOptions_Impl : public ConfigItem static Sequence< OUString > impl_GetPropertyNames(); - //------------------------------------------------------------------------------------------------------------- - // private member - //------------------------------------------------------------------------------------------------------------- - private: sal_Bool m_bShowIntro ; /// cache "ShowIntro" of Start section OUString m_sConnectionURL ; /// cache "Connection" of Start section }; -//_________________________________________________________________________________________________________________ -// definitions -//_________________________________________________________________________________________________________________ - //***************************************************************************************************************** // constructor //***************************************************************************************************************** @@ -300,15 +259,6 @@ OUString SvtStartOptions_Impl::GetConnectionURL() const } //***************************************************************************************************************** -// public method -//***************************************************************************************************************** -void SvtStartOptions_Impl::SetConnectionURL( const OUString& sURL ) -{ - m_sConnectionURL = sURL; - SetModified(); -} - -//***************************************************************************************************************** // private method //***************************************************************************************************************** Sequence< OUString > SvtStartOptions_Impl::impl_GetPropertyNames() |