summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/unofield.hxx1
-rw-r--r--sw/source/core/unocore/unofield.cxx5
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;