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
da3d56b0
Kaydet (Commit)
da3d56b0
authored
Mar 09, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
finally turn this into a hard assert
Change-Id: Iba6abafeaa2542fc94b76a642ddb0eb5b70b572d
üst
96175e7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
postit.cxx
sc/source/core/data/postit.cxx
+3
-1
No files found.
sc/source/core/data/postit.cxx
Dosyayı görüntüle @
da3d56b0
...
...
@@ -959,7 +959,9 @@ void ScPostIt::UpdateCaptionPos( const ScAddress& rPos )
void
ScPostIt
::
CreateCaptionFromInitData
(
const
ScAddress
&
rPos
)
const
{
OSL_ENSURE
(
maNoteData
.
mxCaption
||
maNoteData
.
mxInitData
.
get
(),
"ScPostIt::CreateCaptionFromInitData - need caption object or initial caption data"
);
// Captions are not created in Undo documents and only rarely in Clipboard,
// but otherwise we need caption or initial data.
assert
((
maNoteData
.
mxCaption
||
maNoteData
.
mxInitData
.
get
())
||
mrDoc
.
IsUndo
()
||
mrDoc
.
IsClipboard
());
if
(
maNoteData
.
mxInitData
.
get
()
)
{
/* This function is called from ScPostIt::Clone() when copying cells
...
...
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