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
1640c883
Kaydet (Commit)
1640c883
authored
Agu 23, 2011
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make sure dialog api object is reset when window is closed ( but not vetoed )
üst
afb08928
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sbxmod.cxx
basic/source/classes/sbxmod.cxx
+9
-0
No files found.
basic/source/classes/sbxmod.cxx
Dosyayı görüntüle @
1640c883
...
@@ -2395,6 +2395,14 @@ public:
...
@@ -2395,6 +2395,14 @@ public:
mpUserForm
->
triggerMethod
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Userform_QueryClose"
)
),
mpUserForm
->
triggerMethod
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Userform_QueryClose"
)
),
aParams
);
aParams
);
xVbaMethodParameter
->
setVbaMethodParameter
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Cancel"
)),
aParams
[
0
]);
xVbaMethodParameter
->
setVbaMethodParameter
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Cancel"
)),
aParams
[
0
]);
// If we don't cancel then we want to make sure the dialog
// really is gone to make sure when we attempt to raise it again
// it will actually generate an initialise event
if
(
!
nCancel
)
{
removeListener
();
// presumably we need to do this
mpUserForm
->
ResetApiObj
();
}
return
;
return
;
}
}
...
@@ -2497,6 +2505,7 @@ SbUserFormModule::~SbUserFormModule()
...
@@ -2497,6 +2505,7 @@ SbUserFormModule::~SbUserFormModule()
void
SbUserFormModule
::
ResetApiObj
(
bool
bTriggerTerminateEvent
)
void
SbUserFormModule
::
ResetApiObj
(
bool
bTriggerTerminateEvent
)
{
{
OSL_TRACE
(
" SbUserFormModule::ResetApiObj( %s )"
,
bTriggerTerminateEvent
?
"true"
:
"false"
);
if
(
bTriggerTerminateEvent
&&
m_xDialog
.
is
()
)
// probably someone close the dialog window
if
(
bTriggerTerminateEvent
&&
m_xDialog
.
is
()
)
// probably someone close the dialog window
{
{
triggerTerminateEvent
();
triggerTerminateEvent
();
...
...
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