summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/fract.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index b6e8135f9b86..12530c7f7d42 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -42,7 +42,10 @@ struct Fraction::Impl
bool valid;
boost::rational<sal_Int64> value;
- Impl() = default;
+ Impl()
+ : valid(false)
+ {
+ }
Impl(const Impl&) = delete;
Impl& operator=(const Impl&) = delete;
};