summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-08 16:35:15 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-08 18:33:20 -0500
commitcaafd2efcc104d1ce298151db908be37366ae4fc (patch)
treeac4cf648577f6cc2c37dd0d98bf840a5e826419b /sc/source/ui/drawfunc
parent814c4e1c1c8350652b55a21597996d4755f911d4 (diff)
Fixed a link error.
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 992f296b9d8c..bcdd6942dbbb 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -309,8 +309,8 @@ void ScDrawShell::ExecuteMacroAssign( SdrObject* pObj, Window* pWin )
if ( !pInfo->GetMacro().isEmpty() )
{
SvxMacroTableDtor aTab;
- String sMacro( pInfo->GetMacro() );
- aTab.Insert( SFX_EVENT_MOUSECLICK_OBJECT, new SvxMacro( sMacro, String() ) );
+ rtl::OUString sMacro = pInfo->GetMacro();
+ aTab.Insert(SFX_EVENT_MOUSECLICK_OBJECT, new SvxMacro(sMacro, rtl::OUString()));
aItem.SetMacroTable( aTab );
}