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.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx
index 7caf9c6a93f5..79f5b525aed4 100644
--- a/include/tools/fract.hxx
+++ b/include/tools/fract.hxx
@@ -21,6 +21,7 @@
#include <sal/types.h>
#include <tools/toolsdllapi.h>
+#include <tools/long.hxx>
#include <ostream>
#include <type_traits>
@@ -53,7 +54,7 @@ public:
explicit operator sal_Int32() const;
#if SAL_TYPES_SIZEOFLONG == 8
- explicit operator long() const { return sal_Int32(*this); }
+ explicit operator ::tools::Long() const { return sal_Int32(*this); }
#endif
explicit operator double() const;