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
e221ed62
Kaydet (Commit)
e221ed62
authored
Haz 24, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#92258 - fix crash editing macro module name.
Change-Id: I8e0bbab7d7497ed7c136ddbfba73618834d5a204
üst
8ab43aed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
basidesh.cxx
basctl/source/basicide/basidesh.cxx
+5
-3
No files found.
basctl/source/basicide/basidesh.cxx
Dosyayı görüntüle @
e221ed62
...
...
@@ -118,9 +118,9 @@ public:
virtual
void
SAL_CALL
elementRemoved
(
const
container
::
ContainerEvent
&
Event
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
OUString
sModuleName
;
if
(
mpShell
&&
(
Event
.
Accessor
>>=
sModuleName
)
)
if
(
mpShell
&&
(
Event
.
Accessor
>>=
sModuleName
)
)
{
ModulWindow
*
pWin
=
mpShell
->
FindBasWin
(
mpShell
->
m_aCurDocument
,
mpShell
->
m_aCurLibName
,
sModuleName
,
false
,
true
);
VclPtr
<
ModulWindow
>
pWin
=
mpShell
->
FindBasWin
(
mpShell
->
m_aCurDocument
,
mpShell
->
m_aCurLibName
,
sModuleName
,
false
,
true
);
if
(
pWin
)
mpShell
->
RemoveWindow
(
pWin
,
true
,
true
);
}
...
...
@@ -799,6 +799,8 @@ void Shell::UpdateWindows()
void
Shell
::
RemoveWindow
(
BaseWindow
*
pWindow_
,
bool
bDestroy
,
bool
bAllowChangeCurWindow
)
{
VclPtr
<
BaseWindow
>
pWindowTmp
(
pWindow_
);
DBG_ASSERT
(
pWindow_
,
"Kann keinen NULL-Pointer loeschen!"
);
sal_uLong
nKey
=
GetWindowId
(
pWindow_
);
pTabBar
->
RemovePage
(
(
sal_uInt16
)
nKey
);
...
...
@@ -818,7 +820,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
{
if
(
!
(
pWindow_
->
GetStatus
()
&
BASWIN_INRESCHEDULE
)
)
{
pWindow
_
->
disposeOnce
();
pWindow
Tmp
.
disposeAndClear
();
}
else
{
...
...
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