[Libreoffice-commits] core.git: sc/qa
Stephan Bergmann
sbergman at redhat.com
Tue Nov 10 05:06:22 PST 2015
sc/qa/unit/bugfix-test.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 46b3d0697468bcad6522f8e29007b544e3440b5a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 10 14:05:58 2015 +0100
loplugin:staticcall
Change-Id: I9ff07fcd5160cf218dc5add2db362aa329544708
diff --git a/sc/qa/unit/bugfix-test.cxx b/sc/qa/unit/bugfix-test.cxx
index 209776d..2b5d2ef 100644
--- a/sc/qa/unit/bugfix-test.cxx
+++ b/sc/qa/unit/bugfix-test.cxx
@@ -202,8 +202,8 @@ void ScFiltersTest::testTdf91979()
// Check coordinates of a distant cell
Point aPos = aViewData.GetScrPos(MAXCOL - 1, 10000, SC_SPLIT_TOPLEFT, true);
- int nColWidth = aViewData.ToPixel(pDoc->GetColWidth(0, 0), aViewData.GetPPTX());
- int nRowHeight = aViewData.ToPixel(pDoc->GetRowHeight(0, 0), aViewData.GetPPTY());
+ int nColWidth = ScViewData::ToPixel(pDoc->GetColWidth(0, 0), aViewData.GetPPTX());
+ int nRowHeight = ScViewData::ToPixel(pDoc->GetRowHeight(0, 0), aViewData.GetPPTY());
CPPUNIT_ASSERT(aPos.getX() == (MAXCOL - 1) * nColWidth);
CPPUNIT_ASSERT(aPos.getY() == 10000 * nRowHeight);
More information about the Libreoffice-commits
mailing list