summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-14 20:13:18 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-14 20:13:18 +0100
commit120d3fe123e9567f2a488575b5afd48dae1cab5d (patch)
tree038dd97256209244fa5df03aa5384ab1ac5a724e /sfx2
parent1e95602e5d566468ed075b1813e21ba08039b2db (diff)
appdde.cxx: try to fix MSVC build
Change-Id: I14baa8bc0a462492ada6e4aeb8d8f90a0de2a51d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdde.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 060ecf5227b6..801a8a0fcf86 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -233,7 +233,7 @@ class SfxDdeDocTopics_Impl : public std::vector<SfxDdeDocTopic_Impl*> {};
//========================================================================
sal_Bool SfxAppEvent_Impl( ApplicationEvent &rAppEvent,
- const String &rCmd, const String &rEvent,
+ const OUString& rCmd, const OUString& rEvent,
ApplicationEvent::Type eType )
/* [Description]
@@ -250,12 +250,12 @@ sal_Bool SfxAppEvent_Impl( ApplicationEvent &rAppEvent,
*/
{
- String aEvent( rEvent );
- aEvent += '(';
- if ( rCmd.CompareIgnoreCaseToAscii( aEvent, aEvent.Len() ) == COMPARE_EQUAL )
+ OUString sEvent(rEvent);
+ sEvent += "(";
+ if (rCmd.startsWithIgnoreAsciiCase(sEvent))
{
::rtl::OUStringBuffer aData( rCmd );
- aData.remove( 0, aEvent.Len() );
+ aData.remove(0, sEvent.getLength());
if ( aData.getLength() > 2 )
{
// Transform into the ApplicationEvent Format