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
18a5f8a2
Kaydet (Commit)
18a5f8a2
authored
Tem 03, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert framework::StatusBarManager to WeakImplHelper
Change-Id: I25cc72536d8832d93d6832591bdba25ac0654ee3
üst
fe4e2689
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
31 deletions
+7
-31
statusbarmanager.hxx
framework/inc/uielement/statusbarmanager.hxx
+7
-11
statusbarmanager.cxx
framework/source/uielement/statusbarmanager.cxx
+0
-20
No files found.
framework/inc/uielement/statusbarmanager.hxx
Dosyayı görüntüle @
18a5f8a2
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <rtl/ustring.hxx>
#include <rtl/ustring.hxx>
#include <cppuhelper/
weak
.hxx>
#include <cppuhelper/
implbase3
.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <vcl/status.hxx>
#include <vcl/status.hxx>
#include <map>
#include <map>
...
@@ -44,12 +44,12 @@ namespace framework
...
@@ -44,12 +44,12 @@ namespace framework
{
{
class
FrameworkStatusBar
;
class
FrameworkStatusBar
;
class
StatusBarManager
:
public
::
com
::
sun
::
star
::
frame
::
XFrameActionListener
,
class
StatusBarManager
:
public
ThreadHelpBase
,
public
::
c
om
::
sun
::
star
::
lang
::
XComponent
,
public
::
c
ppu
::
WeakImplHelper3
<
public
::
com
::
sun
::
star
::
lang
::
XTypeProvider
,
css
::
frame
::
XFrameActionListener
,
public
::
com
::
sun
::
star
::
ui
::
XUIConfigurationListener
,
css
::
lang
::
XComponent
,
public
ThreadHelpBase
,
css
::
ui
::
XUIConfigurationListener
>
public
::
cppu
::
OWeakObject
{
{
friend
class
FrameworkStatusBar
;
friend
class
FrameworkStatusBar
;
...
@@ -60,10 +60,6 @@ class StatusBarManager : public ::com::sun::star::frame::XFrameActionListener
...
@@ -60,10 +60,6 @@ class StatusBarManager : public ::com::sun::star::frame::XFrameActionListener
StatusBar
*
pStatusBar
);
StatusBar
*
pStatusBar
);
virtual
~
StatusBarManager
();
virtual
~
StatusBarManager
();
// XInterface, XTypeProvider, XServiceInfo
FWK_DECLARE_XINTERFACE
FWK_DECLARE_XTYPEPROVIDER
StatusBar
*
GetStatusBar
()
const
;
StatusBar
*
GetStatusBar
()
const
;
// XFrameActionListener
// XFrameActionListener
...
...
framework/source/uielement/statusbarmanager.cxx
Dosyayı görüntüle @
18a5f8a2
...
@@ -130,25 +130,6 @@ static sal_uInt16 impl_convertItemStyleToItemBits( sal_Int16 nStyle )
...
@@ -130,25 +130,6 @@ static sal_uInt16 impl_convertItemStyleToItemBits( sal_Int16 nStyle )
}
}
}
}
//*****************************************************************************************************************
// XInterface, XTypeProvider, XServiceInfo
//*****************************************************************************************************************
DEFINE_XINTERFACE_5
(
StatusBarManager
,
::
cppu
::
OWeakObject
,
DIRECT_INTERFACE
(
lang
::
XTypeProvider
),
DIRECT_INTERFACE
(
lang
::
XComponent
),
DIRECT_INTERFACE
(
frame
::
XFrameActionListener
),
DIRECT_INTERFACE
(
css
::
ui
::
XUIConfigurationListener
),
DERIVED_INTERFACE
(
lang
::
XEventListener
,
frame
::
XFrameActionListener
)
)
DEFINE_XTYPEPROVIDER_5
(
StatusBarManager
,
lang
::
XTypeProvider
,
lang
::
XComponent
,
css
::
ui
::
XUIConfigurationListener
,
frame
::
XFrameActionListener
,
lang
::
XEventListener
)
StatusBarManager
::
StatusBarManager
(
StatusBarManager
::
StatusBarManager
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
...
@@ -156,7 +137,6 @@ StatusBarManager::StatusBarManager(
...
@@ -156,7 +137,6 @@ StatusBarManager::StatusBarManager(
const
OUString
&
rResourceName
,
const
OUString
&
rResourceName
,
StatusBar
*
pStatusBar
)
:
StatusBar
*
pStatusBar
)
:
ThreadHelpBase
(
&
Application
::
GetSolarMutex
()
),
ThreadHelpBase
(
&
Application
::
GetSolarMutex
()
),
OWeakObject
(),
m_bDisposed
(
sal_False
),
m_bDisposed
(
sal_False
),
m_bFrameActionRegistered
(
sal_False
),
m_bFrameActionRegistered
(
sal_False
),
m_bUpdateControllers
(
sal_False
),
m_bUpdateControllers
(
sal_False
),
...
...
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