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
7279610b
Kaydet (Commit)
7279610b
authored
Haz 21, 2012
tarafından
Radek Doulik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make sure we don't export shapes with negative size (fixes n#760997)
Change-Id: Id77cbfaa287d15c4af9a91976f3b091e68229223
üst
6af68b49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drawingml.cxx
oox/source/export/drawingml.cxx
+5
-0
No files found.
oox/source/export/drawingml.cxx
Dosyayı görüntüle @
7279610b
...
...
@@ -635,6 +635,11 @@ void DrawingML::WriteShapeTransformation( Reference< XShape > rXShape, sal_Int32
awt
::
Point
aPos
=
rXShape
->
getPosition
();
awt
::
Size
aSize
=
rXShape
->
getSize
();
if
(
aSize
.
Width
<
0
)
aSize
.
Width
=
1000
;
if
(
aSize
.
Height
<
0
)
aSize
.
Height
=
1000
;
WriteTransformation
(
Rectangle
(
Point
(
aPos
.
X
,
aPos
.
Y
),
Size
(
aSize
.
Width
,
aSize
.
Height
)
),
nXmlNamespace
,
bFlipH
,
bFlipV
,
nRotation
);
}
...
...
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