summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2011-02-02 10:49:44 +0100
committerVladimir Glazunov <vg@openoffice.org>2011-02-02 10:49:44 +0100
commitdf8eb7fcb2b895e43f5c08174699011453aea336 (patch)
treebe3522e41803b177bc7b6d8c20c3d11366f67beb
parent1f85e508ed7e94a20d9867ecc3e10d94fdd17826 (diff)
#i10000# WAE: cast to right type
Notes
Notes: split repo tag: filters_ooo/DEV300_m99
-rw-r--r--writerfilter/source/resourcemodel/Fraction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/resourcemodel/Fraction.cxx b/writerfilter/source/resourcemodel/Fraction.cxx
index 98892a759bfb..c50668a7db03 100644
--- a/writerfilter/source/resourcemodel/Fraction.cxx
+++ b/writerfilter/source/resourcemodel/Fraction.cxx
@@ -144,7 +144,7 @@ Fraction::operator sal_Int32() const
Fraction::operator float() const
{
- return mnNumerator / mnDenominator;
+ return static_cast<float>(mnNumerator) / static_cast<float>(mnDenominator);
}
}}