diff options
Diffstat (limited to 'sc/source/ui/vba/vbahyperlink.cxx')
-rw-r--r-- | sc/source/ui/vba/vbahyperlink.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbahyperlink.cxx b/sc/source/ui/vba/vbahyperlink.cxx index 2bd35542130b..17190b9cf62d 100644 --- a/sc/source/ui/vba/vbahyperlink.cxx +++ b/sc/source/ui/vba/vbahyperlink.cxx @@ -221,7 +221,7 @@ void ScVbaHyperlink::setUrlComponents( const UrlComponents& rUrlComp ) ensureTextField(); OUStringBuffer aUrl( rUrlComp.first ); if( !rUrlComp.second.isEmpty() ) - aUrl.append( '#' ).append( rUrlComp.second ); + aUrl.append( "#" + rUrlComp.second ); mxTextField->setPropertyValue("URL", uno::Any( aUrl.makeStringAndClear() ) ); } |