summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-21 12:45:12 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-21 18:26:21 +0100
commit895dc882c451bcc03236267d3ce33be218451721 (patch)
treec1ce54188d19d0850a0cfcdc0d0019c4aa10c137 /xmloff/inc
parent93363ff6ba8198e83417eb805b9342e8711b8c09 (diff)
generic integers to enums
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/XMLFontAutoStylePool.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
index 8ed243daa321..a4c64250aaaa 100644
--- a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
@@ -23,6 +23,7 @@
#include "sal/config.h"
#include "xmloff/dllapi.h"
#include <rtl/ustring.hxx>
+#include <tools/fontenum.hxx>
#include <xmloff/uniref.hxx>
#include <set>
@@ -53,15 +54,15 @@ public:
::rtl::OUString Add(
const ::rtl::OUString& rFamilyName,
const ::rtl::OUString& rStyleName,
- sal_Int16 nFamily,
- sal_Int16 nPitch,
+ FontFamily nFamily,
+ FontPitch nPitch,
rtl_TextEncoding eEnc );
::rtl::OUString Find(
const ::rtl::OUString& rFamilyName,
const ::rtl::OUString& rStyleName,
- sal_Int16 nFamily,
- sal_Int16 nPitch,
+ FontFamily nFamily,
+ FontPitch nPitch,
rtl_TextEncoding eEnc )const;
::rtl::OUString Find( const ::rtl::OUString& rInternalName ) const;