summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/swuiccoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/swuiccoll.cxx')
-rw-r--r--sw/source/ui/chrdlg/swuiccoll.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx
index 6a85de83f4ef..369f6c5fade7 100644
--- a/sw/source/ui/chrdlg/swuiccoll.cxx
+++ b/sw/source/ui/chrdlg/swuiccoll.cxx
@@ -288,17 +288,17 @@ IMPL_LINK( SwCondCollPage, SelectHdl, ListBox*, pBox)
}
else
{
- String sTbEntry;
+ OUString sTbEntry;
SvTreeListEntry* pE = m_pTbLinks->FirstSelected();
if(pE)
sTbEntry = m_pTbLinks->GetEntryText(pE);
- sTbEntry = sTbEntry.GetToken(1, '\t');
- String sStyle = m_pStyleLB->GetSelectEntry();
+ sTbEntry = sTbEntry.getToken(1, '\t');
+ OUString sStyle = m_pStyleLB->GetSelectEntry();
m_pAssignPB->Enable( sStyle != sTbEntry && m_pConditionCB->IsChecked() );
if(pBox != m_pStyleLB)
- m_pRemovePB->Enable( m_pConditionCB->IsChecked() && sTbEntry.Len() );
+ m_pRemovePB->Enable( m_pConditionCB->IsChecked() && !sTbEntry.isEmpty() );
}
return 0;
}