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
e3e1bddb
Kaydet (Commit)
e3e1bddb
authored
Şub 07, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename ToolBoxFactory -> ToolBarFactory, as the service is named.
Change-Id: Iec6cbefcb6863f14d6c21b2f7fd8e3418cb5d2d5
üst
289ced40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
Library_fwk.mk
framework/Library_fwk.mk
+2
-2
addonstoolbarfactory.cxx
framework/source/uifactory/addonstoolbarfactory.cxx
+8
-8
toolbarfactory.cxx
framework/source/uifactory/toolbarfactory.cxx
+5
-5
No files found.
framework/Library_fwk.mk
Dosyayı görüntüle @
e3e1bddb
...
...
@@ -157,11 +157,11 @@ $(eval $(call gb_Library_add_exception_objects,fwk,\
framework/source/uielement/toolbarmerger \
framework/source/uielement/toolbarwrapper \
framework/source/uielement/uicommanddescription \
framework/source/uifactory/addonstoolb
ox
factory \
framework/source/uifactory/addonstoolb
ar
factory \
framework/source/uifactory/factoryconfiguration \
framework/source/uifactory/menubarfactory \
framework/source/uifactory/statusbarfactory \
framework/source/uifactory/toolb
ox
factory \
framework/source/uifactory/toolb
ar
factory \
framework/source/uifactory/uicontrollerfactory \
framework/source/uifactory/uielementfactorymanager \
framework/source/uifactory/windowcontentfactorymanager \
...
...
framework/source/uifactory/addonstoolb
ox
factory.cxx
→
framework/source/uifactory/addonstoolb
ar
factory.cxx
Dosyayı görüntüle @
e3e1bddb
...
...
@@ -52,13 +52,13 @@ using namespace framework;
namespace
{
class
AddonsToolB
ox
Factory
:
protected
ThreadHelpBase
,
// Struct for right initalization of mutex member! Must be first of baseclasses.
class
AddonsToolB
ar
Factory
:
protected
ThreadHelpBase
,
// Struct for right initalization of mutex member! Must be first of baseclasses.
public
::
cppu
::
WeakImplHelper2
<
css
::
lang
::
XServiceInfo
,
css
::
ui
::
XUIElementFactory
>
{
public
:
AddonsToolB
ox
Factory
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
virtual
~
AddonsToolB
ox
Factory
();
AddonsToolB
ar
Factory
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
virtual
~
AddonsToolB
ar
Factory
();
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
@@ -91,7 +91,7 @@ private:
css
::
uno
::
Reference
<
css
::
frame
::
XModuleManager2
>
m_xModuleManager
;
};
AddonsToolB
oxFactory
::
AddonsToolBox
Factory
(
AddonsToolB
arFactory
::
AddonsToolBar
Factory
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
)
:
ThreadHelpBase
(
&
Application
::
GetSolarMutex
()
)
,
m_xContext
(
xContext
)
...
...
@@ -99,7 +99,7 @@ AddonsToolBoxFactory::AddonsToolBoxFactory(
{
}
AddonsToolB
oxFactory
::~
AddonsToolBox
Factory
()
AddonsToolB
arFactory
::~
AddonsToolBar
Factory
()
{
}
...
...
@@ -117,7 +117,7 @@ static sal_Bool IsCorrectContext( const OUString& rModuleIdentifier, const OUStr
return
sal_False
;
}
sal_Bool
AddonsToolB
ox
Factory
::
hasButtonsInContext
(
sal_Bool
AddonsToolB
ar
Factory
::
hasButtonsInContext
(
const
Sequence
<
Sequence
<
PropertyValue
>
>&
rPropSeqSeq
,
const
Reference
<
XFrame
>&
rFrame
)
{
...
...
@@ -172,7 +172,7 @@ sal_Bool AddonsToolBoxFactory::hasButtonsInContext(
}
// XUIElementFactory
Reference
<
XUIElement
>
SAL_CALL
AddonsToolB
ox
Factory
::
createUIElement
(
Reference
<
XUIElement
>
SAL_CALL
AddonsToolB
ar
Factory
::
createUIElement
(
const
OUString
&
ResourceURL
,
const
Sequence
<
PropertyValue
>&
Args
)
throw
(
::
com
::
sun
::
star
::
container
::
NoSuchElementException
,
...
...
@@ -234,7 +234,7 @@ com_sun_star_comp_framework_AddonsToolBarFactory_get_implementation(
css
::
uno
::
XComponentContext
*
context
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
return
cppu
::
acquire
(
new
AddonsToolB
ox
Factory
(
context
));
return
cppu
::
acquire
(
new
AddonsToolB
ar
Factory
(
context
));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
framework/source/uifactory/toolb
ox
factory.cxx
→
framework/source/uifactory/toolb
ar
factory.cxx
Dosyayı görüntüle @
e3e1bddb
...
...
@@ -35,10 +35,10 @@ using namespace framework;
namespace
{
class
ToolB
ox
Factory
:
public
MenuBarFactory
class
ToolB
ar
Factory
:
public
MenuBarFactory
{
public
:
ToolB
ox
Factory
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
ToolB
ar
Factory
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
virtual
OUString
SAL_CALL
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
@@ -66,13 +66,13 @@ public:
throw
(
css
::
container
::
NoSuchElementException
,
css
::
lang
::
IllegalArgumentException
,
css
::
uno
::
RuntimeException
);
};
ToolB
oxFactory
::
ToolBox
Factory
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
)
:
ToolB
arFactory
::
ToolBar
Factory
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
)
:
MenuBarFactory
(
xContext
)
{
}
// XUIElementFactory
Reference
<
XUIElement
>
SAL_CALL
ToolB
ox
Factory
::
createUIElement
(
Reference
<
XUIElement
>
SAL_CALL
ToolB
ar
Factory
::
createUIElement
(
const
OUString
&
ResourceURL
,
const
Sequence
<
PropertyValue
>&
Args
)
throw
(
::
com
::
sun
::
star
::
container
::
NoSuchElementException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
...
...
@@ -93,7 +93,7 @@ com_sun_star_comp_framework_ToolBarFactory_get_implementation(
css
::
uno
::
XComponentContext
*
context
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
return
cppu
::
acquire
(
new
ToolB
ox
Factory
(
context
));
return
cppu
::
acquire
(
new
ToolB
ar
Factory
(
context
));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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