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
f2ac9fab
Kaydet (Commit)
f2ac9fab
authored
Ara 18, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#68385 update references only if cut originates from the same document
Change-Id: Ia7b27309251cf9e47505c58d8ed0172d134280f4
üst
64c479e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
document.cxx
sc/source/core/data/document.cxx
+10
-5
No files found.
sc/source/core/data/document.cxx
Dosyayı görüntüle @
f2ac9fab
...
@@ -2548,11 +2548,16 @@ void ScDocument::CopyBlockFromClip(
...
@@ -2548,11 +2548,16 @@ void ScDocument::CopyBlockFromClip(
aRefCxt
.
mnTabDelta
=
nDz
;
aRefCxt
.
mnTabDelta
=
nDz
;
if
(
rCxt
.
getClipDoc
()
->
GetClipParam
().
mbCutMode
)
if
(
rCxt
.
getClipDoc
()
->
GetClipParam
().
mbCutMode
)
{
{
bool
bOldInserting
=
IsInsertingFromOtherDoc
();
// Update references only if cut originates from the same
SetInsertingFromOtherDoc
(
true
);
// document we are pasting into.
aRefCxt
.
meMode
=
URM_MOVE
;
if
(
rCxt
.
getClipDoc
()
->
GetPool
()
==
GetPool
())
UpdateReference
(
aRefCxt
,
rCxt
.
getUndoDoc
(),
false
);
{
SetInsertingFromOtherDoc
(
bOldInserting
);
bool
bOldInserting
=
IsInsertingFromOtherDoc
();
SetInsertingFromOtherDoc
(
true
);
aRefCxt
.
meMode
=
URM_MOVE
;
UpdateReference
(
aRefCxt
,
rCxt
.
getUndoDoc
(),
false
);
SetInsertingFromOtherDoc
(
bOldInserting
);
}
}
}
else
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