summaryrefslogtreecommitdiff
path: root/svl/source/items/intitem.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-05 07:57:54 -0500
committerMichael Meeks <michael.meeks@novell.com>2010-10-08 14:28:51 +0100
commit9df316152981544e0b693696dd8140127d28d5a5 (patch)
treebf922dfb37fb304e363d66b47ead24f0836c3b3f /svl/source/items/intitem.cxx
parentf171c99af330eaeec1fe071f2f29300f27331536 (diff)
FASTBOOL to bool conversion
Diffstat (limited to 'svl/source/items/intitem.cxx')
-rw-r--r--svl/source/items/intitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index 4729b5e1afd8..b76c9fede5d2 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -239,20 +239,20 @@ SfxMetricItem::SfxMetricItem(const SfxMetricItem & rItem):
//============================================================================
// virtual
-int SfxMetricItem::ScaleMetrics(long nMult, long nDiv)
+bool SfxMetricItem::ScaleMetrics(long nMult, long nDiv)
{
BigInt aTheValue(GetValue());
aTheValue *= nMult;
aTheValue += nDiv / 2;
aTheValue /= nDiv;
SetValue(aTheValue);
- return 1;
+ return true;
}
//============================================================================
// virtual
-int SfxMetricItem::HasMetrics() const
+bool SfxMetricItem::HasMetrics() const
{
- return 1;
+ return true;
}