From f439dde9be6e269903dfd65fb63a786fcaba3971 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 3 Feb 2012 02:34:17 +0900 Subject: Replaced String by rtl::OUString --- cui/source/dialogs/insdlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs') diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 5312e6f694ff..2ff622ba546d 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -468,7 +468,7 @@ SvInsertPlugInDialog::~SvInsertPlugInDialog() static void Plugin_ImplFillCommandSequence( const String& aCommands, uno::Sequence< beans::PropertyValue >& aCommandSequence ) { - sal_uInt16 nEaten; + sal_Int32 nEaten; SvCommandList aLst; aLst.AppendCommands( aCommands, &nEaten ); @@ -478,7 +478,7 @@ static void Plugin_ImplFillCommandSequence( const String& aCommands, uno::Sequen { aCommandSequence[nIndex].Name = aLst[ nIndex ].GetCommand(); aCommandSequence[nIndex].Handle = -1; - aCommandSequence[nIndex].Value = makeAny( OUString( aLst[ nIndex ].GetArgument() ) ); + aCommandSequence[nIndex].Value = makeAny( aLst[ nIndex ].GetArgument() ); aCommandSequence[nIndex].State = beans::PropertyState_DIRECT_VALUE; } } -- cgit