summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/lnkbase2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:31:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:31 +0100
commit70e56ffe13fb00ff044a43074e99eb70275883b3 (patch)
treece08fc82a84e1d3fa17cb970b38f829c4049ccad /sfx2/source/appl/lnkbase2.cxx
parent0ad5204d325b808aa3661c7ddac5224c8ffb6a2b (diff)
sfx2: Use appropriate OUString functions on string constants
Change-Id: Iea55d87a7c7b2afc408e3822121f79234481eccc
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r--sfx2/source/appl/lnkbase2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index a5e1d8c78371..ab22c6db2efe 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -253,7 +253,7 @@ IMPL_LINK( SvBaseLink, EndEditHdl, OUString*, _pNewName )
if ( _pNewName )
sNewName = *_pNewName;
if ( !ExecuteEdit( sNewName ) )
- sNewName = "";
+ sNewName.clear();
bWasLastEditOK = !sNewName.isEmpty();
if ( pImpl->m_aEndEditLink.IsSet() )
pImpl->m_aEndEditLink.Call( this );