summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/linkmgr2.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/linkmgr2.cxx
parent0ad5204d325b808aa3661c7ddac5224c8ffb6a2b (diff)
sfx2: Use appropriate OUString functions on string constants
Change-Id: Iea55d87a7c7b2afc408e3822121f79234481eccc
Diffstat (limited to 'sfx2/source/appl/linkmgr2.cxx')
-rw-r--r--sfx2/source/appl/linkmgr2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index 314cd813fcc8..c14f0e1b53a6 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -392,7 +392,7 @@ void MakeLnkName( OUString& rName, const OUString* pType, const OUString& rFile,
rName += OUString(cTokenSeparator);
}
else if( !rName.isEmpty() )
- rName = "";
+ rName.clear();
rName += rFile;
@@ -626,7 +626,7 @@ bool SvxInternalLink::Connect( sfx2::SvBaseLink* pLink )
else
pShell = SfxObjectShell::GetNext( *pShell, &aType, false );
- sTmp = "";
+ sTmp.clear();
}
}