summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlexp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-30 14:15:39 +0200
committerNoel Grandin <noel@peralex.com>2014-07-31 11:38:47 +0200
commit65803ad94c8652edb84f82202717b1b206407a65 (patch)
treec9de76166e6b7ce9f336edf7c927a30eca0977e6 /include/xmloff/xmlexp.hxx
parent62da1a834128f5762fa2e6ceb35fa61372ed5949 (diff)
fix some dodgy FieldUnit conversions
the FieldUnit enum was being converted in some dodgy ways and in some places the MapUnit enum values were being used. Change-Id: Ic9aacb84058d1c14c3a4a79ef6676082df9a7270
Diffstat (limited to 'include/xmloff/xmlexp.hxx')
-rw-r--r--include/xmloff/xmlexp.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 57cc643536bf..d149aed89c32 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -58,6 +58,7 @@
#include <xmloff/XMLPageExport.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <cppuhelper/implbase6.hxx>
+#include <tools/fldunit.hxx>
#include <list>
@@ -287,7 +288,7 @@ public:
const OUString& rFileName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > &,
- sal_Int16 const eDefaultFieldUnit );
+ FieldUnit const eDefaultFieldUnit );
virtual ~SvXMLExport();