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
6532cb0e
Kaydet (Commit)
6532cb0e
authored
Eyl 11, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ImplCallEventListeners and FireVclEvent can take references
Change-Id: Ibfb5ae40edd0db1f6b99bd5178d4d871ede37d7d
üst
bcb5756c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
svapp.hxx
include/vcl/svapp.hxx
+1
-1
window.hxx
include/vcl/window.hxx
+1
-1
checklistmenu.cxx
sc/source/ui/cctrl/checklistmenu.cxx
+1
-1
svapp.cxx
vcl/source/app/svapp.cxx
+2
-2
event.cxx
vcl/source/window/event.cxx
+3
-3
menu.cxx
vcl/source/window/menu.cxx
+1
-1
No files found.
include/vcl/svapp.hxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -804,7 +804,7 @@ public:
@see ImplCallEventListeners(sal_uLong nEvent, Windows* pWin, void* pData);
*/
static
void
ImplCallEventListeners
(
VclSimpleEvent
*
p
Event
);
static
void
ImplCallEventListeners
(
VclSimpleEvent
&
r
Event
);
/** Handle keypress event
...
...
include/vcl/window.hxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -800,7 +800,7 @@ protected:
void
SetCompoundControl
(
bool
bCompound
);
void
CallEventListeners
(
sal_uLong
nEvent
,
void
*
pData
=
NULL
);
static
void
FireVclEvent
(
VclSimpleEvent
*
p
Event
);
static
void
FireVclEvent
(
VclSimpleEvent
&
r
Event
);
virtual
bool
AcquireGraphics
()
const
SAL_OVERRIDE
;
virtual
void
ReleaseGraphics
(
bool
bRelease
=
true
)
SAL_OVERRIDE
;
...
...
sc/source/ui/cctrl/checklistmenu.cxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -779,7 +779,7 @@ void ScMenuFloatingWindow::fireMenuHighlightedEvent()
return
;
VclAccessibleEvent
aEvent
(
VCLEVENT_MENU_HIGHLIGHT
,
xAccMenu
);
FireVclEvent
(
&
aEvent
);
FireVclEvent
(
aEvent
);
}
void
ScMenuFloatingWindow
::
setSubMenuFocused
(
ScMenuFloatingWindow
*
pSubMenu
)
...
...
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -665,12 +665,12 @@ void Application::ImplCallEventListeners( sal_uLong nEvent, vcl::Window *pWin, v
pSVData
->
maAppData
.
mpEventListeners
->
Call
(
&
aEvent
);
}
void
Application
::
ImplCallEventListeners
(
VclSimpleEvent
*
p
Event
)
void
Application
::
ImplCallEventListeners
(
VclSimpleEvent
&
r
Event
)
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
if
(
pSVData
->
maAppData
.
mpEventListeners
)
pSVData
->
maAppData
.
mpEventListeners
->
Call
(
p
Event
);
pSVData
->
maAppData
.
mpEventListeners
->
Call
(
&
r
Event
);
}
void
Application
::
AddEventListener
(
const
Link
<>&
rEventListener
)
...
...
vcl/source/window/event.cxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -206,7 +206,7 @@ void Window::CallEventListeners( sal_uLong nEvent, void* pData )
ImplDelData
aDelData
;
ImplAddDel
(
&
aDelData
);
Application
::
ImplCallEventListeners
(
&
aEvent
);
Application
::
ImplCallEventListeners
(
aEvent
);
if
(
aDelData
.
IsDead
()
)
return
;
...
...
@@ -237,9 +237,9 @@ void Window::CallEventListeners( sal_uLong nEvent, void* pData )
}
}
void
Window
::
FireVclEvent
(
VclSimpleEvent
*
p
Event
)
void
Window
::
FireVclEvent
(
VclSimpleEvent
&
r
Event
)
{
Application
::
ImplCallEventListeners
(
p
Event
);
Application
::
ImplCallEventListeners
(
r
Event
);
}
void
Window
::
AddEventListener
(
const
Link
<>&
rEventListener
)
...
...
vcl/source/window/menu.cxx
Dosyayı görüntüle @
6532cb0e
...
...
@@ -336,7 +336,7 @@ void Menu::ImplCallEventListeners( sal_uLong nEvent, sal_uInt16 nPos )
// This is needed by atk accessibility bridge
if
(
nEvent
==
VCLEVENT_MENU_HIGHLIGHT
)
{
Application
::
ImplCallEventListeners
(
&
aEvent
);
Application
::
ImplCallEventListeners
(
aEvent
);
}
if
(
!
aDelData
.
isDeleted
()
)
...
...
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