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
c163d068
Kaydet (Commit)
c163d068
authored
Kas 03, 2014
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Be explicit here when to swap out as a link
Change-Id: I70dd00d5f82c5f4f622805e1d6ee1dfc30900b31
üst
9e68beb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
ndgrf.cxx
sw/source/core/graphic/ndgrf.cxx
+8
-9
No files found.
sw/source/core/graphic/ndgrf.cxx
Dosyayı görüntüle @
c163d068
...
@@ -620,17 +620,16 @@ bool SwGrfNode::SwapOut()
...
@@ -620,17 +620,16 @@ bool SwGrfNode::SwapOut()
maGrfObj
.
GetType
()
!=
GRAPHIC_NONE
&&
maGrfObj
.
GetType
()
!=
GRAPHIC_NONE
&&
!
maGrfObj
.
IsSwappedOut
()
&&
!
bInSwapIn
)
!
maGrfObj
.
IsSwappedOut
()
&&
!
bInSwapIn
)
{
{
if
(
!
refLink
.
Is
()
)
if
(
refLink
.
Is
()
||
HasEmbeddedStreamName
()
)
{
{
// Swapping is only needed for embedded pictures.
// written graphics and links are removed here
// The graphic will be written into a temp file if it is new, i.e.
return
maGrfObj
.
SwapOut
(
GRFMGR_AUTOSWAPSTREAM_LINK
);
// if there is no stream name in the storage yet
if
(
!
HasEmbeddedStreamName
()
)
if
(
!
maGrfObj
.
SwapOut
()
)
return
false
;
}
}
// written graphics and links are removed here
else
return
maGrfObj
.
SwapOut
(
GRFMGR_AUTOSWAPSTREAM_LINK
);
{
return
maGrfObj
.
SwapOut
();
}
}
}
return
true
;
return
true
;
}
}
...
...
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