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
f5121149
Kaydet (Commit)
f5121149
authored
Haz 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use ImplInheritanceHelper
Change-Id: I259bf6012684e393765cfd73e813bcf2875abd5f
üst
860f543c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
34 deletions
+8
-34
tbxctrl.hxx
include/sfx2/tbxctrl.hxx
+8
-13
tbxitem.cxx
sfx2/source/toolbox/tbxitem.cxx
+0
-21
No files found.
include/sfx2/tbxctrl.hxx
Dosyayı görüntüle @
f5121149
...
...
@@ -178,10 +178,9 @@ public:
struct
SfxToolBoxControl_Impl
;
class
SFX2_DLLPUBLIC
SfxToolBoxControl
:
public
::
com
::
sun
::
star
::
awt
::
XDockableWindowListener
,
public
::
com
::
sun
::
star
::
frame
::
XSubToolbarController
,
public
svt
::
ToolboxController
public
cppu
::
ImplInheritanceHelper2
<
svt
::
ToolboxController
,
css
::
awt
::
XDockableWindowListener
,
css
::
frame
::
XSubToolbarController
>
{
friend
class
SfxToolbox
;
friend
class
SfxPopupWindow
;
...
...
@@ -207,11 +206,12 @@ protected:
// Must be called by subclass to set a new popup window instance
void
SetPopupWindow
(
SfxPopupWindow
*
pWindow
);
//
XInterface
v
irtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
acquire
()
throw
()
SAL_OVERRIDE
;
virtual
void
SAL_CALL
release
()
throw
()
SAL_OVERRIDE
;
//
helper methods
v
oid
createAndPositionSubToolBar
(
const
OUString
&
rSubToolBarResName
)
;
::
Size
getPersistentFloatingSize
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xFrame
,
const
OUString
&
rSubToolBarResName
)
;
bool
hasBigImages
()
const
;
public
:
// XEventListener
using
::
cppu
::
OPropertySetHelper
::
disposing
;
virtual
void
SAL_CALL
disposing
(
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
@@ -251,11 +251,6 @@ protected:
virtual
void
SAL_CALL
closed
(
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
e
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
endPopupMode
(
const
::
com
::
sun
::
star
::
awt
::
EndPopupModeEvent
&
e
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// helper methods
void
createAndPositionSubToolBar
(
const
OUString
&
rSubToolBarResName
);
::
Size
getPersistentFloatingSize
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xFrame
,
const
OUString
&
rSubToolBarResName
);
bool
hasBigImages
()
const
;
public
:
SFX_DECL_TOOLBOX_CONTROL
();
...
...
sfx2/source/toolbox/tbxitem.cxx
Dosyayı görüntüle @
f5121149
...
...
@@ -224,7 +224,6 @@ SfxToolBoxControl::SfxToolBoxControl(
sal_uInt16
nID
,
ToolBox
&
rBox
,
bool
bShowStringItems
)
:
svt
::
ToolboxController
()
{
pImpl
=
new
SfxToolBoxControl_Impl
;
...
...
@@ -459,26 +458,6 @@ void SfxToolBoxControl::Dispatch( const OUString& aCommand, ::com::sun::star::un
}
}
// XInterface
Any
SAL_CALL
SfxToolBoxControl
::
queryInterface
(
const
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
::
com
::
sun
::
star
::
uno
::
Any
aRet
=
::
cppu
::
queryInterface
(
rType
,
(
static_cast
<
::
com
::
sun
::
star
::
awt
::
XDockableWindowListener
*
>
(
this
)),
(
static_cast
<
::
com
::
sun
::
star
::
frame
::
XSubToolbarController
*
>
(
this
)));
return
(
aRet
.
hasValue
()
?
aRet
:
svt
::
ToolboxController
::
queryInterface
(
rType
));
}
void
SAL_CALL
SfxToolBoxControl
::
acquire
()
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
SfxToolBoxControl
::
release
()
throw
()
{
OWeakObject
::
release
();
}
void
SAL_CALL
SfxToolBoxControl
::
disposing
(
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
...
...
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