Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
be1833cb
Kaydet (Commit)
be1833cb
authored
May 14, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#46808, Convert singleton theBrowseNodeFactory to new style
Change-Id: I68fa7f5dde1928e895575bc602b54de83279fb7c
üst
bae42fd6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
15 deletions
+12
-15
cfgutil.cxx
cui/source/customize/cfgutil.cxx
+2
-3
selector.cxx
cui/source/customize/selector.cxx
+2
-2
scriptdlg.cxx
cui/source/dialogs/scriptdlg.cxx
+2
-4
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+3
-1
BrowseNodeFactory.idl
offapi/com/sun/star/script/browse/BrowseNodeFactory.idl
+1
-0
theBrowseNodeFactory.idl
offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl
+2
-5
No files found.
cui/source/customize/cfgutil.cxx
Dosyayı görüntüle @
be1833cb
...
...
@@ -29,7 +29,7 @@
#include <com/sun/star/frame/XDispatchInformationProvider.hpp>
#include <com/sun/star/script/browse/XBrowseNode.hpp>
#include <com/sun/star/script/browse/BrowseNodeTypes.hpp>
#include <com/sun/star/script/browse/
X
BrowseNodeFactory.hpp>
#include <com/sun/star/script/browse/
the
BrowseNodeFactory.hpp>
#include <com/sun/star/script/browse/BrowseNodeFactoryViewTypes.hpp>
#include <com/sun/star/script/provider/XScriptProviderSupplier.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp>
...
...
@@ -567,8 +567,7 @@ void SfxConfigGroupListBox_Impl::Init(const css::uno::Reference< css::uno::XComp
comphelper
::
getProcessComponentContext
()
);
try
{
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
(
xCtx
->
getValueByName
(
OUString
(
"/singletons/com.sun.star.script.browse.theBrowseNodeFactory"
)
),
UNO_QUERY_THROW
);
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
=
browse
::
theBrowseNodeFactory
::
get
(
xCtx
);
rootNode
.
set
(
xFac
->
createView
(
browse
::
BrowseNodeFactoryViewTypes
::
MACROSELECTOR
)
);
}
catch
(
Exception
&
e
)
...
...
cui/source/customize/selector.cxx
Dosyayı görüntüle @
be1833cb
...
...
@@ -49,6 +49,7 @@
#include <com/sun/star/frame/UICommandDescription.hpp>
#include <com/sun/star/script/provider/XScriptProviderSupplier.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp>
#include <com/sun/star/script/browse/theBrowseNodeFactory.hpp>
#include <com/sun/star/script/browse/XBrowseNode.hpp>
#include <com/sun/star/script/browse/BrowseNodeTypes.hpp>
#include <com/sun/star/script/browse/XBrowseNodeFactory.hpp>
...
...
@@ -484,8 +485,7 @@ void SvxConfigGroupListBox::Init(bool bShowSlots, const Reference< frame::XFrame
try
{
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
(
xContext
->
getValueByName
(
OUString
(
"/singletons/com.sun.star.script.browse.theBrowseNodeFactory"
)
),
UNO_QUERY_THROW
);
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
=
browse
::
theBrowseNodeFactory
::
get
(
xContext
);
rootNode
.
set
(
xFac
->
createView
(
browse
::
BrowseNodeFactoryViewTypes
::
MACROSELECTOR
)
);
}
catch
(
const
Exception
&
)
...
...
cui/source/dialogs/scriptdlg.cxx
Dosyayı görüntüle @
be1833cb
...
...
@@ -37,6 +37,7 @@
#include <com/sun/star/script/browse/BrowseNodeTypes.hpp>
#include <com/sun/star/script/browse/XBrowseNodeFactory.hpp>
#include <com/sun/star/script/browse/BrowseNodeFactoryViewTypes.hpp>
#include <com/sun/star/script/browse/theBrowseNodeFactory.hpp>
#include <com/sun/star/script/provider/ScriptErrorRaisedException.hpp>
#include <com/sun/star/script/provider/ScriptExceptionRaisedException.hpp>
#include <com/sun/star/script/provider/ScriptFrameworkErrorType.hpp>
...
...
@@ -166,12 +167,9 @@ void SFTreeListBox::Init( const OUString& language )
OUString
userStr
(
"user"
);
OUString
shareStr
(
"share"
);
OUString
singleton
(
"/singletons/com.sun.star.script.browse.theBrowseNodeFactory"
);
try
{
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
(
xCtx
->
getValueByName
(
singleton
),
UNO_QUERY_THROW
);
Reference
<
browse
::
XBrowseNodeFactory
>
xFac
=
browse
::
theBrowseNodeFactory
::
get
(
xCtx
);
rootNode
.
set
(
xFac
->
createView
(
browse
::
BrowseNodeFactoryViewTypes
::
MACROORGANIZER
)
);
...
...
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
be1833cb
...
...
@@ -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 \
...
...
offapi/com/sun/star/script/browse/BrowseNodeFactory.idl
Dosyayı görüntüle @
be1833cb
...
...
@@ -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
{
...
...
offapi/com/sun/star/script/browse/theBrowseNodeFactory.idl
Dosyayı görüntüle @
be1833cb
...
...
@@ -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
/
X
BrowseNodeFactory
.
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
;
}
; }; }; }; };
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment