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


Reply via email to