summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-02-03 22:59:26 +0100
committerJulien Nabet <serval2412@yahoo.fr>2014-02-03 23:03:58 +0100
commit43627f2aab112cb9b5666d98c0c9e15bc6124cfb (patch)
treee92c1acdaa949274e2bf85ae150e23f070f6d75a /sc/source
parent384a55e188adbdd6b5fc8d03519a44c89a346600 (diff)
cppcheck: Clarify calculation precedence for '<<' and '?'
Change-Id: Id02a6ce439862e1bdb33927d26f4c12cf5690d4c
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/xerecord.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xerecord.cxx b/sc/source/filter/excel/xerecord.cxx
index 94f0d31a028a..a305afcb7b2a 100644
--- a/sc/source/filter/excel/xerecord.cxx
+++ b/sc/source/filter/excel/xerecord.cxx
@@ -180,7 +180,7 @@ void XclExpValueRecord<double>::SaveXml( XclExpXmlStream& rStrm )
void XclExpBoolRecord::WriteBody( XclExpStream& rStrm )
{
- rStrm << static_cast< sal_uInt16 >( mbValue ? 1 : 0 );
+ rStrm << (static_cast< sal_uInt16 >( mbValue ? 1 : 0 ));
}
void XclExpBoolRecord::SaveXml( XclExpXmlStream& rStrm )