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
2b1772c5
Kaydet (Commit)
2b1772c5
authored
Mar 17, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add missing disposeAndClear pieces for VclMEdit
Also correct dispose ordering in dbaccess.
üst
6d0c8912
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
AppDetailPageHelper.cxx
dbaccess/source/ui/app/AppDetailPageHelper.cxx
+6
-5
viewfrm.cxx
sfx2/source/view/viewfrm.cxx
+2
-1
vclmedit.cxx
vcl/source/edit/vclmedit.cxx
+9
-4
No files found.
dbaccess/source/ui/app/AppDetailPageHelper.cxx
Dosyayı görüntüle @
2b1772c5
...
...
@@ -252,13 +252,14 @@ void OAppDetailPageHelper::dispose()
m_pLists
[
i
].
disposeAndClear
();
}
}
m_aFL
.
disposeAndClear
();
m_aTBPreview
.
disposeAndClear
();
m_aPreview
.
disposeAndClear
();
m_aDocumentInfo
.
disposeAndClear
();
m_aMenu
.
reset
();
m_pTablePreview
.
disposeAndClear
();
m_aDocumentInfo
.
disposeAndClear
();
m_aPreview
.
disposeAndClear
();
m_aBorder
.
disposeAndClear
();
m_aMenu
.
reset
();
m_aTBPreview
.
disposeAndClear
();
m_aFL
.
disposeAndClear
();
vcl
::
Window
::
dispose
();
}
...
...
sfx2/source/view/viewfrm.cxx
Dosyayı görüntüle @
2b1772c5
...
...
@@ -1489,7 +1489,8 @@ SfxViewFrame::~SfxViewFrame()
// The Bindings delete the Frame!
KillDispatcher_Impl
();
pImp
->
pWindow
.
clear
();
pImp
->
pWindow
.
disposeAndClear
();
pImp
->
pFocusWin
.
clear
();
if
(
GetFrame
().
GetCurrentViewFrame
()
==
this
)
GetFrame
().
SetCurrentViewFrame_Impl
(
NULL
);
...
...
vcl/source/edit/vclmedit.cxx
Dosyayı görüntüle @
2b1772c5
...
...
@@ -255,6 +255,11 @@ void ImpVclMEdit::InitFromStyle( WinBits nWinStyle )
ImpVclMEdit
::~
ImpVclMEdit
()
{
EndListening
(
*
mpTextWindow
->
GetTextEngine
()
);
mpScrollBox
.
disposeAndClear
();
mpVScrollBar
.
disposeAndClear
();
mpHScrollBar
.
disposeAndClear
();
mpTextWindow
.
disposeAndClear
();
pVclMultiLineEdit
.
disposeAndClear
();
}
void
ImpVclMEdit
::
ImpSetScrollBarRanges
()
...
...
@@ -1153,17 +1158,17 @@ void VclMultiLineEdit::SetText( const OUString& rStr )
OUString
VclMultiLineEdit
::
GetText
()
const
{
return
pImpVclMEdit
->
GetText
(
);
return
pImpVclMEdit
?
pImpVclMEdit
->
GetText
()
:
OUString
(
""
);
}
OUString
VclMultiLineEdit
::
GetText
(
LineEnd
aSeparator
)
const
{
return
pImpVclMEdit
->
GetText
(
aSeparator
);
return
pImpVclMEdit
?
pImpVclMEdit
->
GetText
(
aSeparator
)
:
OUString
(
""
);
}
OUString
VclMultiLineEdit
::
GetTextLines
(
LineEnd
aSeparator
)
const
OUString
VclMultiLineEdit
::
GetTextLines
(
LineEnd
aSeparator
)
const
{
return
pImpVclMEdit
->
GetTextLines
(
aSeparator
);
return
pImpVclMEdit
?
pImpVclMEdit
->
GetTextLines
(
aSeparator
)
:
OUString
(
""
);
}
void
VclMultiLineEdit
::
Resize
()
...
...
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