diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-12 09:56:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-12 10:07:16 +0200 |
commit | fa72acc4bf926b5df3e484d72fcc9880994f7ea2 (patch) | |
tree | 191028f4da85c7c13e7258567e73bb746ddf80dc | |
parent | f98fbc38640816aa1f834f0e932991ae0d3202ee (diff) |
SwXTextField: add getter method for m_nServiceId
Change-Id: I5a4f65da17062db1334bb0140b7b4545494adfa6
-rw-r--r-- | sw/inc/unofield.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unofield.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx index 71915fa5a175..c5833539f407 100644 --- a/sw/inc/unofield.hxx +++ b/sw/inc/unofield.hxx @@ -196,6 +196,7 @@ public: /// @return an SwXTextField, either an already existing one or a new one static SwXTextField* CreateSwXTextField(SwDoc & rDoc, SwFmtFld const& rFmt); + sal_uInt16 GetServiceId(); }; typedef diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index b2447f4752d8..c30697b7881c 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1019,6 +1019,11 @@ SwXTextField* SwXTextField::CreateSwXTextField(SwDoc & rDoc, SwFmtFld const& rFm return pField ? pField : new SwXTextField( rFmt, &rDoc ); } +sal_uInt16 SwXTextField::GetServiceId() +{ + return m_nServiceId; +} + struct SwFieldProperties_Impl { String sPar1; |