diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx | 2 | ||||
-rw-r--r-- | vcl/source/accessibility/accessiblebrowseboxcell.cxx | 2 | ||||
-rw-r--r-- | vcl/source/treelist/svtabbx.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx b/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx index ca6843b50d7a..396e3fdce76f 100644 --- a/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx +++ b/vcl/source/accessibility/AccessibleBrowseBoxHeaderCell.cxx @@ -117,7 +117,7 @@ tools::Rectangle AccessibleBrowseBoxHeaderCell::implGetBoundingBox() nCol = 0; } - tools::Rectangle aRet(mpBrowseBox->GetFieldRectPixel(nRow , nCol, true, false)); + tools::Rectangle aRet(mpBrowseBox->calcFieldRectPixel(nRow , nCol, true, false)); return tools::Rectangle(aRet.TopLeft() - Point(0, aRet.GetHeight()), aRet.GetSize()); } diff --git a/vcl/source/accessibility/accessiblebrowseboxcell.cxx b/vcl/source/accessibility/accessiblebrowseboxcell.cxx index 866ca88655b8..a3e897da6b1e 100644 --- a/vcl/source/accessibility/accessiblebrowseboxcell.cxx +++ b/vcl/source/accessibility/accessiblebrowseboxcell.cxx @@ -55,7 +55,7 @@ void SAL_CALL AccessibleBrowseBoxCell::grabFocus() ::tools::Rectangle AccessibleBrowseBoxCell::implGetBoundingBox() { - tools::Rectangle aCellRect = mpBrowseBox->GetFieldRectPixel(m_nRowPos, m_nColPos, false, /*bOnScreen*/false); + tools::Rectangle aCellRect = mpBrowseBox->calcFieldRectPixel(m_nRowPos, m_nColPos, false, /*bOnScreen*/false); // above rect is relative to the browse box, convert it to be relative to the table (which is the cell's parent) aCellRect.SetPos(aCellRect.TopLeft() - mpBrowseBox->calcTableRect(false).TopLeft()); return aCellRect; diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx index b13786387507..e24a19d13dee 100644 --- a/vcl/source/treelist/svtabbx.cxx +++ b/vcl/source/treelist/svtabbx.cxx @@ -844,7 +844,7 @@ tools::Rectangle SvHeaderTabListBox::calcTableRect( bool _bOnScreen ) return tools::Rectangle(Point(0, 0), aScreenRect.GetSize()); } -tools::Rectangle SvHeaderTabListBox::GetFieldRectPixel( sal_Int32 _nRow, sal_uInt16 _nColumn, bool _bIsHeader, bool _bOnScreen ) +tools::Rectangle SvHeaderTabListBox::calcFieldRectPixel( sal_Int32 _nRow, sal_uInt16 _nColumn, bool _bIsHeader, bool _bOnScreen ) { DBG_ASSERT( !_bIsHeader || 0 == _nRow, "invalid parameters" ); tools::Rectangle aRect; |