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
e44335ab
Kaydet (Commit)
e44335ab
authored
Eki 31, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related #i123433# PolyPolygonBezier must be drawing::PolyPolygonBezierCoords
Change-Id: Idc7e0a2651f2e0b499bbf8b8443ffb84b54a45b6
üst
223f6b63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
21 deletions
+11
-21
ximpshap.cxx
xmloff/source/draw/ximpshap.cxx
+11
-21
No files found.
xmloff/source/draw/ximpshap.cxx
Dosyayı görüntüle @
e44335ab
...
...
@@ -1459,6 +1459,8 @@ void SdXMLPathShapeContext::StartElement(const uno::Reference< xml::sax::XAttrib
aPolyPolygon
,
aSourcePolyPolygon
);
aAny
<<=
aSourcePolyPolygon
;
xPropSet
->
setPropertyValue
(
OUString
(
"PolyPolygonBezier"
),
aAny
);
}
else
{
...
...
@@ -1468,9 +1470,9 @@ void SdXMLPathShapeContext::StartElement(const uno::Reference< xml::sax::XAttrib
aPolyPolygon
,
aSourcePolyPolygon
);
aAny
<<=
aSourcePolyPolygon
;
}
xPropSet
->
setPropertyValue
(
OUString
(
"Geometry"
),
aAny
);
xPropSet
->
setPropertyValue
(
OUString
(
"Geometry"
),
aAny
);
}
}
// set pos, size, shear and rotate
...
...
@@ -1832,25 +1834,12 @@ void SdXMLConnectorShapeContext::processAttribute( sal_uInt16 nPrefix, const OUS
{
if
(
aPolyPolygon
.
count
())
{
// set polygon data
if
(
aPolyPolygon
.
areControlPointsUsed
())
{
drawing
::
PolyPolygonBezierCoords
aSourcePolyPolygon
;
drawing
::
PolyPolygonBezierCoords
aSourcePolyPolygon
;
basegfx
::
tools
::
B2DPolyPolygonToUnoPolyPolygonBezierCoords
(
aPolyPolygon
,
aSourcePolyPolygon
);
maPath
<<=
aSourcePolyPolygon
;
}
else
{
drawing
::
PointSequenceSequence
aSourcePolyPolygon
;
basegfx
::
tools
::
B2DPolyPolygonToUnoPointSequenceSequence
(
aPolyPolygon
,
aSourcePolyPolygon
);
maPath
<<=
aSourcePolyPolygon
;
}
basegfx
::
tools
::
B2DPolyPolygonToUnoPolyPolygonBezierCoords
(
aPolyPolygon
,
aSourcePolyPolygon
);
maPath
<<=
aSourcePolyPolygon
;
}
}
}
...
...
@@ -1967,7 +1956,8 @@ void SdXMLConnectorShapeContext::StartElement(const uno::Reference< xml::sax::XA
if
(
bApplySVGD
)
{
xProps
->
setPropertyValue
(
"PolyPolygonBezier"
,
maPath
);
assert
(
maPath
.
getValueType
()
==
::
getCppuType
((
const
drawing
::
PolyPolygonBezierCoords
*
)
0
));
xProps
->
setPropertyValue
(
"PolyPolygonBezier"
,
maPath
);
}
}
...
...
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