[Libreoffice-commits] .: stoc/test

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 21 12:11:02 PST 2013


 stoc/test/testintrosp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd2302200b7bc8005662b7034346866ae22da38b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Jan 21 21:08:14 2013 +0100

    Fix parenthesis and simplify
    
    See http://nabble.documentfoundation.org/About-parenthesis-problem-in-testintrosp-cxx-td4030420.html
    Thank you Lubos!
    
    Change-Id: If46b3d3aa304f2c16d66813ff337a70b3a520e76

diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx
index 4550046..56e4f1a 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -179,7 +179,7 @@ OUString AnyToString( const Any& aValue, sal_Bool bIncludeType, const Reference<
     if( bIncludeType )
     {
         Reference< XIdlClass > xIdlClass = TypeToIdlClass( aValType, xMgr );
-        aRetStr = aRetStr + OUString( OUString(" (Typ: ") ) + xIdlClass->getName() + OUString(""));
+        aRetStr += " (Typ: " + xIdlClass->getName() + ")";
     }
     return aRetStr;
 }


More information about the Libreoffice-commits mailing list