summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-08 12:28:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-08 14:31:05 +0200
commit4ec7f1d7a82e13532b07acb5da6bb17cfd550ee2 (patch)
tree03776e5e776aed917576125ce60bb3eadd0de878 /stoc
parent1290ec321ccff4aeb5f9e3f7d12d84c72f128a04 (diff)
Whatever that "SDL-Bug" was supposed to be, it is clearly irrelevant by now
Change-Id: Iaa3482e0895b1ccb1f1743893d64ae1941f3f396
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index d5e32355dfa3..9f061ae06af3 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2045,14 +2045,12 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
// Name holen und auswerten
OUString aMethName2 = rxMethod_k->getName();
OUString aStartStr2 = aMethName2.copy( 0, 3 );
- // ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!!
- if( !( aStartStr2 == "set" ) )
+ if( aStartStr2 != "set" )
continue;
// Ist es denn der gleiche Name?
OUString aPropName2 = aMethName2.copy( 3 );
- // ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!!
- if( !( aPropName == aPropName2 ) )
+ if( aPropName != aPropName2 )
continue;
// set-Methode muss void returnen
@@ -2104,8 +2102,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
OUString aEndStr = aMethName.copy( nCopyLen > 0 ? nCopyLen : 0 );
// Endet das Teil auf Listener?
- // ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!!
- if( !( aEndStr == aListenerStr ) )
+ if( aEndStr != aListenerStr )
continue;
// Welcher Listener?
@@ -2133,8 +2130,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
sal_Int32 nCopyLen2 = (nNameLen < 6) ? nNameLen : 6;
OUString aStartStr2 = aMethName2.copy( 0, nCopyLen2 );
OUString aRemoveStr("remove" );
- // ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!!
- if( !( aStartStr2 == aRemoveStr ) )
+ if( aStartStr2 != aRemoveStr )
continue;
// Ist es denn der gleiche Listener?
@@ -2142,8 +2138,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
continue;
OUString aListenerName2 = aMethName2.copy
( 6, aMethName2.getLength() - aRemoveStr.getLength() - aListenerStr.getLength() );
- // ACHTUNG: Wegen SDL-Bug NICHT != bei OUString verwenden !!!
- if( !( aListenerName == aListenerName2 ) )
+ if( aListenerName != aListenerName2 )
continue;
// TODO: Hier koennten noch genauere Pruefungen vorgenommen werden