diff options
-rw-r--r-- | include/unotools/useroptions.hxx | 5 | ||||
-rw-r--r-- | unotools/source/config/useroptions.cxx | 6 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/unotools/useroptions.hxx b/include/unotools/useroptions.hxx index 5a32cc02077f..7a9cee52e4e7 100644 --- a/include/unotools/useroptions.hxx +++ b/include/unotools/useroptions.hxx @@ -45,7 +45,6 @@ #define USER_OPT_ZIP ((sal_uInt16)14) #define USER_OPT_FATHERSNAME ((sal_uInt16)15) #define USER_OPT_APARTMENT ((sal_uInt16)16) -#define USER_OPT_CUSTOMERNUMBER ((sal_uInt16)17) // class SvtUserOptions -------------------------------------------------- @@ -73,13 +72,9 @@ public: OUString GetTelephoneWork () const; OUString GetFax () const; OUString GetEmail () const; - OUString GetCustomerNumber () const; OUString GetFullName () const; - // set the address token - void SetCustomerNumber (OUString const&); - bool IsTokenReadonly (sal_uInt16 nToken) const; OUString GetToken (sal_uInt16 nToken) const; void SetToken (sal_uInt16 nToken, OUString const& rNewToken); diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index 6fab07777503..fd1f65749fea 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -64,8 +64,7 @@ char const * const vOptionNames[] = { "initials", // USER_OPT_ID "postalcode", // USER_OPT_ZIP "fathersname", // USER_OPT_FATHERSNAME - "apartment", // USER_OPT_APARTMENT - "customernumber" // USER_OPT_CUSTOMERNUMBER + "apartment" // USER_OPT_APARTMENT }; const sal_uInt16 nOptionNameCount = SAL_N_ELEMENTS(vOptionNames); @@ -297,9 +296,6 @@ OUString SvtUserOptions::GetTelephoneHome () const { return GetToken(USER_OPT_T OUString SvtUserOptions::GetTelephoneWork () const { return GetToken(USER_OPT_TELEPHONEWORK); } 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); } - -void SvtUserOptions::SetCustomerNumber (OUString const& sToken) { SetToken(USER_OPT_CUSTOMERNUMBER, sToken); } bool SvtUserOptions::IsTokenReadonly (sal_uInt16 nToken) const { |