summaryrefslogtreecommitdiff
path: root/src/PlotMgt
diff options
context:
space:
mode:
authorDenis Barbier <bouzim@gmail.com>2011-07-21 20:00:44 +0200
committerDenis Barbier <bouzim@gmail.com>2011-07-21 22:08:33 +0200
commit4942112ac732dbd7667d8b349ff67c0b2ad5f522 (patch)
treeab8ebefe4c9c6fd0e10e8472e49a849c259d44fd /src/PlotMgt
parent34b44a3a6eb1ead23570e6eda51d74e25eb16ed2 (diff)
downloadoce-4942112ac732dbd7667d8b349ff67c0b2ad5f522.tar.gz
oce-4942112ac732dbd7667d8b349ff67c0b2ad5f522.zip
[warning-fix][logical-op-parentheses]
GCC emits warnings: src/IntTools/IntTools_FClass2d.cxx:627:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!RecadreOnPeriodic || !IsUPer && !IsVPer) ^ ~~~~~~~~~~~~~~~~~~ src/IntTools/IntTools_FClass2d.cxx:627:28: note: place parentheses around the '&&' expression to silence this warning
Diffstat (limited to 'src/PlotMgt')
-rw-r--r--src/PlotMgt/PlotMgt_PlotterParameter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlotMgt/PlotMgt_PlotterParameter.cxx b/src/PlotMgt/PlotMgt_PlotterParameter.cxx
index 2d7f3fa2..0a31bef3 100644
--- a/src/PlotMgt/PlotMgt_PlotterParameter.cxx
+++ b/src/PlotMgt/PlotMgt_PlotterParameter.cxx
@@ -462,7 +462,7 @@ Standard_Boolean PlotMgt_PlotterParameter::BValue () const
if (myType == _T_BOOL) {
if (myFlags & FLAG_DEFVAL && !myDefValue.IsEmpty()) {
if (myDefValue.IsEqual("true") ||
- myDefValue.IsIntegerValue() && myDefValue.IntegerValue())
+ (myDefValue.IsIntegerValue() && myDefValue.IntegerValue()))
return Standard_True;
} else
GET_EMPTY_VALUE_INFO("FALSE");