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
720ee909
Kaydet (Commit)
720ee909
authored
Agu 22, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Point and Rectangle coordinates are long, not sal_Int32
Change-Id: I0f97d12f55e506af699976bf81f4dcf956195aab
üst
53ce805b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
EnhancedCustomShape2d.cxx
svx/source/customshapes/EnhancedCustomShape2d.cxx
+1
-1
svdobj.cxx
svx/source/svdraw/svdobj.cxx
+4
-2
No files found.
svx/source/customshapes/EnhancedCustomShape2d.cxx
Dosyayı görüntüle @
720ee909
...
@@ -963,7 +963,7 @@ Point EnhancedCustomShape2d::GetPoint( const com::sun::star::drawing::EnhancedCu
...
@@ -963,7 +963,7 @@ Point EnhancedCustomShape2d::GetPoint( const com::sun::star::drawing::EnhancedCu
if
(
nFlags
&
DFF_CUSTOMSHAPE_FLIP_H
)
if
(
nFlags
&
DFF_CUSTOMSHAPE_FLIP_H
)
fVal
=
aLogicRect
.
GetWidth
()
-
fVal
;
fVal
=
aLogicRect
.
GetWidth
()
-
fVal
;
}
}
aRetValue
.
X
()
=
(
sal_Int32
)
fVal
;
aRetValue
.
X
()
=
static_cast
<
long
>
(
fVal
)
;
}
}
}
}
while
(
++
nPass
<
2
);
while
(
++
nPass
<
2
);
...
...
svx/source/svdraw/svdobj.cxx
Dosyayı görüntüle @
720ee909
...
@@ -972,8 +972,10 @@ void SdrObject::RecalcBoundRect()
...
@@ -972,8 +972,10 @@ void SdrObject::RecalcBoundRect()
if
(
!
aRange
.
isEmpty
())
if
(
!
aRange
.
isEmpty
())
{
{
aOutRect
=
Rectangle
(
aOutRect
=
Rectangle
(
(
sal_Int32
)
floor
(
aRange
.
getMinX
()),
(
sal_Int32
)
floor
(
aRange
.
getMinY
()),
static_cast
<
long
>
(
floor
(
aRange
.
getMinX
())),
(
sal_Int32
)
ceil
(
aRange
.
getMaxX
()),
(
sal_Int32
)
ceil
(
aRange
.
getMaxY
()));
static_cast
<
long
>
(
floor
(
aRange
.
getMinY
())),
static_cast
<
long
>
(
ceil
(
aRange
.
getMaxX
())),
static_cast
<
long
>
(
ceil
(
aRange
.
getMaxY
())));
aOutRect
-=
GetGridOffset
();
// don't include grid offset
aOutRect
-=
GetGridOffset
();
// don't include grid offset
return
;
return
;
}
}
...
...
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