summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-14 14:19:58 +0200
committerNoel Grandin <noel@peralex.com>2013-05-15 08:25:37 +0200
commitbe1833cbc497080af531a207f216a4f560c0b9e9 (patch)
tree405fd5cd58cf4229364c3bce84882f173cbb57b4 /offapi
parentbae42fd6dac1d6fa8330eeede66ec22cddb82311 (diff)
fdo#46808, Convert singleton theBrowseNodeFactory to new style
Change-Id: I68fa7f5dde1928e895575bc602b54de83279fb7c
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk4
-rw-r--r--offapi/com/sun/star/script/browse/BrowseNodeFactory.idl1
-rw-r--r--offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl7
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;
}; }; }; }; };