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
ba150afb
Kaydet (Commit)
ba150afb
authored
Nis 22, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update to XDocumentEventBroadcaster et al
Change-Id: I27904a961a30042608ae4facae9772d30b86696b
üst
252b0c43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
titlehelper.cxx
framework/source/fwe/helper/titlehelper.cxx
+4
-4
No files found.
framework/source/fwe/helper/titlehelper.cxx
Dosyayı görüntüle @
ba150afb
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/document/X
Document
EventBroadcaster.hpp>
#include <com/sun/star/beans/XMaterialHolder.hpp>
#include <com/sun/star/beans/XMaterialHolder.hpp>
#include <unotools/configmgr.hxx>
#include <unotools/configmgr.hxx>
...
@@ -166,7 +166,7 @@ void SAL_CALL TitleHelper::titleChanged(const css::frame::TitleChangedEvent& aEv
...
@@ -166,7 +166,7 @@ void SAL_CALL TitleHelper::titleChanged(const css::frame::TitleChangedEvent& aEv
impl_updateTitle
();
impl_updateTitle
();
}
}
void
SAL_CALL
TitleHelper
::
notifyEvent
(
const
css
::
document
::
EventObjec
t
&
aEvent
)
void
SAL_CALL
TitleHelper
::
documentEventOccured
(
const
css
::
document
::
DocumentEven
t
&
aEvent
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
!
aEvent
.
EventName
.
equalsIgnoreAsciiCase
(
"OnSaveAsDone"
)
if
(
!
aEvent
.
EventName
.
equalsIgnoreAsciiCase
(
"OnSaveAsDone"
)
...
@@ -562,11 +562,11 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer&)
...
@@ -562,11 +562,11 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer&)
void
TitleHelper
::
impl_startListeningForModel
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>&
xModel
)
void
TitleHelper
::
impl_startListeningForModel
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>&
xModel
)
{
{
css
::
uno
::
Reference
<
css
::
document
::
XEventBroadcaster
>
xBroadcaster
(
xModel
,
css
::
uno
::
UNO_QUERY
);
css
::
uno
::
Reference
<
css
::
document
::
X
Document
EventBroadcaster
>
xBroadcaster
(
xModel
,
css
::
uno
::
UNO_QUERY
);
if
(
!
xBroadcaster
.
is
())
if
(
!
xBroadcaster
.
is
())
return
;
return
;
xBroadcaster
->
add
EventListener
(
static_cast
<
css
::
document
::
X
EventListener
*
>
(
this
));
xBroadcaster
->
add
DocumentEventListener
(
static_cast
<
css
::
document
::
XDocument
EventListener
*
>
(
this
));
}
}
void
TitleHelper
::
impl_startListeningForController
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XController
>&
xController
)
void
TitleHelper
::
impl_startListeningForController
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XController
>&
xController
)
...
...
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