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
8984ca20
Kaydet (Commit)
8984ca20
authored
Nis 10, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
flag ScCaptionPtr::setInUndo() in ScUndoReplaceNote
Change-Id: I174be1262074e1fed784806d2f052b36749dff0d
üst
98940fc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
undocell.cxx
sc/source/ui/undo/undocell.cxx
+12
-1
No files found.
sc/source/ui/undo/undocell.cxx
Dosyayı görüntüle @
8984ca20
...
...
@@ -709,7 +709,16 @@ ScUndoReplaceNote::ScUndoReplaceNote( ScDocShell& rDocShell, const ScAddress& rP
mpDrawUndo
(
pDrawUndo
)
{
OSL_ENSURE
(
rNoteData
.
mxCaption
,
"ScUndoReplaceNote::ScUndoReplaceNote - missing note caption"
);
(
bInsert
?
maNewData
:
maOldData
)
=
rNoteData
;
if
(
bInsert
)
{
maNewData
=
rNoteData
;
maNewData
.
mxCaption
.
setInUndo
();
}
else
{
maOldData
=
rNoteData
;
maOldData
.
mxCaption
.
setInUndo
();
}
}
ScUndoReplaceNote
::
ScUndoReplaceNote
(
ScDocShell
&
rDocShell
,
const
ScAddress
&
rPos
,
...
...
@@ -722,6 +731,8 @@ ScUndoReplaceNote::ScUndoReplaceNote( ScDocShell& rDocShell, const ScAddress& rP
{
OSL_ENSURE
(
maOldData
.
mxCaption
||
maNewData
.
mxCaption
,
"ScUndoReplaceNote::ScUndoReplaceNote - missing note captions"
);
OSL_ENSURE
(
!
maOldData
.
mxInitData
.
get
()
&&
!
maNewData
.
mxInitData
.
get
(),
"ScUndoReplaceNote::ScUndoReplaceNote - unexpected unitialized note"
);
maOldData
.
mxCaption
.
setInUndo
();
maNewData
.
mxCaption
.
setInUndo
();
}
ScUndoReplaceNote
::~
ScUndoReplaceNote
()
...
...
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