diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-09 14:34:35 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-09 15:43:28 +0100 |
commit | 0314034d8b23d5b69399cfcdf6b2f2add73f9f47 (patch) | |
tree | 90fcce67352359c8bcc20e614f0bf3b49202907f /include/sfx2 | |
parent | 5ab1fb926e984780380665ae185646b603292a6e (diff) |
fdo#71628 Startcenter: remove thumbnail selection when focus is moved away
mnHighItemId is never assaigned with a valid value and there is
no sense to store one selected element's index anyway,
because there can be more.
The bMove parameter of ImplGetItem is never used and doesn' work
so remove it.
Change-Id: I91d6bc3fd13a2b44e6961fea66d02702a8f31c2b
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index a122dd8d226b..bfd1ca5f93cf 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -300,7 +300,7 @@ protected: SFX2_DLLPRIVATE void ImplInitScrollBar(); SFX2_DLLPRIVATE void ImplDeleteItems(); SFX2_DLLPRIVATE void ImplDraw(); - SFX2_DLLPRIVATE size_t ImplGetItem( const Point& rPoint, bool bMove = false ) const; + SFX2_DLLPRIVATE size_t ImplGetItem( const Point& rPoint ) const; SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetItem( size_t nPos ); SFX2_DLLPRIVATE sal_uInt16 ImplGetVisibleItemCount() const; SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetVisibleItem( sal_uInt16 nVisiblePos ); @@ -328,7 +328,6 @@ protected: int mnFineness; - sal_uInt16 mnHighItemId; sal_uInt16 mnCols; sal_uInt16 mnFirstLine; sal_uInt16 mnSpacing; |