summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-21 17:22:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-21 17:22:55 +0200
commit4492b1cf0c8655da7dde2e355c5e361e2e959c14 (patch)
tree8779013c2c4e6f7551c87be2bb01ae26d64a845d /unotools
parentc35fec830ad341eeaffd68a3c3786bf7db14b6d3 (diff)
Remove dead CustomerNumber functionality
Change-Id: I221d3b9f0bf0f90a117fcf0caead52f2c31f7926
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/useroptions.cxx6
1 files changed, 1 insertions, 5 deletions
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
{