summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-26 17:21:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 20:37:39 +0100
commit225d50da607a8a4115f45b2c433cb280fac70361 (patch)
treec41a2f2d1423cb0b37efce53c3898986d2b85b8a /sw/source/ui/index
parente8be58a10bce944525b4186db64629f526cf20ce (diff)
convert GetSelectEntry family to OUString
Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx2
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index d98b2d8ec603..c90851e59062 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -2632,7 +2632,7 @@ IMPL_LINK(SwTOXEntryTabPage, TokenSelectedHdl, SwFormToken*, pToken)
if(aAuthInsertPB.IsVisible())
{
bool bText = TOKEN_TEXT == pToken->eTokenType;
- aAuthInsertPB.Enable(bText && aAuthFieldsLB.GetSelectEntry().Len());
+ aAuthInsertPB.Enable(bText && !aAuthFieldsLB.GetSelectEntry().isEmpty());
aAuthRemovePB.Enable(!bText);
}
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index c754910561fb..1e1d863cc9dd 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1217,7 +1217,7 @@ IMPL_LINK( SwAuthorMarkPane, CompEntryHdl, ListBox*, pBox)
pEntry->GetAuthorField((ToxAuthorityField)i) : OUString();
}
}
- if(!pBox->GetSelectEntry().Len())
+ if (pBox->GetSelectEntry().isEmpty())
{
for(sal_uInt16 i = 0; i < AUTH_FIELD_END; i++)
m_sFields[i] = aEmptyStr;