diff options
Diffstat (limited to 'sfx2/source/control/recentdocsviewitem.cxx')
-rw-r--r-- | sfx2/source/control/recentdocsviewitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 8f68306ef987..bf64b6a2c04c 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -41,7 +41,7 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR OUString aTitle(rTitle); INetURLObject aURLObj(rURL); - if( aURLObj.GetProtocol() == INET_PROT_FILE ) + if( aURLObj.GetProtocol() == INetProtocol::FILE ) m_sHelpText = aURLObj.getFSysPath(INetURLObject::FSYS_DETECT); if( m_sHelpText.isEmpty() ) m_sHelpText = aURLObj.GetURLNoPass(); @@ -50,7 +50,7 @@ RecentDocsViewItem::RecentDocsViewItem(ThumbnailView &rView, const OUString &rUR aTitle = aURLObj.GetName(INetURLObject::DECODE_WITH_CHARSET); BitmapEx aThumbnail(rThumbnail); - if (aThumbnail.IsEmpty() && aURLObj.GetProtocol() == INET_PROT_FILE) + if (aThumbnail.IsEmpty() && aURLObj.GetProtocol() == INetProtocol::FILE) aThumbnail = ThumbnailView::readThumbnail(rURL); if (aThumbnail.IsEmpty()) |