summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-03 12:41:03 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:54:41 +0200
commit9a915d1114f814ff8d8ba4fb0d2b9b2589ea0833 (patch)
tree19a9126e43a768fc9482f42cd837cea41f16300d /sw
parent6015ebb09e1c5782194366e460179ec680913018 (diff)
convert include/svx/hlnkitem.hxx from String to OUString
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/shells/drformsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/drformsh.cxx b/sw/source/ui/shells/drformsh.cxx
index 255aed0a97b5..1025e896b148 100644
--- a/sw/source/ui/shells/drformsh.cxx
+++ b/sw/source/ui/shells/drformsh.cxx
@@ -136,9 +136,9 @@ void SwDrawFormShell::Execute(SfxRequest &rReq)
aTmp <<= OUString(URIHelper::SmartRel2Abs(aAbs, rHLinkItem.GetURL()));
xPropSet->setPropertyValue( sTargetURL, aTmp );
- if( rHLinkItem.GetTargetFrame().Len() )
+ if( !rHLinkItem.GetTargetFrame().isEmpty() )
{
- aTmp <<= OUString(rHLinkItem.GetTargetFrame());
+ aTmp <<= rHLinkItem.GetTargetFrame();
xPropSet->setPropertyValue( "TargetFrame", aTmp );
}