summaryrefslogtreecommitdiff
path: root/include/tools/fract.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/fract.hxx')
-rw-r--r--include/tools/fract.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx
index 79f5b525aed4..c37859d7c17a 100644
--- a/include/tools/fract.hxx
+++ b/include/tools/fract.hxx
@@ -53,7 +53,7 @@ public:
sal_Int32 GetDenominator() const;
explicit operator sal_Int32() const;
-#if SAL_TYPES_SIZEOFLONG == 8
+#if SAL_TYPES_SIZEOFPOINTER == 8
explicit operator ::tools::Long() const { return sal_Int32(*this); }
#endif
explicit operator double() const;