summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-01 09:56:55 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-01 11:06:26 +0000
commit75c1a8033a876b711c7b360565c99f831dd9d2e8 (patch)
tree099dd4bc0e40379c386474e72a04440b362b169d /filter
parent7cac55174385bb278c4ae979bcf31f106072798e (diff)
WaE: various sillies flagged by MSVC++
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 6b66c5081509..07f3a16b2bcf 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -2433,7 +2433,7 @@ struct ShapeRenderingVisitor
if( !maCurrState.maFontStyle.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("normal")) )
aFont.SetItalic(ITALIC_NORMAL); // TODO: discriminate
- if( !maCurrState.mnFontWeight != 400.0 )
+ if( maCurrState.mnFontWeight != 400.0 )
aFont.SetWeight(WEIGHT_BOLD); // TODO: discriminate
// extract basic transformations out of CTM