summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/excel/xlescher.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-27 16:37:15 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 08:49:00 +0200
commit73873ef6b4d7ad8697bda3a44bb16b7eed9b93bd (patch)
tree5530ef35ec07f7bc27f467ebb131eca9247b69f8 /sc/source/filter/excel/xlescher.cxx
parentconvert sc/source/filter/xml/*.hxx from String to OUString (diff)
downloadcore-73873ef6b4d7ad8697bda3a44bb16b7eed9b93bd.tar.gz
core-73873ef6b4d7ad8697bda3a44bb16b7eed9b93bd.zip
convert sc/source/filter/inc/xl*.hxx from String to OUString
Change-Id: If396f7b3d34373fa093cfe1c1e71fd47a559148d
Diffstat (limited to 'sc/source/filter/excel/xlescher.cxx')
-rw-r--r--sc/source/filter/excel/xlescher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xlescher.cxx b/sc/source/filter/excel/xlescher.cxx
index 00def4658a36..56fbb5587169 100644
--- a/sc/source/filter/excel/xlescher.cxx
+++ b/sc/source/filter/excel/xlescher.cxx
@@ -318,9 +318,9 @@ spTbxListenerData[] =
} // namespace
bool XclControlHelper::FillMacroDescriptor( ScriptEventDescriptor& rDescriptor,
- XclTbxEventType eEventType, const String& rXclMacroName, SfxObjectShell* pDocShell )
+ XclTbxEventType eEventType, const OUString& rXclMacroName, SfxObjectShell* pDocShell )
{
- if( rXclMacroName.Len() > 0 )
+ if( !rXclMacroName.isEmpty() )
{
rDescriptor.ListenerType = OUString::createFromAscii( spTbxListenerData[ eEventType ].mpcListenerType );
rDescriptor.EventMethod = OUString::createFromAscii( spTbxListenerData[ eEventType ].mpcEventMethod );
@@ -331,7 +331,7 @@ bool XclControlHelper::FillMacroDescriptor( ScriptEventDescriptor& rDescriptor,
return false;
}
-String XclControlHelper::ExtractFromMacroDescriptor(
+OUString XclControlHelper::ExtractFromMacroDescriptor(
const ScriptEventDescriptor& rDescriptor, XclTbxEventType eEventType, SfxObjectShell* /*pShell*/ )
{
if( (!rDescriptor.ScriptCode.isEmpty()) &&