diff options
author | Krisztian Pinter <pin.terminator@gmail.com> | 2013-08-14 15:07:56 +0200 |
---|---|---|
committer | Krisztian Pinter <pin.terminator@gmail.com> | 2013-08-15 13:19:45 +0200 |
commit | aa65b0a4cbd7d7ed85a33b4d9d262a3c88ec533d (patch) | |
tree | 3cb45bad2f6007f448987c63a41362a2edabc74e /sfx2/source/control | |
parent | 90eff0d6cf268d9152ecc8a3e1c3fc62f1451d0e (diff) |
startcenter: Removed no. limit on thumbnails in RecentDocsView
Change-Id: Ia443b3c653d9355cf499e066e8085c7ddefef19e
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index 0f548654eba1..a532b14f4760 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -45,7 +45,6 @@ RecentDocsView::RecentDocsView( Window* pParent ) , mnTextHeight(30) , mnItemPadding(5) , mnItemMaxTextLength(30) - , mnMaxThumbnailItems(50) { SetStyle(GetStyle() | WB_VSCROLL); setItemMaxTextLength( mnItemMaxTextLength ); @@ -137,8 +136,7 @@ void RecentDocsView::loadRecentDocs() Clear(); Sequence< Sequence< PropertyValue > > aHistoryList = SvtHistoryOptions().GetList( ePICKLIST ); - int nRecentThumbnailItems = mnMaxThumbnailItems < aHistoryList.getLength() ? mnMaxThumbnailItems : aHistoryList.getLength(); - for ( int i = 0; i < nRecentThumbnailItems; i++ ) + for ( int i = 0; i < aHistoryList.getLength(); i++ ) { Sequence< PropertyValue >& rRecentEntry = aHistoryList[i]; |