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
da1d5215
Kaydet (Commit)
da1d5215
authored
Eyl 16, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I16452cc87c48d95466a46e54619e4247742328ff
üst
b9d0dc6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
20 deletions
+13
-20
delayedevent.cxx
svx/source/form/delayedevent.cxx
+2
-2
formcontroller.cxx
svx/source/form/formcontroller.cxx
+4
-11
delayedevent.hxx
svx/source/inc/delayedevent.hxx
+3
-3
formcontroller.hxx
svx/source/inc/formcontroller.hxx
+4
-4
No files found.
svx/source/form/delayedevent.cxx
Dosyayı görüntüle @
da1d5215
...
...
@@ -22,12 +22,12 @@
namespace
svxform
{
void
DelayedEvent
::
Call
(
void
*
_pArg
)
void
DelayedEvent
::
Call
()
{
CancelPendingCall
();
SAL_WARN_IF
(
m_nEventId
!=
0
,
"svx.form"
,
"DelayedEvent::Call: CancelPendingCall did not work!"
);
m_nEventId
=
Application
::
PostUserEvent
(
LINK
(
this
,
DelayedEvent
,
OnCall
),
_pArg
);
m_nEventId
=
Application
::
PostUserEvent
(
LINK
(
this
,
DelayedEvent
,
OnCall
),
nullptr
);
}
void
DelayedEvent
::
CancelPendingCall
()
...
...
svx/source/form/formcontroller.cxx
Dosyayı görüntüle @
da1d5215
...
...
@@ -1435,12 +1435,11 @@ void FormController::toggleAutoFields(bool bAutoFields)
}
IMPL_LINK_NOARG
(
FormController
,
OnToggleAutoFields
)
IMPL_LINK_NOARG
_TYPED
(
FormController
,
OnToggleAutoFields
,
void
*
,
void
)
{
OSL_ENSURE
(
!
impl_isDisposed_nofail
(),
"FormController: already disposed!"
);
toggleAutoFields
(
m_bCurrentRecordNew
);
return
1L
;
}
// XTextListener
...
...
@@ -1757,23 +1756,19 @@ void FormController::focusGained(const FocusEvent& e) throw( RuntimeException, s
}
IMPL_LINK_NOARG
(
FormController
,
OnActivate
d
)
IMPL_LINK_NOARG
_TYPED
(
FormController
,
OnActivated
,
void
*
,
voi
d
)
{
EventObject
aEvent
;
aEvent
.
Source
=
*
this
;
m_aActivateListeners
.
notifyEach
(
&
XFormControllerListener
::
formActivated
,
aEvent
);
return
0L
;
}
IMPL_LINK_NOARG
(
FormController
,
OnDeactivate
d
)
IMPL_LINK_NOARG
_TYPED
(
FormController
,
OnDeactivated
,
void
*
,
voi
d
)
{
EventObject
aEvent
;
aEvent
.
Source
=
*
this
;
m_aActivateListeners
.
notifyEach
(
&
XFormControllerListener
::
formDeactivated
,
aEvent
);
return
0L
;
}
...
...
@@ -2613,7 +2608,7 @@ void FormController::updateAllDispatchers() const
}
IMPL_LINK_NOARG
(
FormController
,
OnLoa
d
)
IMPL_LINK_NOARG
_TYPED
(
FormController
,
OnLoad
,
void
*
,
voi
d
)
{
OSL_ENSURE
(
!
impl_isDisposed_nofail
(),
"FormController: already disposed!"
);
m_bLocked
=
determineLockState
();
...
...
@@ -2626,8 +2621,6 @@ IMPL_LINK_NOARG(FormController, OnLoad)
// just one exception toggle the auto values
if
(
m_bCurrentRecordNew
)
toggleAutoFields
(
true
);
return
1L
;
}
...
...
svx/source/inc/delayedevent.hxx
Dosyayı görüntüle @
da1d5215
...
...
@@ -38,7 +38,7 @@ namespace svxform
class
DelayedEvent
{
public
:
DelayedEvent
(
const
Link
<>&
_rHandler
)
DelayedEvent
(
const
Link
<
void
*
,
void
>&
_rHandler
)
:
m_aHandler
(
_rHandler
)
,
m_nEventId
(
0
)
{
...
...
@@ -53,7 +53,7 @@ namespace svxform
If there's already a call pending, this previous call is cancelled.
*/
void
Call
(
void
*
_pArg
=
NULL
);
void
Call
();
/** cancels a call which is currently pending
...
...
@@ -62,7 +62,7 @@ namespace svxform
void
CancelPendingCall
();
private
:
Link
<>
m_aHandler
;
Link
<
void
*
,
void
>
m_aHandler
;
ImplSVEvent
*
m_nEventId
;
private
:
...
...
svx/source/inc/formcontroller.hxx
Dosyayı görüntüle @
da1d5215
...
...
@@ -564,10 +564,10 @@ namespace svxform
DECL_LINK_TYPED
(
OnActivateTabOrder
,
Idle
*
,
void
);
DECL_LINK_TYPED
(
OnInvalidateFeatures
,
Timer
*
,
void
);
DECL_LINK
(
OnLoad
,
void
*
);
DECL_LINK
(
OnToggleAutoFields
,
void
*
);
DECL_LINK
(
OnActivated
,
void
*
);
DECL_LINK
(
OnDeactivated
,
void
*
);
DECL_LINK
_TYPED
(
OnLoad
,
void
*
,
void
);
DECL_LINK
_TYPED
(
OnToggleAutoFields
,
void
*
,
void
);
DECL_LINK
_TYPED
(
OnActivated
,
void
*
,
void
);
DECL_LINK
_TYPED
(
OnDeactivated
,
void
*
,
void
);
};
}
...
...
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