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
99187570
Kaydet (Commit)
99187570
authored
May 03, 2013
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
the var. must be persistent over multiple calls
Change-Id: Ieb48dfe85ed16a8123917b30873f301d523ea381
üst
485b1ac0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ximpshap.cxx
xmloff/source/draw/ximpshap.cxx
+3
-3
ximpshap.hxx
xmloff/source/draw/ximpshap.hxx
+1
-0
No files found.
xmloff/source/draw/ximpshap.cxx
Dosyayı görüntüle @
99187570
...
@@ -153,6 +153,7 @@ SdXMLShapeContext::SdXMLShapeContext(
...
@@ -153,6 +153,7 @@ SdXMLShapeContext::SdXMLShapeContext(
,
maPosition
(
0
,
0
)
,
maPosition
(
0
,
0
)
,
mbVisible
(
true
)
,
mbVisible
(
true
)
,
mbPrintable
(
true
)
,
mbPrintable
(
true
)
,
mbHaveXmlId
(
false
)
{
{
}
}
...
@@ -782,7 +783,6 @@ void SdXMLShapeContext::SetThumbnail()
...
@@ -782,7 +783,6 @@ void SdXMLShapeContext::SetThumbnail()
// this is called from the parent group for each unparsed attribute in the attribute list
// this is called from the parent group for each unparsed attribute in the attribute list
void
SdXMLShapeContext
::
processAttribute
(
sal_uInt16
nPrefix
,
const
OUString
&
rLocalName
,
const
OUString
&
rValue
)
void
SdXMLShapeContext
::
processAttribute
(
sal_uInt16
nPrefix
,
const
OUString
&
rLocalName
,
const
OUString
&
rValue
)
{
{
bool
bHaveXmlId
(
false
);
if
(
(
XML_NAMESPACE_DRAW
==
nPrefix
)
||
(
XML_NAMESPACE_DRAW_EXT
==
nPrefix
)
)
if
(
(
XML_NAMESPACE_DRAW
==
nPrefix
)
||
(
XML_NAMESPACE_DRAW_EXT
==
nPrefix
)
)
{
{
if
(
IsXMLToken
(
rLocalName
,
XML_ZINDEX
)
)
if
(
IsXMLToken
(
rLocalName
,
XML_ZINDEX
)
)
...
@@ -791,7 +791,7 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString& rL
...
@@ -791,7 +791,7 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString& rL
}
}
else
if
(
IsXMLToken
(
rLocalName
,
XML_ID
)
)
else
if
(
IsXMLToken
(
rLocalName
,
XML_ID
)
)
{
{
if
(
!
bHaveXmlId
)
{
maShapeId
=
rValue
;
};
if
(
!
m
bHaveXmlId
)
{
maShapeId
=
rValue
;
};
}
}
else
if
(
IsXMLToken
(
rLocalName
,
XML_NAME
)
)
else
if
(
IsXMLToken
(
rLocalName
,
XML_NAME
)
)
{
{
...
@@ -893,7 +893,7 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString& rL
...
@@ -893,7 +893,7 @@ void SdXMLShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString& rL
if
(
IsXMLToken
(
rLocalName
,
XML_ID
)
)
if
(
IsXMLToken
(
rLocalName
,
XML_ID
)
)
{
{
maShapeId
=
rValue
;
maShapeId
=
rValue
;
bHaveXmlId
=
true
;
m
bHaveXmlId
=
true
;
}
}
}
}
}
}
...
...
xmloff/source/draw/ximpshap.hxx
Dosyayı görüntüle @
99187570
...
@@ -78,6 +78,7 @@ protected:
...
@@ -78,6 +78,7 @@ protected:
bool
mbVisible
;
bool
mbVisible
;
bool
mbPrintable
;
bool
mbPrintable
;
bool
mbHaveXmlId
;
/** if bSupportsStyle is false, auto styles will be set but not a style */
/** if bSupportsStyle is false, auto styles will be set but not a style */
void
SetStyle
(
bool
bSupportsStyle
=
true
);
void
SetStyle
(
bool
bSupportsStyle
=
true
);
...
...
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