[Libreoffice-commits] .: unotools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jan 26 12:38:53 PST 2011
unotools/source/config/moduleoptions.cxx | 39 -------------------------------
1 file changed, 39 deletions(-)
New commits:
commit 11cc3d171b65addd660944e75f6b39a3735ebeb7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 26 20:38:45 2011 +0000
throw out some unused methods
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 37039e3..b9e5dff 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -217,7 +217,6 @@ struct FactoryInfo
::rtl::OUString getShortName () const { return sShortName; };
::rtl::OUString getTemplateFile () const { return sTemplateFile; };
::rtl::OUString getWindowAttributes () const { return sWindowAttributes; };
- ::rtl::OUString getEmptyDocumentURL () const { return sEmptyDocumentURL; };
::rtl::OUString getDefaultFilter () const { return sDefaultFilter; };
sal_Bool isDefaultFilterReadonly() const { return bDefaultFilterReadonly; }
sal_Int32 getIcon () const { return nIcon; };
@@ -250,24 +249,6 @@ struct FactoryInfo
}
//---------------------------------------------------------------------------------------------------------
- void setInstalled( sal_Bool bNewInstalled )
- {
- bInstalled = bNewInstalled;
- };
-
- //---------------------------------------------------------------------------------------------------------
- void setFactory( const ::rtl::OUString& sNewFactory )
- {
- sFactory = sNewFactory;
- };
-
- //---------------------------------------------------------------------------------------------------------
- void setShortName( const ::rtl::OUString& sNewShortName )
- {
- sShortName = sNewShortName;
- };
-
- //---------------------------------------------------------------------------------------------------------
void setTemplateFile( const ::rtl::OUString& sNewTemplateFile )
{
if( sTemplateFile != sNewTemplateFile )
@@ -288,16 +269,6 @@ struct FactoryInfo
};
//---------------------------------------------------------------------------------------------------------
- void setEmptyDocumentURL( const ::rtl::OUString& sNewEmptyDocumentURL )
- {
- if( sEmptyDocumentURL != sNewEmptyDocumentURL )
- {
- sEmptyDocumentURL = sNewEmptyDocumentURL;
- bChangedEmptyDocumentURL = sal_True ;
- }
- };
-
- //---------------------------------------------------------------------------------------------------------
void setDefaultFilter( const ::rtl::OUString& sNewDefaultFilter )
{
if( sDefaultFilter != sNewDefaultFilter )
@@ -307,16 +278,6 @@ struct FactoryInfo
}
};
- //---------------------------------------------------------------------------------------------------------
- void setIcon( sal_Int32 nNewIcon )
- {
- if( nIcon != nNewIcon )
- {
- nIcon = nNewIcon;
- bChangedIcon = sal_True;
- }
- };
-
private:
css::uno::Reference< css::util::XStringSubstitution > getStringSubstitution()
{
More information about the Libreoffice-commits
mailing list