diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-17 19:39:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-20 18:01:17 +0200 |
commit | 2140dea1413c9ef8e6e35409a15b0a3ea7149e67 (patch) | |
tree | f2f28dfda11cdd4dc982299669be56ec81fc0aab /sc | |
parent | 259d01a34d27df2fbfd11c3bf6fe9dc508ff6ac2 (diff) |
split width/height to allow intercept of how width is calculated
in order to possibly get width on demand
Change-Id: I1e6fcb6849705f2b166821516ebe72b179e00ee7
Reviewed-on: https://gerrit.libreoffice.org/72513
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 4ecbdf314376..536d398f482c 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -730,7 +730,7 @@ void ScContentTree::RequestHelp( const HelpEvent& rHEvt ) aPos = GetEntryPosition( pEntry ); aPos.setX( GetTabPos( pEntry, pTab ) ); aPos = OutputToScreenPixel(aPos); - Size aSize( pItem->GetSize( this, pEntry ) ); + Size aSize(pItem->GetWidth(this, pEntry), pItem->GetHeight(this, pEntry)); tools::Rectangle aItemRect( aPos, aSize ); Help::ShowQuickHelp( this, aItemRect, aHelpText ); |