summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-17 14:24:01 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-17 20:18:46 +0000
commita6209ba6a8b5a2c9bcbd0d4f334e7d74acbde95f (patch)
tree44a45e9ccea2f818fda2fc8d34ebd59ef8dd076c /svtools/source/brwbox
parentba66f477a3db8afdc8d76283747d30e80d437a8f (diff)
vcl: OutputDevice::GetGlyphBoundRects()'s nIndex and nBase is always the same
So keeping just nIndex is enough. Change-Id: I5d3a0e6b4a6ce1305a56cf50e7ff181a098f6412 Reviewed-on: https://gerrit.libreoffice.org/35336 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svtools/source/brwbox')
-rw-r--r--svtools/source/brwbox/brwbox3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index b0f5d518e849..e4f7409139d5 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -529,9 +529,9 @@ OUString BrowseBox::GetAccessibleCellText(long _nRow, sal_uInt16 _nColPos) const
}
-bool BrowseBox::GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex, int nLen, int nBase, MetricVector& rVector )
+bool BrowseBox::GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex, int nLen, MetricVector& rVector )
{
- return Control::GetGlyphBoundRects( rOrigin, rStr, nIndex, nLen, nBase, rVector );
+ return Control::GetGlyphBoundRects( rOrigin, rStr, nIndex, nLen, rVector );
}
Rectangle BrowseBox::GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const