Kaydet (Commit) 4ec7f1d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Whatever that "SDL-Bug" was supposed to be, it is clearly irrelevant by now

Change-Id: Iaa3482e0895b1ccb1f1743893d64ae1941f3f396
üst 1290ec32
...@@ -2045,14 +2045,12 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect( ...@@ -2045,14 +2045,12 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
// Name holen und auswerten // Name holen und auswerten
OUString aMethName2 = rxMethod_k->getName(); OUString aMethName2 = rxMethod_k->getName();
OUString aStartStr2 = aMethName2.copy( 0, 3 ); OUString aStartStr2 = aMethName2.copy( 0, 3 );
// ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!! if( aStartStr2 != "set" )
if( !( aStartStr2 == "set" ) )
continue; continue;
// Ist es denn der gleiche Name? // Ist es denn der gleiche Name?
OUString aPropName2 = aMethName2.copy( 3 ); OUString aPropName2 = aMethName2.copy( 3 );
// ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!! if( aPropName != aPropName2 )
if( !( aPropName == aPropName2 ) )
continue; continue;
// set-Methode muss void returnen // set-Methode muss void returnen
...@@ -2104,8 +2102,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect( ...@@ -2104,8 +2102,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
OUString aEndStr = aMethName.copy( nCopyLen > 0 ? nCopyLen : 0 ); OUString aEndStr = aMethName.copy( nCopyLen > 0 ? nCopyLen : 0 );
// Endet das Teil auf Listener? // Endet das Teil auf Listener?
// ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!! if( aEndStr != aListenerStr )
if( !( aEndStr == aListenerStr ) )
continue; continue;
// Welcher Listener? // Welcher Listener?
...@@ -2133,8 +2130,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect( ...@@ -2133,8 +2130,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
sal_Int32 nCopyLen2 = (nNameLen < 6) ? nNameLen : 6; sal_Int32 nCopyLen2 = (nNameLen < 6) ? nNameLen : 6;
OUString aStartStr2 = aMethName2.copy( 0, nCopyLen2 ); OUString aStartStr2 = aMethName2.copy( 0, nCopyLen2 );
OUString aRemoveStr("remove" ); OUString aRemoveStr("remove" );
// ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!! if( aStartStr2 != aRemoveStr )
if( !( aStartStr2 == aRemoveStr ) )
continue; continue;
// Ist es denn der gleiche Listener? // Ist es denn der gleiche Listener?
...@@ -2142,8 +2138,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect( ...@@ -2142,8 +2138,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
continue; continue;
OUString aListenerName2 = aMethName2.copy OUString aListenerName2 = aMethName2.copy
( 6, aMethName2.getLength() - aRemoveStr.getLength() - aListenerStr.getLength() ); ( 6, aMethName2.getLength() - aRemoveStr.getLength() - aListenerStr.getLength() );
// ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!! if( aListenerName != aListenerName2 )
if( !( aListenerName == aListenerName2 ) )
continue; continue;
// TODO: Hier koennten noch genauere Pruefungen vorgenommen werden // TODO: Hier koennten noch genauere Pruefungen vorgenommen werden
......
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