diff options
Diffstat (limited to 'sfx2/source/control/recentdocsviewitem.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsviewitem.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index c8f19f46720c..8f68306ef987 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -31,7 +31,7 @@ using namespace drawinglayer::primitive2d; using namespace drawinglayer::processor2d; RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rURL, - const OUString &rTitle, const BitmapEx &rThumbnail, sal_uInt16 nId) + const OUString &rTitle, const BitmapEx &rThumbnail, sal_uInt16 nId, long nThumbnailSize) : ThumbnailViewItem(rView, nId), maURL(rURL), m_bRemoveIconHighlighted(false), @@ -46,9 +46,6 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR if( m_sHelpText.isEmpty() ) m_sHelpText = aURLObj.GetURLNoPass(); - RecentDocsView& rRecentView = dynamic_cast<RecentDocsView&>(rView); - long nThumbnailSize = rRecentView.GetThumbnailSize(); - if (aTitle.isEmpty()) aTitle = aURLObj.GetName(INetURLObject::DECODE_WITH_CHARSET); |