diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-09 22:18:34 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-16 16:54:39 +0100 |
commit | a080c8f34d80b8c70764e7bde934f43c2fe4a109 (patch) | |
tree | d8f1437812eeb6cb744762616e54a1a9ed32f3d6 /sw/source/filter | |
parent | 2abe293f085fc66eeaeeae85c9714a41a874cbcd (diff) |
sw: avoid 'condition ? sal_True : sal_False' expressions
Change-Id: Idd6c9f9752659fc5da575e5a3f0ffc15ce5dbe1c
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/xml/xmlimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index f45ebf0a2805..b5027d50e70f 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -351,7 +351,7 @@ void SwXMLDocStylesContext_Impl::EndElement() // are imported and finished. SwXMLImport& rSwImport = dynamic_cast<SwXMLImport&>( GetImport()); GetImport().GetTextImport()->SetOutlineStyles( - (rSwImport.GetStyleFamilyMask() & SFX_STYLE_FAMILY_PARA ) ? sal_True : sal_False); + (rSwImport.GetStyleFamilyMask() & SFX_STYLE_FAMILY_PARA ) != 0); } const SvXMLTokenMap& SwXMLImport::GetDocElemTokenMap() |