[Libreoffice-commits] .: unotools/inc unotools/source unusedcode.easy
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Sep 20 12:46:32 PDT 2012
unotools/inc/unotools/useroptions.hxx | 6 ------
unotools/source/config/useroptions.cxx | 6 ------
unusedcode.easy | 5 -----
3 files changed, 17 deletions(-)
New commits:
commit 855454e18d084b28c4d25d1faeb77d34cbd6dcae
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Sep 20 21:44:46 2012 +0200
Dump some newly unused methods
Change-Id: I3c2fd7eb1ccf445f7f389f7400784748a80aa929
diff --git a/unotools/inc/unotools/useroptions.hxx b/unotools/inc/unotools/useroptions.hxx
index 6dc8bc6..204f035 100644
--- a/unotools/inc/unotools/useroptions.hxx
+++ b/unotools/inc/unotools/useroptions.hxx
@@ -74,8 +74,6 @@ public:
rtl::OUString GetFax () const;
rtl::OUString GetEmail () const;
rtl::OUString GetCustomerNumber () const;
- rtl::OUString GetFathersName () const;
- rtl::OUString GetApartment () const;
rtl::OUString GetFullName () const;
@@ -85,7 +83,6 @@ public:
void SetLastName (rtl::OUString const&);
void SetID (rtl::OUString const&);
void SetStreet (rtl::OUString const&);
- void SetCity (rtl::OUString const&);
void SetState (rtl::OUString const&);
void SetZip (rtl::OUString const&);
void SetCountry (rtl::OUString const&);
@@ -94,10 +91,7 @@ public:
void SetTelephoneHome (rtl::OUString const&);
void SetTelephoneWork (rtl::OUString const&);
void SetFax (rtl::OUString const&);
- void SetEmail (rtl::OUString const&);
void SetCustomerNumber (rtl::OUString const&);
- void SetFathersName (rtl::OUString const&);
- void SetApartment (rtl::OUString const&);
sal_Bool IsTokenReadonly (sal_uInt16 nToken) const;
rtl::OUString GetToken (sal_uInt16 nToken) const;
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx
index 3e81f7e..2f216d7 100644
--- a/unotools/source/config/useroptions.cxx
+++ b/unotools/source/config/useroptions.cxx
@@ -311,8 +311,6 @@ OUString SvtUserOptions::GetTelephoneWork () const { return GetToken(USER_OPT_T
OUString SvtUserOptions::GetFax () const { return GetToken(USER_OPT_FAX); }
OUString SvtUserOptions::GetEmail () const { return GetToken(USER_OPT_EMAIL); }
OUString SvtUserOptions::GetCustomerNumber () const { return GetToken(USER_OPT_CUSTOMERNUMBER); }
-OUString SvtUserOptions::GetFathersName () const { return GetToken(USER_OPT_FATHERSNAME); }
-OUString SvtUserOptions::GetApartment () const { return GetToken(USER_OPT_APARTMENT); }
// -----------------------------------------------------------------------
@@ -324,19 +322,15 @@ void SvtUserOptions::SetFirstName (OUString const& sToken) { SetToken(USER_OPT_F
void SvtUserOptions::SetLastName (OUString const& sToken) { SetToken(USER_OPT_LASTNAME, sToken); }
void SvtUserOptions::SetID (OUString const& sToken) { SetToken(USER_OPT_ID, sToken); }
void SvtUserOptions::SetStreet (OUString const& sToken) { SetToken(USER_OPT_STREET, sToken); }
-void SvtUserOptions::SetCity (OUString const& sToken) { SetToken(USER_OPT_CITY, sToken); }
void SvtUserOptions::SetState (OUString const& sToken) { SetToken(USER_OPT_STATE, sToken); }
void SvtUserOptions::SetZip (OUString const& sToken) { SetToken(USER_OPT_ZIP, sToken); }
void SvtUserOptions::SetCountry (OUString const& sToken) { SetToken(USER_OPT_COUNTRY, sToken); }
void SvtUserOptions::SetPosition (OUString const& sToken) { SetToken(USER_OPT_POSITION, sToken); }
void SvtUserOptions::SetTitle (OUString const& sToken) { SetToken(USER_OPT_TITLE, sToken); }
void SvtUserOptions::SetFax (OUString const& sToken) { SetToken(USER_OPT_FAX, sToken); }
-void SvtUserOptions::SetEmail (OUString const& sToken) { SetToken(USER_OPT_EMAIL, sToken); }
void SvtUserOptions::SetTelephoneHome (OUString const& sToken) { SetToken(USER_OPT_TELEPHONEHOME, sToken); }
void SvtUserOptions::SetTelephoneWork (OUString const& sToken) { SetToken(USER_OPT_TELEPHONEWORK, sToken); }
void SvtUserOptions::SetCustomerNumber (OUString const& sToken) { SetToken(USER_OPT_CUSTOMERNUMBER, sToken); }
-void SvtUserOptions::SetFathersName (OUString const& sToken) { SetToken(USER_OPT_FATHERSNAME, sToken); }
-void SvtUserOptions::SetApartment (OUString const& sToken) { SetToken(USER_OPT_APARTMENT, sToken); }
// -----------------------------------------------------------------------
diff --git a/unusedcode.easy b/unusedcode.easy
index df2d6bd..726b0df 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -8,14 +8,9 @@ ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any cons
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
SvtSlideSorterBarOptions::AddListenerLink(Link const&)
SvtSlideSorterBarOptions::RemoveListenerLink(Link const&)
-SvtUserOptions::GetApartment() const
-SvtUserOptions::GetFathersName() const
-SvtUserOptions::SetApartment(rtl::OUString const&)
SvtUserOptions::SetCity(rtl::OUString const&)
SvtUserOptions::SetCompany(rtl::OUString const&)
SvtUserOptions::SetCountry(rtl::OUString const&)
-SvtUserOptions::SetEmail(rtl::OUString const&)
-SvtUserOptions::SetFathersName(rtl::OUString const&)
SvtUserOptions::SetFax(rtl::OUString const&)
SvtUserOptions::SetFirstName(rtl::OUString const&)
SvtUserOptions::SetID(rtl::OUString const&)
More information about the Libreoffice-commits
mailing list