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
1e95602e
Kaydet (Commit)
1e95602e
authored
Şub 14, 2013
tarafından
Urs Fässler
Kaydeden (comit)
Markus Mohrhard
Şub 14, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Translation of german comment
Change-Id: I2876e33ccfd5dd7b33747d77a4cdaaa03bd01de9
üst
b60ccd4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
WinClipbImpl.cxx
dtrans/source/win32/clipb/WinClipbImpl.cxx
+9
-10
No files found.
dtrans/source/win32/clipb/WinClipbImpl.cxx
Dosyayı görüntüle @
1e95602e
...
@@ -180,16 +180,15 @@ sal_Int8 SAL_CALL CWinClipbImpl::getRenderingCapabilities( ) throw( RuntimeExce
...
@@ -180,16 +180,15 @@ sal_Int8 SAL_CALL CWinClipbImpl::getRenderingCapabilities( ) throw( RuntimeExce
void
SAL_CALL
CWinClipbImpl
::
flushClipboard
(
)
throw
(
RuntimeException
)
void
SAL_CALL
CWinClipbImpl
::
flushClipboard
(
)
throw
(
RuntimeException
)
{
{
// sollte eigentlich hier stehen: ClearableMutexGuard aGuard( m_ClipContentMutex );
// actually it should be ClearableMutexGuard aGuard( m_ClipContentMutex );
// geht aber nicht, da FlushClipboard zurückruft und das DataObject
// but it does not work since FlushClipboard does a callback and frees DataObject
// freigibt und damit würde es einen Deadlock in onReleaseDataObject geben
// which results in a deadlock in onReleaseDataObject.
// FlushClipboard muß synchron sein, damit das runterfahren ggf. erst weitergeht,
// FlushClipboard had to be synchron in order to prevent shutdown until all
// wenn alle Clipboard-Formate gerendert wurden
// clipboard-formats are redered.
// die Abfrage ist nötig, damit nur geflusht wird, wenn wir wirklich Clipboardowner
// The request is needed to prevent flushing if we are not clipboard owner (it is
// sind (ich weiss nicht genau was passiert, wenn man flusht und nicht Clipboard
// not known what happens if we flush but aren't clipoard owner).
// owner ist).
// It may be possible to move the request to the clipboard STA thread by saving the
// eventuell kann man aber die Abfrage in den Clipboard STA Thread verlagern, indem
// DataObject and call OleIsCurrentClipboard bevore flushing.
// man sich dort das DataObject merkt und vor dem flushen OleIsCurrentClipboard ruft
if
(
NULL
!=
m_pCurrentClipContent
)
if
(
NULL
!=
m_pCurrentClipContent
)
m_MtaOleClipboard
.
flushClipboard
(
);
m_MtaOleClipboard
.
flushClipboard
(
);
...
...
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