summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-20 14:01:18 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 08:48:53 +0200
commitf4343782227235bed736bdab456da8fdccf2e599 (patch)
tree308e2a12ecdab776ed6fe620b9bb433e7021fc11 /sc/source/ui/view/tabvwshg.cxx
parent91281ddf9896a6f4e25ef44ed408b4bec2164fdf (diff)
convert sc/.../tabvwsh.hxx from String to OUString
Change-Id: I5b9cf40acf4f6d2f4daf948e2c85e6cd9580425a
Diffstat (limited to 'sc/source/ui/view/tabvwshg.cxx')
-rw-r--r--sc/source/ui/view/tabvwshg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx
index c695605abf0f..37e086262b8e 100644
--- a/sc/source/ui/view/tabvwshg.cxx
+++ b/sc/source/ui/view/tabvwshg.cxx
@@ -38,8 +38,8 @@ using namespace com::sun::star;
//------------------------------------------------------------------------
-void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL,
- const String& rTarget,
+void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rURL,
+ const OUString& rTarget,
const Point* pInsPos )
{
// Tabelle geschuetzt ?
@@ -78,9 +78,9 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL,
aAny <<= aTmp;
xPropSet->setPropertyValue("TargetURL", aAny );
- if( rTarget.Len() )
+ if( !rTarget.isEmpty() )
{
- aAny <<= OUString(rTarget);
+ aAny <<= rTarget;
xPropSet->setPropertyValue("TargetFrame", aAny );
}