incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1391154 - /incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx
Date Thu, 27 Sep 2012 18:18:46 GMT
Author: paveljanik
Date: Thu Sep 27 18:18:45 2012
New Revision: 1391154

URL: http://svn.apache.org/viewvc?rev=1391154&view=rev
Log:
Simplify the code and remove warning in debug build.

Modified:
    incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx

Modified: incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx?rev=1391154&r1=1391153&r2=1391154&view=diff
==============================================================================
--- incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx (original)
+++ incubator/ooo/trunk/main/xmloff/source/core/RDFaImportHelper.cxx Thu Sep 27 18:18:45 2012
@@ -210,15 +210,15 @@ RDFaReader::ReadCURIE(::rtl::OUString co
             else
             {
                 OSL_TRACE( "ReadCURIE: invalid CURIE: invalid prefix" );
-                return ::rtl::OUString();
             }
         }
     }
     else
     {
         OSL_TRACE( "ReadCURIE: invalid CURIE: no prefix" );
-        return ::rtl::OUString();
     }
+
+    return ::rtl::OUString();
 }
 
 ::std::vector< ::rtl::OUString >



Mime
View raw message