incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1391354 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx
Date Fri, 28 Sep 2012 07:50:54 GMT
Author: paveljanik
Date: Fri Sep 28 07:50:53 2012
New Revision: 1391354

URL: http://svn.apache.org/viewvc?rev=1391354&view=rev
Log:
Simplify the code and prevent compiler warning at the same time.

Modified:
    incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx?rev=1391354&r1=1391353&r2=1391354&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/xml/xmlitem.cxx Fri Sep 28 07:50:53 2012
@@ -62,10 +62,8 @@ SvXMLImportContext *SvXMLItemSetContext:
 		return CreateChildContext( nPrefix, rLocalName, xAttrList,
 								   rItemSet, *pEntry, rUnitConv );
 	}
-	else
-	{
-		return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
-	}
+
+	return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
 }
 
 /** This method is called from this instance implementation of



Mime
View raw message