From a7ecab870eb5567bceb3ef61d87d8db805bc6796 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 30 Jan 2013 13:17:47 +0200 Subject: fdo#46808, convert xml::xpath::XPathExtension service to new-style Change-Id: Ibdfaa221d33ae405c08bc13aa9ed280b30448772 --- offapi/UnoApi_offapi.mk | 4 +--- offapi/com/sun/star/xml/xpath/XPathExtension.idl | 10 ++++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'offapi') diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 68cd560af255..1ef0fec977ae 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -370,6 +370,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/sax,\ )) $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/xpath,\ XPathAPI \ + XPathExtension \ )) $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/xml/xslt,\ XSLTTransformer \ @@ -1541,9 +1542,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xml/wra XMLDocumentWrapper \ XMLElementWrapper \ )) -$(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xml/xpath,\ - XPathExtension \ -)) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/xsd,\ Boolean \ Date \ diff --git a/offapi/com/sun/star/xml/xpath/XPathExtension.idl b/offapi/com/sun/star/xml/xpath/XPathExtension.idl index f96d07421222..23b95e48ce5e 100644 --- a/offapi/com/sun/star/xml/xpath/XPathExtension.idl +++ b/offapi/com/sun/star/xml/xpath/XPathExtension.idl @@ -20,14 +20,16 @@ #ifndef __com_sun_star_xml_xpath_XPathExtension_idl__ #define __com_sun_star_xml_xpath_XPathExtension_idl__ +#include #include +#include module com { module sun { module star { module xml { module xpath { - service XPathExtension - { - interface XXPathExtension; - }; +service XPathExtension : XXPathExtension +{ + createWithModel([in] com::sun::star::xforms::XModel Model, [in] com::sun::star::xml::dom::XNode ContextNode); +}; };};};};}; #endif -- cgit