Kaydet (Commit) 120d3fe1 authored tarafından Michael Stahl's avatar Michael Stahl

appdde.cxx: try to fix MSVC build

Change-Id: I14baa8bc0a462492ada6e4aeb8d8f90a0de2a51d
üst 1e95602e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment