diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-14 14:19:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-15 08:25:37 +0200 |
commit | be1833cbc497080af531a207f216a4f560c0b9e9 (patch) | |
tree | 405fd5cd58cf4229364c3bce84882f173cbb57b4 /offapi | |
parent | bae42fd6dac1d6fa8330eeede66ec22cddb82311 (diff) |
fdo#46808, Convert singleton theBrowseNodeFactory to new style
Change-Id: I68fa7f5dde1928e895575bc602b54de83279fb7c
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 4 | ||||
-rw-r--r-- | offapi/com/sun/star/script/browse/BrowseNodeFactory.idl | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl | 7 |
3 files changed, 6 insertions, 6 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 79130aa8eea0..b73b86ac9f2a 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -305,6 +305,9 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/script,\ DocumentDialogLibraryContainer \ DocumentScriptLibraryContainer \ )) +$(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/script/browse,\ + theBrowseNodeFactory \ +)) $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/script/provider,\ theMasterScriptProviderFactory \ MasterScriptProviderFactory \ @@ -1030,7 +1033,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/report/ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/script/browse,\ BrowseNode \ BrowseNodeFactory \ - theBrowseNodeFactory \ )) $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,offapi/com/sun/star/script/provider,\ LanguageScriptProvider \ diff --git a/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl b/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl index 72d2cabb112c..a600b6a23b8d 100644 --- a/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl +++ b/offapi/com/sun/star/script/browse/BrowseNodeFactory.idl @@ -28,6 +28,7 @@ module com { module sun { module star { module script { module browse { This service is used to create Root XBrowseNodes. @since OOo 2.0 + @deprecated use the singleton theBrowseNodeFactory */ service BrowseNodeFactory { diff --git a/offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl b/offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl index 9cedab8a83d9..e07cc1157ef5 100644 --- a/offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl +++ b/offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl @@ -20,7 +20,7 @@ #ifndef __com_sun_star_script_browse_theBrowseNodeFactory_idl__ #define __com_sun_star_script_browse_theBrowseNodeFactory_idl__ -#include <com/sun/star/script/browse/BrowseNodeFactory.idl> +#include <com/sun/star/script/browse/XBrowseNodeFactory.idl> module com { module sun { module star { module script { module browse { @@ -34,10 +34,7 @@ module com { module sun { module star { module script { module browse { @since OOo 2.0 */ -singleton theBrowseNodeFactory -{ - service BrowseNodeFactory; -}; +singleton theBrowseNodeFactory : XBrowseNodeFactory; }; }; }; }; }; |