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
d9809a2f
Kaydet (Commit)
d9809a2f
authored
Kas 22, 2014
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dead assign (clang)
Change-Id: I567d5d40642a50ab1a4690df874daffdd17506d3
üst
2f8ea459
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
DocumentContentOperationsManager.cxx
sw/source/core/doc/DocumentContentOperationsManager.cxx
+2
-5
No files found.
sw/source/core/doc/DocumentContentOperationsManager.cxx
Dosyayı görüntüle @
d9809a2f
...
@@ -3374,7 +3374,6 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
...
@@ -3374,7 +3374,6 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
aAnchor
.
SetAnchor
(
&
newPos
);
aAnchor
.
SetAnchor
(
&
newPos
);
// Check recursion: copy content in its own frame, then don't copy it.
// Check recursion: copy content in its own frame, then don't copy it.
bool
bMakeCpy
=
true
;
if
(
pDest
==
&
m_rDoc
)
if
(
pDest
==
&
m_rDoc
)
{
{
const
SwFmtCntnt
&
rCntnt
=
(
*
it
).
GetFmt
()
->
GetCntnt
();
const
SwFmtCntnt
&
rCntnt
=
(
*
it
).
GetFmt
()
->
GetCntnt
();
...
@@ -3384,16 +3383,14 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
...
@@ -3384,16 +3383,14 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
pSNd
->
GetIndex
()
<
rStartIdx
.
GetIndex
()
&&
pSNd
->
GetIndex
()
<
rStartIdx
.
GetIndex
()
&&
rStartIdx
.
GetIndex
()
<
pSNd
->
EndOfSectionIndex
()
)
rStartIdx
.
GetIndex
()
<
pSNd
->
EndOfSectionIndex
()
)
{
{
bMakeCpy
=
false
;
aSet
.
erase
(
it
++
);
aSet
.
erase
(
it
++
);
continue
;
continue
;
}
}
}
}
// Copy the format and set the new anchor
// Copy the format and set the new anchor
if
(
bMakeCpy
)
aVecSwFrmFmt
.
push_back
(
pDest
->
getIDocumentLayoutAccess
().
CopyLayoutFmt
(
*
(
*
it
).
GetFmt
(),
aVecSwFrmFmt
.
push_back
(
pDest
->
getIDocumentLayoutAccess
().
CopyLayoutFmt
(
*
(
*
it
).
GetFmt
(),
aAnchor
,
false
,
true
)
);
aAnchor
,
false
,
true
)
);
++
it
;
++
it
;
}
}
...
...
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