summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index cea2c41e9caf..4e43e332f1e7 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -30,6 +30,7 @@
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
+#include <tools/long.hxx>
#include <algorithm>
#include <string_view>
@@ -288,9 +289,9 @@ void Converter::convertMeasure( OUStringBuffer& rBuffer,
}
// The new length is (nVal * nMul)/(nDiv*nFac*10)
- long nMul = 1000;
- long nDiv = 1;
- long nFac = 100;
+ tools::Long nMul = 1000;
+ tools::Long nDiv = 1;
+ tools::Long nFac = 100;
const char* psUnit = nullptr;
switch( nSourceUnit )
{