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
d0b43fd5
Kaydet (Commit)
d0b43fd5
authored
Mar 24, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Properly map from empty aBoundRange to empty rRect
Change-Id: Ic8cf3a71d168f4679347ac493c08fef1daf4ce84
üst
8707670c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
svddrgv.cxx
svx/source/svdraw/svddrgv.cxx
+10
-3
No files found.
svx/source/svdraw/svddrgv.cxx
Dosyayı görüntüle @
d0b43fd5
...
...
@@ -141,9 +141,16 @@ void SdrDragView::TakeActionRect(Rectangle& rRect) const
{
// #i95646# is this used..?
const
basegfx
::
B2DRange
aBoundRange
(
mpCurrentSdrDragMethod
->
getCurrentRange
());
rRect
=
Rectangle
(
basegfx
::
fround
(
aBoundRange
.
getMinX
()),
basegfx
::
fround
(
aBoundRange
.
getMinY
()),
basegfx
::
fround
(
aBoundRange
.
getMaxX
()),
basegfx
::
fround
(
aBoundRange
.
getMaxY
()));
if
(
aBoundRange
.
isEmpty
())
{
rRect
.
SetEmpty
();
}
else
{
rRect
=
Rectangle
(
basegfx
::
fround
(
aBoundRange
.
getMinX
()),
basegfx
::
fround
(
aBoundRange
.
getMinY
()),
basegfx
::
fround
(
aBoundRange
.
getMaxX
()),
basegfx
::
fround
(
aBoundRange
.
getMaxY
()));
}
}
}
if
(
rRect
.
IsEmpty
())
...
...
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