summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-16 14:39:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-16 14:39:29 +0200
commitcb19a1ab5b8e6f1a4fdd90e50d13c106512b4da0 (patch)
treea8e7b64ecff6ce10ef95f857e236c3ab8a7832be /include
parent11c61b05d1acb44fd6a6fa6a1825f5d4c99c3b20 (diff)
-Werror,-Wtautological-constant-compare (Clang 6)
...making Fraction::HasOverflowValue() always return false on all platforms, regardless of size of long, since 331e2e5ed3bf4e0b2c1fab3b7bca836170317827 "long->sal_Int32 in Fraction" changed Fraction::Impl::value from boost::rational<sal_Int64> to boost::rational<sal_Int32>, and changed the limits to compare with in Fraction::HasOverflowValue from long to sal_Int32. Change-Id: I226ca240d6092ac803a1f65a363b1384903da17a
Diffstat (limited to 'include')
-rw-r--r--include/tools/fract.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx
index 95aa5f5e727b..74075e63cafc 100644
--- a/include/tools/fract.hxx
+++ b/include/tools/fract.hxx
@@ -32,8 +32,6 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Fraction final
std::unique_ptr<Impl> mpImpl;
- bool HasOverflowValue();
-
public:
Fraction();
Fraction( const Fraction & rFrac );