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
ad99c633
Kaydet (Commit)
ad99c633
authored
Ock 26, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#97276 don't clip out line if the underlying page size is unknown
Change-Id: I77d88d8020e9ac26bd6b7277e6d8afefed5e3ee7
üst
02e69f0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
viewcontactofsdrpathobj.cxx
svx/source/sdr/contact/viewcontactofsdrpathobj.cxx
+5
-3
No files found.
svx/source/sdr/contact/viewcontactofsdrpathobj.cxx
Dosyayı görüntüle @
ad99c633
...
...
@@ -91,15 +91,17 @@ namespace sdr
if
(
bIsLine
)
{
const
SdrPage
*
pPage
=
GetPathObj
().
GetPage
();
if
(
pPage
)
double
fPageWidth
=
pPage
?
pPage
->
GetWdt
()
:
0.0
;
double
fPageHeight
=
pPage
?
pPage
->
GetHgt
()
:
0.0
;
if
(
fPageWidth
&&
fPageHeight
)
{
//tdf#63955 if we have an extremely long line then clip it
//to a very generous range of -1 page width/height vs +1
//page width/height to avoid oom and massive churn
//generating a huge polygon chain to cover the length in
//applyLineDashing if this line is dashed
double
fPageWidth
=
pPage
->
GetWdt
();
double
fPageHeight
=
pPage
->
GetHgt
();
//tdf#97276 don't clip if the underlying page dimension
//is unknown
basegfx
::
B2DRange
aClipRange
(
-
fPageWidth
,
-
fPageHeight
,
fPageWidth
*
2
,
fPageHeight
*
2
);
aUnitPolyPolygon
=
basegfx
::
tools
::
clipPolyPolygonOnRange
(
aUnitPolyPolygon
,
...
...
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