You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2014/07/01 17:25:11 UTC

svn commit: r1607112 - /openoffice/trunk/main/xmloff/source/text/txtstyli.cxx

Author: alg
Date: Tue Jul  1 15:25:11 2014
New Revision: 1607112

URL: http://svn.apache.org/r1607112
Log:
corrected obviously wrong comparison

Modified:
    openoffice/trunk/main/xmloff/source/text/txtstyli.cxx

Modified: openoffice/trunk/main/xmloff/source/text/txtstyli.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/xmloff/source/text/txtstyli.cxx?rev=1607112&r1=1607111&r2=1607112&view=diff
==============================================================================
--- openoffice/trunk/main/xmloff/source/text/txtstyli.cxx (original)
+++ openoffice/trunk/main/xmloff/source/text/txtstyli.cxx Tue Jul  1 15:25:11 2014
@@ -539,7 +539,7 @@ void XMLTextStyleContext::FillPropertySe
                 (aContextIDs[1].nIndex == -1) ? makeAny( false ) : GetProperties()[aContextIDs[1].nIndex].maValue );
         }
 
-        if(XML_STYLE_FAMILY_TABLE_TABLE == IsDefaultStyle() && GetFamily())
+        if(IsDefaultStyle() && XML_STYLE_FAMILY_TABLE_TABLE == GetFamily())
         {
             OUString sCollapsingBorders(OUString( RTL_CONSTASCII_USTRINGPARAM( "CollapsingBorders" ) ) );
             DBG_ASSERT( rPropSet->getPropertySetInfo()->hasPropertyByName( sCollapsingBorders ), "property missing?" );