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
07f3d95b
Kaydet (Commit)
07f3d95b
authored
Mar 31, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: stop vcl::Window clobbering mnRefCnt itself.
Change-Id: If1926c8ecc94c3b9786a3f255371b440c482a155
üst
3072f80c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
lifecycle.cxx
vcl/qa/cppunit/lifecycle.cxx
+1
-2
window.cxx
vcl/source/window/window.cxx
+0
-1
No files found.
vcl/qa/cppunit/lifecycle.cxx
Dosyayı görüntüle @
07f3d95b
...
@@ -68,8 +68,7 @@ void LifecycleTest::testVirtualDevice()
...
@@ -68,8 +68,7 @@ void LifecycleTest::testVirtualDevice()
void
LifecycleTest
::
testMultiDispose
()
void
LifecycleTest
::
testMultiDispose
()
{
{
VclPtrInstance
<
WorkWindow
>
xWin
((
vcl
::
Window
*
)
NULL
,
VclPtrInstance
<
WorkWindow
>
xWin
(
nullptr
,
WB_APP
|
WB_STDWORK
);
WB_APP
|
WB_STDWORK
);
CPPUNIT_ASSERT
(
xWin
.
get
()
!=
NULL
);
CPPUNIT_ASSERT
(
xWin
.
get
()
!=
NULL
);
xWin
->
disposeOnce
();
xWin
->
disposeOnce
();
xWin
->
disposeOnce
();
xWin
->
disposeOnce
();
...
...
vcl/source/window/window.cxx
Dosyayı görüntüle @
07f3d95b
...
@@ -1211,7 +1211,6 @@ void Window::ImplInitAppFontData( vcl::Window* pWindow )
...
@@ -1211,7 +1211,6 @@ void Window::ImplInitAppFontData( vcl::Window* pWindow )
void
Window
::
ImplInitWindowData
(
WindowType
nType
)
void
Window
::
ImplInitWindowData
(
WindowType
nType
)
{
{
mnRefCnt
=
0
;
mpWindowImpl
=
new
WindowImpl
(
nType
);
mpWindowImpl
=
new
WindowImpl
(
nType
);
meOutDevType
=
OUTDEV_WINDOW
;
meOutDevType
=
OUTDEV_WINDOW
;
...
...
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