summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-19 17:08:45 +0200
committerNoel Grandin <noel@peralex.com>2013-08-22 10:49:26 +0200
commit04f72acef2fea5a3d0a9c5c76730bb05977c6033 (patch)
treee96ee93383d1161b6d6f6e3267a73ea2e09010e5 /svtools
parent99960ec555f7a62160d69106fadb28b67b4694a3 (diff)
convert include/svtools/addresstemplate.hxx from String to OUString
and make the local field protected->private, because nothing else needs to access them. Change-Id: I4411b98cacb06f3e80a7ab2108917b497dc63625
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index b85eecf59c03..246abd3da072 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -1122,9 +1122,9 @@ void AssignmentPersistentData::Commit()
}
// -------------------------------------------------------------------
- void AddressBookSourceDialog::implSelectField(ListBox* _pBox, const String& _rText)
+ void AddressBookSourceDialog::implSelectField(ListBox* _pBox, const OUString& _rText)
{
- if (_rText.Len())
+ if (!_rText.isEmpty())
// a valid field name
_pBox->SelectEntry(_rText);
else