From dce056ec03bcefda7ed5f36b5e51070f8f7f912d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 1 Mar 2012 14:27:00 +0000 Subject: LOCAGICAL->LOGICAL --- svtools/source/dialogs/addresstemplate.cxx | 4 ++-- svtools/source/dialogs/addresstemplate.hrc | 2 +- svtools/source/dialogs/addresstemplate.src | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'svtools') diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 27ed3ba79ed0..b295a73e871e 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -181,7 +181,7 @@ public: // first collect all known programmatic names StringBag aKnownNames; - rtl::OUString sLogicalFieldNames(ResId::toString(SvtResId(STR_LOCAGICAL_FIELD_NAMES))); + rtl::OUString sLogicalFieldNames(ResId::toString(SvtResId(STR_LOGICAL_FIELD_NAMES))); sal_Int32 nIndex = 0; do { @@ -690,7 +690,7 @@ void AssignmentPersistentData::Commit() implScrollFields(0, sal_False, sal_False); // the logical names - rtl::OUString sLogicalFieldNames(ResId::toString(SvtResId(STR_LOCAGICAL_FIELD_NAMES))); + rtl::OUString sLogicalFieldNames(ResId::toString(SvtResId(STR_LOGICAL_FIELD_NAMES))); sal_Int32 nAdjustedTokenCount = comphelper::string::getTokenCount(sLogicalFieldNames, ';') + (m_pImpl->bOddFieldNumber ? 1 : 0); DBG_ASSERT(nAdjustedTokenCount == (sal_Int32)m_pImpl->aFieldLabels.size(), "AddressBookSourceDialog::AddressBookSourceDialog: inconsistence between logical and UI field names!"); diff --git a/svtools/source/dialogs/addresstemplate.hrc b/svtools/source/dialogs/addresstemplate.hrc index 5fb89cd567fc..7c6f5d049303 100644 --- a/svtools/source/dialogs/addresstemplate.hrc +++ b/svtools/source/dialogs/addresstemplate.hrc @@ -81,7 +81,7 @@ #define STR_FIELD_CALENDAR 31 #define STR_FIELD_INVITE 32 -#define STR_LOCAGICAL_FIELD_NAMES 33 +#define STR_LOGICAL_FIELD_NAMES 33 #endif // _SVT_ADDRESSTEMPLATE_HRC_ diff --git a/svtools/source/dialogs/addresstemplate.src b/svtools/source/dialogs/addresstemplate.src index 0e4845949dca..a679174a4d64 100644 --- a/svtools/source/dialogs/addresstemplate.src +++ b/svtools/source/dialogs/addresstemplate.src @@ -181,7 +181,7 @@ ModalDialog DLG_ADDRESSBOOKSOURCE Size = MAP_APPFONT ( 50 , 14 ) ; }; - String STR_LOCAGICAL_FIELD_NAMES + String STR_LOGICAL_FIELD_NAMES { Text = "FirstName;LastName;Company;Department;Street;Zip;City;State;Country;PhonePriv;PhoneComp;PhoneOffice;PhoneCell;PhoneOther;Pager;Fax;EMail;URL;Title;Position;Code;AddrForm;AddrFormMail;Id;CalendarURL;InviteParticipant;Note;Altfield1;Altfield2;Altfield3;Altfield4"; // no need to translate this -- cgit