summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-08 12:55:14 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-08 14:23:06 -0400
commitaceff35230dab8d22a5fdd4cd9a7a982b9754fa2 (patch)
tree2c2b9ebe26b1e7bc423347aabfaec1ad6fb2d456 /editeng/inc
parentc5af59331a7ce7beac38c7d95d03decd0eb75db0 (diff)
A little more cleanup; translation of field IDs are no longer needed.
Change-Id: I85364368d2ffca717b38d17c3396f53699001a3f
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/flditem.hxx4
-rw-r--r--editeng/inc/editeng/unofield.hxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/editeng/inc/editeng/flditem.hxx b/editeng/inc/editeng/flditem.hxx
index 46ddc3413cbc..03a2cacbe074 100644
--- a/editeng/inc/editeng/flditem.hxx
+++ b/editeng/inc/editeng/flditem.hxx
@@ -53,9 +53,11 @@ class MetaAction;
class EDITENG_DLLPUBLIC SvxFieldData : public SvPersistBase
{
public:
+ static const sal_Int32 UNKNOWN_FIELD;
+
static SvxFieldData* Create(const com::sun::star::uno::Reference<com::sun::star::text::XTextContent>& xContent);
- SV_DECL_PERSIST1( SvxFieldData, SvPersistBase, -1 )
+ SV_DECL_PERSIST1( SvxFieldData, SvPersistBase, UNKNOWN_FIELD)
SvxFieldData();
virtual ~SvxFieldData();
diff --git a/editeng/inc/editeng/unofield.hxx b/editeng/inc/editeng/unofield.hxx
index 0be97f85742c..39cf2e6fae10 100644
--- a/editeng/inc/editeng/unofield.hxx
+++ b/editeng/inc/editeng/unofield.hxx
@@ -71,7 +71,6 @@ public:
virtual ~SvxUnoTextField() throw();
// Internal
- virtual sal_Int32 GetFieldId( const SvxFieldData* pFieldData ) const throw();
SvxFieldData* CreateFieldData() const throw();
void SetAnchor( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xAnchor ) { mxAnchor = xAnchor; }