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
f8069254
Kaydet (Commit)
f8069254
authored
Eki 05, 2010
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor several SolarMutex releaser classes into one
üst
d3acc8e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
filedlghelper.cxx
sfx2/source/dialog/filedlghelper.cxx
+2
-18
No files found.
sfx2/source/dialog/filedlghelper.cxx
Dosyayı görüntüle @
f8069254
...
...
@@ -706,22 +706,6 @@ void FileDialogHelper_Impl::updateVersions()
}
}
// -----------------------------------------------------------------------
class
OReleaseSolarMutex
{
private
:
const
sal_Int32
m_nAquireCount
;
public
:
OReleaseSolarMutex
(
)
:
m_nAquireCount
(
Application
::
ReleaseSolarMutex
()
)
{
}
~
OReleaseSolarMutex
(
)
{
Application
::
AcquireSolarMutex
(
m_nAquireCount
);
}
};
// -----------------------------------------------------------------------
IMPL_LINK
(
FileDialogHelper_Impl
,
TimeOutHdl_Impl
,
Timer
*
,
EMPTYARG
)
{
...
...
@@ -787,7 +771,7 @@ IMPL_LINK( FileDialogHelper_Impl, TimeOutHdl_Impl, Timer*, EMPTYARG )
try
{
OReleaseSolarMutex
aReleaseForCallback
;
SolarMutexReleaser
aReleaseForCallback
;
// clear the preview window
xFilePicker
->
setImage
(
FilePreviewImageFormats
::
BITMAP
,
aAny
);
}
...
...
@@ -1357,7 +1341,7 @@ sal_Int16 FileDialogHelper_Impl::implDoExecute()
#ifdef WNT
if
(
mbSystemPicker
)
{
OReleaseSolarMutex
aSolarMutex
;
SolarMutexReleaser
aSolarMutex
;
nRet
=
mxFileDlg
->
execute
();
}
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