summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/geometrycontrolmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/geometrycontrolmodel.cxx')
-rw-r--r--toolkit/source/controls/geometrycontrolmodel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index 786e0b3fcf17..18f470a6240a 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -498,7 +498,7 @@
{
bool operator()( const Property& _rLHS, const Property& _rRHS )
{
- return _rLHS.Name < _rRHS.Name ? true : false;
+ return _rLHS.Name < _rRHS.Name;
}
};
@@ -510,7 +510,7 @@
bool operator()( const Property& _rLHS )
{
- return _rLHS.Name == m_rCompare ? true : false;
+ return _rLHS.Name == m_rCompare;
}
};
@@ -593,7 +593,7 @@
bool operator()( sal_Int32 _nLHS )
{
- return _nLHS == m_nCompare ? true : false;
+ return _nLHS == m_nCompare;
}
};