summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-03 14:20:56 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:54:46 +0200
commit1e7632abaa3f4c8fd83f7052b95dc88eac3d3626 (patch)
tree595a232507bc0b0a7a16a51c0326bdbf05e4aa61 /cui
parent202a08e37df62f5588e5a5b726520bbb86f36ed3 (diff)
convert include/svx/fmsearch.hxx from String to OUString
Change-Id: I167e5e5a54d9fbf9394c7f81484a20f460465c8d
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index ad3304c03295..ef25d65e30f4 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -175,7 +175,7 @@ FmSearchDialog::FmSearchDialog(Window* pParent, const OUString& sInitialText, co
::comphelper::getProcessComponentContext(), fmscInitial.xCursor, fmscInitial.strUsedFields, fmscInitial.arrFields, SM_ALLOWSCHEDULE );
initCommon( fmscInitial.xCursor );
- if (fmscInitial.sFieldDisplayNames.Len() != 0)
+ if ( !fmscInitial.sFieldDisplayNames.isEmpty() )
{ // use the display names if supplied
DBG_ASSERT(comphelper::string::getTokenCount(fmscInitial.sFieldDisplayNames, ';') == comphelper::string::getTokenCount(fmscInitial.strUsedFields, ';'),
"FmSearchDialog::FmSearchDialog : invalid initial context description !");
@@ -553,7 +553,7 @@ void FmSearchDialog::InitContext(sal_Int16 nContext)
// put the field names into the respective listbox
m_lbField.Clear();
- if (fmscContext.sFieldDisplayNames.Len() != 0)
+ if (!fmscContext.sFieldDisplayNames.isEmpty())
{
// use the display names if supplied
DBG_ASSERT(comphelper::string::getTokenCount(fmscContext.sFieldDisplayNames, ';') == comphelper::string::getTokenCount(fmscContext.strUsedFields, ';'),