summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-04 21:58:22 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-05 11:10:18 -0400
commit204c898d7b69731a6a013bb02842400d4a828783 (patch)
tree08ebee26aec3d3c5de4091a4e43f3f3ddbf318ed /editeng/inc
parent194785f8b06182ba8caed8448fc61dd82a24dbcb (diff)
Use the UNO field type values instead of the internal ones.
Change-Id: I43c374f549bbcddaa1a1bd63c1eb346130208b60
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/unofield.hxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/editeng/inc/editeng/unofield.hxx b/editeng/inc/editeng/unofield.hxx
index 13e8e70d3c23..0be97f85742c 100644
--- a/editeng/inc/editeng/unofield.hxx
+++ b/editeng/inc/editeng/unofield.hxx
@@ -33,6 +33,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/text/XTextField.hpp>
+#include <com/sun/star/text/textfield/Type.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/component.hxx>
#include "editeng/editengdllapi.h"
@@ -41,23 +42,6 @@
#include <editeng/mutxhelp.hxx>
-// ids usable for the constructor
-#define ID_DATEFIELD 0
-#define ID_URLFIELD 1
-#define ID_PAGEFIELD 2
-#define ID_PAGESFIELD 3
-#define ID_TIMEFIELD 4
-#define ID_FILEFIELD 5
-#define ID_TABLEFIELD 6
-#define ID_EXT_TIMEFIELD 7
-#define ID_EXT_FILEFIELD 8
-#define ID_AUTHORFIELD 9
-#define ID_MEASUREFIELD 10
-#define ID_EXT_DATEFIELD 11
-#define ID_HEADERFIELD 12
-#define ID_FOOTERFIELD 13
-#define ID_DATETIMEFIELD 14
-
class SvxUnoFieldData_Impl;
class SfxItemPropertySet;
class SvxFieldData;