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
0ddd679d
Kaydet (Commit)
0ddd679d
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: Ied0622e633be4696ebafed7ceec6fd0cacb8b9f2
üst
312330f6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
fmpgeimp.cxx
svx/source/form/fmpgeimp.cxx
+1
-1
fmshimp.cxx
svx/source/form/fmshimp.cxx
+2
-3
fmpgeimp.hxx
svx/source/inc/fmpgeimp.hxx
+3
-3
fmshimp.hxx
svx/source/inc/fmshimp.hxx
+2
-1
No files found.
svx/source/form/fmpgeimp.cxx
Dosyayı görüntüle @
0ddd679d
...
...
@@ -316,7 +316,7 @@ const Reference< css::form::XForms >& FmFormPageImpl::getForms( bool _bForceCrea
if
(
m_aFormsCreationHdl
.
IsSet
()
)
{
m_aFormsCreationHdl
.
Call
(
this
);
m_aFormsCreationHdl
.
Call
(
*
this
);
}
FmFormModel
*
pFormsModel
=
PTR_CAST
(
FmFormModel
,
m_rPage
.
GetModel
()
);
...
...
svx/source/form/fmshimp.cxx
Dosyayı görüntüle @
0ddd679d
...
...
@@ -3609,7 +3609,7 @@ void FmXFormShell::viewDeactivated( FmFormView& _rCurrentView, bool _bDeactivate
// remove callbacks at the page
if
(
pPage
)
{
pPage
->
GetImpl
().
SetFormsCreationHdl
(
Link
<>
()
);
pPage
->
GetImpl
().
SetFormsCreationHdl
(
Link
<
FmFormPageImpl
&
,
void
>
()
);
}
UpdateForms
(
true
);
}
...
...
@@ -3635,10 +3635,9 @@ IMPL_LINK_NOARG_TYPED( FmXFormShell, OnFirstTimeActivation, void*, void )
}
IMPL_LINK
(
FmXFormShell
,
OnFormsCreated
,
FmFormPage
*
,
/*_pPage*/
)
IMPL_LINK
_NOARG_TYPED
(
FmXFormShell
,
OnFormsCreated
,
FmFormPageImpl
&
,
void
)
{
UpdateForms
(
true
);
return
0L
;
}
...
...
svx/source/inc/fmpgeimp.hxx
Dosyayı görüntüle @
0ddd679d
...
...
@@ -54,9 +54,9 @@ class SVX_DLLPRIVATE FmFormPageImpl
::
com
::
sun
::
star
::
uno
::
WeakReference
<
::
com
::
sun
::
star
::
container
::
XMap
>
m_aControlShapeMap
;
FmFormPage
&
m_rPage
;
Link
<
>
m_aFormsCreationHdl
;
Link
<
FmFormPageImpl
&
,
void
>
m_aFormsCreationHdl
;
bool
m_bFirstActivation
;
bool
m_bFirstActivation
;
bool
m_bAttemptedFormCreation
;
public
:
...
...
@@ -89,7 +89,7 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
form
::
XForms
>&
getForms
(
bool
_bForceCreate
=
true
);
void
SetFormsCreationHdl
(
const
Link
<>&
_rFormsCreationHdl
)
{
m_aFormsCreationHdl
=
_rFormsCreationHdl
;
}
void
SetFormsCreationHdl
(
const
Link
<
FmFormPageImpl
&
,
void
>&
_rFormsCreationHdl
)
{
m_aFormsCreationHdl
=
_rFormsCreationHdl
;
}
protected
:
/** finds a form with a given data source signature
...
...
svx/source/inc/fmshimp.hxx
Dosyayı görüntüle @
0ddd679d
...
...
@@ -105,6 +105,7 @@ protected:
};
class
FmFormPage
;
class
FmFormPageImpl
;
struct
FmLoadAction
{
...
...
@@ -468,7 +469,7 @@ private:
DECL_DLLPRIVATE_LINK
(
OnSearchContextRequest
,
FmSearchContext
*
);
DECL_DLLPRIVATE_LINK_TYPED
(
OnTimeOut
,
Timer
*
,
void
);
DECL_DLLPRIVATE_LINK_TYPED
(
OnFirstTimeActivation
,
void
*
,
void
);
DECL_DLLPRIVATE_LINK
(
OnFormsCreated
,
FmFormPage
*
);
DECL_DLLPRIVATE_LINK
_TYPED
(
OnFormsCreated
,
FmFormPageImpl
&
,
void
);
SAL_DLLPRIVATE
void
LoopGrids
(
LoopGridsSync
nSync
,
LoopGridsFlags
nWhat
=
LoopGridsFlags
::
NONE
);
...
...
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