summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:35:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:34 +0100
commitb1fab4ab325636eacf7c0387d55b6cc184f89c5f (patch)
treeae4fc4883d0106d08384eb9f628b28087babe991 /sw/source/ui/misc
parente5bd0f8b0a83f5c7f0f204adc081b102c765ca8e (diff)
sw: Use appropriate OUString functions on string constants
Change-Id: I9c3e03324c69beb5af4c43da208086600876f875
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/srtdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index 9e511f3ea7ea..084c73ba1e0e 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -298,7 +298,7 @@ void SwSortDlg::Apply()
{
OUString sEntry( m_pTypDLB1->GetSelectEntry() );
if( sEntry == aNumericTxt )
- sEntry = "";
+ sEntry.clear();
else if( 0 != (pUserData = m_pTypDLB1->GetEntryData(
m_pTypDLB1->GetSelectEntryPos())) )
sEntry = *(OUString*)pUserData;
@@ -312,7 +312,7 @@ void SwSortDlg::Apply()
{
OUString sEntry( m_pTypDLB2->GetSelectEntry() );
if( sEntry == aNumericTxt )
- sEntry = "";
+ sEntry.clear();
else if( 0 != (pUserData = m_pTypDLB2->GetEntryData(
m_pTypDLB2->GetSelectEntryPos())) )
sEntry = *(OUString*)pUserData;
@@ -326,7 +326,7 @@ void SwSortDlg::Apply()
{
OUString sEntry( m_pTypDLB3->GetSelectEntry() );
if( sEntry == aNumericTxt )
- sEntry = "";
+ sEntry.clear();
else if( 0 != (pUserData = m_pTypDLB3->GetEntryData(
m_pTypDLB3->GetSelectEntryPos())) )
sEntry = *(OUString*)pUserData;