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
bb72d5b3
Kaydet (Commit)
bb72d5b3
authored
Eki 10, 2014
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i125326 accept CssStyles with missing type attribute
üst
f73813d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
svgdocumenthandler.cxx
svgio/source/svgreader/svgdocumenthandler.cxx
+17
-1
No files found.
svgio/source/svgreader/svgdocumenthandler.cxx
Dosyayı görüntüle @
bb72d5b3
...
...
@@ -330,10 +330,26 @@ namespace svgio
{
SvgStyleNode
*
pNew
=
new
SvgStyleNode
(
maDocument
,
mpTarget
);
mpTarget
=
pNew
;
mpTarget
->
parseAttributes
(
xAttribs
);
const
sal_uInt32
nAttributes
(
xAttribs
->
getLength
());
if
(
0
==
nAttributes
)
{
// #125326# no attributes, thus also no type="text/css". This is allowed to be missing,
// thus do mark this style as CssStyle. This is required to read the contained
// text (which defines the css style)
pNew
->
setTextCss
(
true
);
}
else
{
// #125326# there are attributes, read them. This will set isTextCss to true if
// a type="text/css" is contained as exact match, else not
mpTarget
->
parseAttributes
(
xAttribs
);
}
if
(
pNew
->
isTextCss
())
{
// if it is a Css style, allow reading text between the start and end tag (see
// SvgDocHdl::characters for details)
maCssContents
.
push_back
(
rtl
::
OUString
());
}
break
;
...
...
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