summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:26:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:53 +0200
commitc555142e001167df18ffdd6dc038e2db0c55dc56 (patch)
tree9db919dd4837f66fad0dfca168cf319ccc7b5c55 /chart2
parentad3f1321f9a6e18c022e534e2f259cf78996d9b4 (diff)
More loplugin:simplifybool
Change-Id: Ib4a26405b83f40627d77f312c0bbd05883e35bf8
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx
index 1070945b1b0a..f78d625b080a 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx
@@ -106,7 +106,7 @@ WrappedAxisAndGridExistenceProperty::WrappedAxisAndGridExistenceProperty( bool b
{
if( m_bAxis )
{
- OSL_ENSURE(m_bMain == true,"there is no secondary z axis at the old api");
+ OSL_ENSURE(m_bMain,"there is no secondary z axis at the old api");
m_bMain = true;
m_aOuterName = "HasZAxis";
}