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
66c81c1a
Kaydet (Commit)
66c81c1a
authored
Kas 08, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i123616 be more flexible regarding the data type for polygon data
üst
b3173c16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
unoshape.cxx
svx/source/unodraw/unoshape.cxx
+18
-3
No files found.
svx/source/unodraw/unoshape.cxx
Dosyayı görüntüle @
66c81c1a
...
@@ -92,6 +92,7 @@
...
@@ -92,6 +92,7 @@
#include <editeng/outlobj.hxx>
#include <editeng/outlobj.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <vector>
#include <vector>
...
@@ -2405,10 +2406,24 @@ bool SvxShape::setPropertyValueImpl( const ::rtl::OUString&, const SfxItemProper
...
@@ -2405,10 +2406,24 @@ bool SvxShape::setPropertyValueImpl( const ::rtl::OUString&, const SfxItemProper
}
}
case
OWN_ATTR_EDGE_POLYPOLYGONBEZIER
:
case
OWN_ATTR_EDGE_POLYPOLYGONBEZIER
:
{
{
drawing
::
PolyPolygonBezierCoords
aPolyPoly
;
basegfx
::
B2DPolyPolygon
aNewPolyPolygon
;
if
(
rValue
>>=
aPolyPoly
)
// #123616# be a little bit more flexible regardin gthe data type used
if
(
rValue
.
getValueType
()
==
::
getCppuType
((
const
drawing
::
PointSequenceSequence
*
)
0
))
{
// get polygpon data from PointSequenceSequence
aNewPolyPolygon
=
basegfx
::
tools
::
UnoPointSequenceSequenceToB2DPolyPolygon
(
*
(
const
drawing
::
PointSequenceSequence
*
)
rValue
.
getValue
());
}
else
if
(
rValue
.
getValueType
()
==
::
getCppuType
((
const
drawing
::
PolyPolygonBezierCoords
*
)
0
))
{
// get polygpon data from PolyPolygonBezierCoords
aNewPolyPolygon
=
basegfx
::
tools
::
UnoPolyPolygonBezierCoordsToB2DPolyPolygon
(
*
(
const
drawing
::
PolyPolygonBezierCoords
*
)
rValue
.
getValue
());
}
if
(
aNewPolyPolygon
.
count
())
{
{
basegfx
::
B2DPolyPolygon
aNewPolyPolygon
(
SvxConvertPolyPolygonBezierToB2DPolyPolygon
(
&
aPolyPoly
)
);
// --> OD 2010-02-19 #i108851# - reintroduction of fix for issue i59051
// --> OD 2010-02-19 #i108851# - reintroduction of fix for issue i59051
ForceMetricToItemPoolMetric
(
aNewPolyPolygon
);
ForceMetricToItemPoolMetric
(
aNewPolyPolygon
);
// <--
// <--
...
...
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