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
7baf4988
Kaydet (Commit)
7baf4988
authored
Mar 08, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: 'nAcquire' may be used uninitialized in this function
Or, the joys of using setjmp/longjmp...
üst
8d6afe4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
salprn.cxx
vcl/win/source/gdi/salprn.cxx
+2
-3
No files found.
vcl/win/source/gdi/salprn.cxx
Dosyayı görüntüle @
7baf4988
...
@@ -1701,14 +1701,13 @@ sal_Bool WinSalPrinter::EndJob()
...
@@ -1701,14 +1701,13 @@ sal_Bool WinSalPrinter::EndJob()
// it should be safe to release the yield mutex over the EndDoc
// it should be safe to release the yield mutex over the EndDoc
// call, however the real solution is supposed to be the threading
// call, however the real solution is supposed to be the threading
// framework yet to come.
// framework yet to come.
SalData
*
pSalData
=
GetSalData
();
volatile
sal_uLong
nAcquire
=
GetSalData
()
->
mpFirstInstance
->
ReleaseYieldMutex
();
sal_uLong
nAcquire
=
pSalData
->
mpFirstInstance
->
ReleaseYieldMutex
();
CATCH_DRIVER_EX_BEGIN
;
CATCH_DRIVER_EX_BEGIN
;
if
(
::
EndDoc
(
hDC
)
<=
0
)
if
(
::
EndDoc
(
hDC
)
<=
0
)
GetLastError
();
GetLastError
();
CATCH_DRIVER_EX_END
(
"exception in EndDoc"
,
this
);
CATCH_DRIVER_EX_END
(
"exception in EndDoc"
,
this
);
pSalData
->
mpFirstInstance
->
AcquireYieldMutex
(
nAcquire
);
GetSalData
()
->
mpFirstInstance
->
AcquireYieldMutex
(
nAcquire
);
DeleteDC
(
hDC
);
DeleteDC
(
hDC
);
mhDC
=
0
;
mhDC
=
0
;
}
}
...
...
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