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
9ba5eb22
Kaydet (Commit)
9ba5eb22
authored
Şub 02, 2017
tarafından
Marco Cecchetti
Kaydeden (comit)
Jan Holesovsky
Şub 03, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc rowlimit: Make the cursor better fit the rendering.
Change-Id: If4d02161bd8a37100d7403c05ea0840a3d2d0cf8
üst
221e8365
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
test_desktop_lib.cxx
desktop/qa/desktop_lib/test_desktop_lib.cxx
+1
-1
gridwin.cxx
sc/source/ui/view/gridwin.cxx
+3
-2
No files found.
desktop/qa/desktop_lib/test_desktop_lib.cxx
Dosyayı görüntüle @
9ba5eb22
...
...
@@ -682,7 +682,7 @@ void DesktopLOKTest::testCellCursor()
boost
::
property_tree
::
read_json
(
aStream
,
aTree
);
OString
aRectangle
(
aTree
.
get
<
std
::
string
>
(
"commandValues"
).
c_str
());
CPPUNIT_ASSERT_EQUAL
(
aRectangle
,
OString
(
"0, 0, 1278, 254"
)
);
CPPUNIT_ASSERT_EQUAL
(
OString
(
"0, 0, 1279, 255"
),
aRectangle
);
}
void
DesktopLOKTest
::
testCommandResult
()
...
...
sc/source/ui/view/gridwin.cxx
Dosyayı görüntüle @
9ba5eb22
...
...
@@ -5721,8 +5721,9 @@ OString ScGridWindow::getCellCursor(const Fraction& rZoomX, const Fraction& rZoo
double
fPPTX
=
pViewData
->
GetPPTX
();
double
fPPTY
=
pViewData
->
GetPPTY
();
Rectangle
aRect
(
Point
(
aScrPos
.
getX
()
/
fPPTX
,
aScrPos
.
getY
()
/
fPPTY
),
Size
(
nSizeXPix
/
fPPTX
,
nSizeYPix
/
fPPTY
));
Rectangle
aRect
(
Point
(
rtl
::
math
::
round
(
aScrPos
.
getX
()
/
fPPTX
),
rtl
::
math
::
round
(
aScrPos
.
getY
()
/
fPPTY
)),
Size
(
rtl
::
math
::
round
(
nSizeXPix
/
fPPTX
),
rtl
::
math
::
round
(
nSizeYPix
/
fPPTY
)));
pViewData
->
SetZoom
(
defaultZoomX
,
defaultZoomY
,
true
);
...
...
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