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
a9562d5e
Kaydet (Commit)
a9562d5e
authored
Ara 08, 2013
tarafından
Korrawit Pruegsanusak
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
XShapeDumper: empty name should not be dumped
Change-Id: Ic1ab8840c9e543cebf322de922b01739684789ad
üst
4db9ae44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+2
-2
shapes-test_page7.xml
sd/qa/unit/data/xml/shapes-test_page7.xml
+1
-1
No files found.
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
a9562d5e
...
@@ -1007,8 +1007,8 @@ void dumpMoveProtectAsAttribute(sal_Bool bMoveProtect, xmlTextWriterPtr xmlWrite
...
@@ -1007,8 +1007,8 @@ void dumpMoveProtectAsAttribute(sal_Bool bMoveProtect, xmlTextWriterPtr xmlWrite
void
dumpNameAsAttribute
(
OUString
sName
,
xmlTextWriterPtr
xmlWriter
)
void
dumpNameAsAttribute
(
OUString
sName
,
xmlTextWriterPtr
xmlWriter
)
{
{
xmlTextWriterWriteFormatAttribute
(
xmlWriter
,
BAD_CAST
(
"name"
),
"%s"
,
if
(
!
sName
.
isEmpty
())
OUStringToOString
(
sName
,
RTL_TEXTENCODING_UTF8
).
getStr
());
xmlTextWriterWriteFormatAttribute
(
xmlWriter
,
BAD_CAST
(
"name"
),
"%s"
,
OUStringToOString
(
sName
,
RTL_TEXTENCODING_UTF8
).
getStr
());
}
}
void
dumpSizeProtectAsAttribute
(
sal_Bool
bSizeProtect
,
xmlTextWriterPtr
xmlWriter
)
void
dumpSizeProtectAsAttribute
(
sal_Bool
bSizeProtect
,
xmlTextWriterPtr
xmlWriter
)
...
...
sd/qa/unit/data/xml/shapes-test_page7.xml
Dosyayı görüntüle @
a9562d5e
<?xml version="1.0"?>
<?xml version="1.0"?>
<XShapes>
<XShapes>
<XShape
positionX=
"1361"
positionY=
"9000"
sizeX=
"24639"
sizeY=
"7858"
type=
"com.sun.star.presentation.GraphicObjectShape"
fontHeight=
"18.000000"
fontColor=
"ffffffff"
textAutoGrowHeight=
"true"
textAutoGrowWidth=
"false"
textContourFrame=
"false"
textFitToSize=
"NONE"
textHorizontalAdjust=
"CENTER"
textVerticalAdjust=
"CENTER"
textLeftDistance=
"250"
textRightDistance=
"250"
textUpperDistance=
"125"
textLowerDistance=
"125"
textMaximumFrameHeight=
"0"
textMaximumFrameWidth=
"0"
textMinimumFrameHeight=
"0"
textMinimumFrameWidth=
"0"
textAnimationAmount=
"0"
textAnimationCount=
"0"
textAnimationDelay=
"0"
textAnimationDirection=
"LEFT"
textAnimationKind=
"NONE"
textAnimationStartInside=
"false"
textAnimationStopInside=
"false"
textWritingMode=
"LR_TB"
shadow=
"false"
shadowColor=
"808080"
shadowTransparence=
"0"
shadowXDistance=
"200"
shadowYDistance=
"200"
zOrder=
"0"
layerID=
"0"
layerName=
"layout"
visible=
"true"
printable=
"true"
moveProtect=
"false"
name=
""
sizeProtect=
"false"
>
<XShape
positionX=
"1361"
positionY=
"9000"
sizeX=
"24639"
sizeY=
"7858"
type=
"com.sun.star.presentation.GraphicObjectShape"
fontHeight=
"18.000000"
fontColor=
"ffffffff"
textAutoGrowHeight=
"true"
textAutoGrowWidth=
"false"
textContourFrame=
"false"
textFitToSize=
"NONE"
textHorizontalAdjust=
"CENTER"
textVerticalAdjust=
"CENTER"
textLeftDistance=
"250"
textRightDistance=
"250"
textUpperDistance=
"125"
textLowerDistance=
"125"
textMaximumFrameHeight=
"0"
textMaximumFrameWidth=
"0"
textMinimumFrameHeight=
"0"
textMinimumFrameWidth=
"0"
textAnimationAmount=
"0"
textAnimationCount=
"0"
textAnimationDelay=
"0"
textAnimationDirection=
"LEFT"
textAnimationKind=
"NONE"
textAnimationStartInside=
"false"
textAnimationStopInside=
"false"
textWritingMode=
"LR_TB"
shadow=
"false"
shadowColor=
"808080"
shadowTransparence=
"0"
shadowXDistance=
"200"
shadowYDistance=
"200"
zOrder=
"0"
layerID=
"0"
layerName=
"layout"
visible=
"true"
printable=
"true"
moveProtect=
"false"
sizeProtect=
"false"
>
<Transformation>
<Transformation>
<Line1
column1=
"24640.000000"
column2=
"0.000000"
column3=
"1361.000000"
/>
<Line1
column1=
"24640.000000"
column2=
"0.000000"
column3=
"1361.000000"
/>
<Line2
column1=
"0.000000"
column2=
"7859.000000"
column3=
"9000.000000"
/>
<Line2
column1=
"0.000000"
column2=
"7859.000000"
column3=
"9000.000000"
/>
...
...
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