summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 10:14:52 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 10:16:35 -0500
commit7ec3861d69a8c18488706564b27dbc344e3b5cd1 (patch)
tree47fc717e9a5320a02ef037d563def291a85835f0 /editeng/inc
parent59555e5b38d62b92397d7f3eac5097211ed261c4 (diff)
Remove one variant of HasField() which takes arcane TypeId.
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/editobj.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/editeng/inc/editeng/editobj.hxx b/editeng/inc/editeng/editobj.hxx
index 8e97b637d838..12c089c884f8 100644
--- a/editeng/inc/editeng/editobj.hxx
+++ b/editeng/inc/editeng/editobj.hxx
@@ -28,6 +28,8 @@
#include <editeng/editdata.hxx>
#include "editeng/editengdllapi.h"
+#include <com/sun/star/text/textfield/Type.hpp>
+
#include <vector>
DBG_NAMEEX( EE_EditTextObject )
@@ -101,8 +103,7 @@ public:
virtual sal_Bool IsFieldObject() const;
virtual const SvxFieldItem* GetField() const;
- virtual sal_Bool HasField( TypeId aType = NULL ) const;
- virtual bool HasField( sal_Int32 nType ) const = 0;
+ virtual bool HasField( sal_Int32 nType = com::sun::star::text::textfield::Type::UNSPECIFIED ) const = 0;
virtual SfxItemSet GetParaAttribs(size_t nPara) const;
virtual void SetParaAttribs(size_t nPara, const SfxItemSet& rAttribs);