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 | |
parent | 90eff0d6cf268d9152ecc8a3e1c3fc62f1451d0e (diff) |
startcenter: Removed no. limit on thumbnails in RecentDocsView
Change-Id: Ia443b3c653d9355cf499e066e8085c7ddefef19e
-rw-r--r-- | include/sfx2/recentdocsview.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/recentdocsview.cxx | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx index 98f9e9a687f7..9cb77d35e1b5 100644 --- a/include/sfx2/recentdocsview.hxx +++ b/include/sfx2/recentdocsview.hxx @@ -65,8 +65,6 @@ protected: long mnTextHeight; long mnItemPadding; long mnItemMaxTextLength; - - int mnMaxThumbnailItems; }; #endif // __SFX2_RECENTDOCSVIEW_HXX__ 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]; |