[Libreoffice-commits] core.git: testtools/source

Stephan Bergmann sbergman at redhat.com
Wed Jul 8 14:15:34 PDT 2015


 testtools/source/bridgetest/bridgetest.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 24dd1b32a669a70baadb7055892930cfe8f11bc0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jul 8 23:14:57 2015 +0200

    loplugin:stringconstant
    
    Change-Id: Ia3275dc10ef18fd5978c7422b33012a5b1e4696c

diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 6255349..52e337f 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
             )
         {


More information about the Libreoffice-commits mailing list