diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-05 07:57:54 -0500 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-08 14:28:51 +0100 |
commit | 9df316152981544e0b693696dd8140127d28d5a5 (patch) | |
tree | bf922dfb37fb304e363d66b47ead24f0836c3b3f /svl/source/items/intitem.cxx | |
parent | f171c99af330eaeec1fe071f2f29300f27331536 (diff) |
FASTBOOL to bool conversion
Diffstat (limited to 'svl/source/items/intitem.cxx')
-rw-r--r-- | svl/source/items/intitem.cxx | 8 |
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; } |