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
a547b255
Kaydet (Commit)
a547b255
authored
Ara 08, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmloff: convert some DBG_ASSERT in txtparae.cxx
Change-Id: I7b53726e3bb16ff1d9a6cdb05ce4cf4273eb5ac4
üst
96ec36cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
txtparae.cxx
xmloff/source/text/txtparae.cxx
+6
-8
No files found.
xmloff/source/text/txtparae.cxx
Dosyayı görüntüle @
a547b255
...
...
@@ -2525,9 +2525,8 @@ void XMLTextParagraphExport::exportTextMark(
}
// export element
DBG_ASSERT
(
pElements
!=
nullptr
,
"illegal element array"
);
DBG_ASSERT
(
nElement
>=
0
,
"illegal element number"
);
DBG_ASSERT
(
nElement
<=
2
,
"illegal element number"
);
assert
(
pElements
!=
nullptr
);
assert
(
0
<=
nElement
&&
nElement
<=
2
);
SvXMLElementExport
aElem
(
GetExport
(),
XML_NAMESPACE_TEXT
,
pElements
[
nElement
],
false
,
false
);
...
...
@@ -3647,7 +3646,7 @@ void XMLTextParagraphExport::exportRuby(
// ruby start
// we can only start a ruby if none is open
DBG_ASSERT
(
!
bOpenRuby
,
"Can't open a ruby inside of ruby!"
);
assert
(
!
bOpenRuby
&&
"Can't open a ruby inside of ruby!"
);
if
(
bOpenRuby
)
return
;
...
...
@@ -3657,9 +3656,8 @@ void XMLTextParagraphExport::exportRuby(
// ruby style
GetExport
().
CheckAttrList
();
OUString
sStyleName
(
Find
(
XML_STYLE_FAMILY_TEXT_RUBY
,
rPropSet
,
""
));
DBG_ASSERT
(
!
sStyleName
.
isEmpty
(),
"I can't find the style!"
);
OUString
sStyleName
(
Find
(
XML_STYLE_FAMILY_TEXT_RUBY
,
rPropSet
,
""
));
SAL_WARN_IF
(
sStyleName
.
isEmpty
(),
"xmloff"
,
"Can't find ruby style!"
);
GetExport
().
AddAttribute
(
XML_NAMESPACE_TEXT
,
XML_STYLE_NAME
,
sStyleName
);
...
...
@@ -3675,7 +3673,7 @@ void XMLTextParagraphExport::exportRuby(
// ruby end
// check for an open ruby
DBG_ASSERT
(
bOpenRuby
,
"Can't close a ruby if none is open!"
);
assert
(
bOpenRuby
&&
"Can't close a ruby if none is open!"
);
if
(
!
bOpenRuby
)
return
;
...
...
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