diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:36:17 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:36:17 +0000 |
commit | 4f6c6329d6a8781fd9e0caf81a75c4e8979f1f31 (patch) | |
tree | 0eb45001fbf4f73ba142f7357411ccea436c4d3a /xmloff/source/style/HatchStyle.cxx | |
parent | 2c7ddad925b1a0bcd12e6342794fcbba0701c87a (diff) |
INTEGRATION: CWS warningfixes02 (1.12.10); FILE MERGED
2006/06/30 12:00:22 sb 1.12.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'xmloff/source/style/HatchStyle.cxx')
-rw-r--r-- | xmloff/source/style/HatchStyle.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx index c3e22b014548..5b2a71db6dc6 100644 --- a/xmloff/source/style/HatchStyle.cxx +++ b/xmloff/source/style/HatchStyle.cxx @@ -4,9 +4,9 @@ * * $RCSfile: HatchStyle.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2006-06-19 18:24:53 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:36:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -174,14 +174,14 @@ sal_Bool XMLHatchStyleImport::importXML( case XML_TOK_HATCH_STYLE: { sal_uInt16 eValue; - if( bHasStyle = rUnitConverter.convertEnum( eValue, rStrValue, pXML_HatchStyle_Enum ) ) + if( (bHasStyle = rUnitConverter.convertEnum( eValue, rStrValue, pXML_HatchStyle_Enum )) ) aHatch.Style = (drawing::HatchStyle) eValue; } break; case XML_TOK_HATCH_COLOR: { Color aColor; - if( bHasColor = rUnitConverter.convertColor( aColor, rStrValue ) ) + if( (bHasColor = rUnitConverter.convertColor( aColor, rStrValue )) ) aHatch.Color = (sal_Int32)( aColor.GetColor() ); } break; |