From 04f72acef2fea5a3d0a9c5c76730bb05977c6033 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 Aug 2013 17:08:45 +0200 Subject: 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 --- svtools/source/dialogs/addresstemplate.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') 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 -- cgit