summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-01 13:58:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-01 13:58:25 +0200
commitb398f8157699030061dde88d967364bedd5b2a52 (patch)
treee9dcd91870d18f652c375068ddbad38dbb7caeeb /xmloff
parented52e65bcb639e4f1893817f4f3c9d698297fe3b (diff)
-Werror,-Wtautological-constant-out-of-range-compare
Looks like 7d9bb549d498d6beed2c4050c402d09643febdfa "Related: #i124638# Second step of DrawingLayer FillAttributes..." accidentally garbled this. Change-Id: I4cdaad4fdebb8b9947e79afbec4a6e0973c55cac
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtstyli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index b6db59197d95..7788331a5750 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -516,7 +516,7 @@ void XMLTextStyleContext::FillPropertySet(
(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("CollapsingBorders");
DBG_ASSERT( rPropSet->getPropertySetInfo()->hasPropertyByName( sCollapsingBorders ), "property missing?" );