diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 23:14:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 23:14:57 +0200 |
commit | 24dd1b32a669a70baadb7055892930cfe8f11bc0 (patch) | |
tree | 6df021cd79ba1a83c29992f0c99a009fbedde1e5 /testtools | |
parent | 5ee9e2983a4b0f3df31e7f8ea4695c2c789edc56 (diff) |
loplugin:stringconstant
Change-Id: Ia3275dc10ef18fd5978c7422b33012a5b1e4696c
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/bridgetest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index 6255349eea3a..52e337f1f277 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -967,7 +967,7 @@ static bool raiseException( const Reference< XBridgeTest > & xLBT ) if (rExc.ArgumentPosition == 5 && #if OSL_DEBUG_LEVEL == 0 // java stack traces trash Message - rExc.Message.equalsAscii( STRING_TEST_CONSTANT ) && + rExc.Message == STRING_TEST_CONSTANT && #endif rExc.Context == xLBT->getInterface()) { @@ -994,7 +994,7 @@ static bool raiseException( const Reference< XBridgeTest > & xLBT ) if (rExc.Context == xLBT->getInterface() #if OSL_DEBUG_LEVEL == 0 // java stack traces trash Message - && rExc.Message.equalsAscii( STRING_TEST_CONSTANT ) + && rExc.Message == STRING_TEST_CONSTANT #endif ) { @@ -1014,7 +1014,7 @@ static bool raiseException( const Reference< XBridgeTest > & xLBT ) if (rExc.Context == xLBT->getInterface() #if OSL_DEBUG_LEVEL == 0 // java stack traces trash Message - && rExc.Message.equalsAscii( STRING_TEST_CONSTANT ) + && rExc.Message == STRING_TEST_CONSTANT #endif ) { |