summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 3eba938736ab..f08529be0ce2 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2090,7 +2090,7 @@ void SfxObjectShell::AddToRecentlyUsedList()
if ( aUrl.GetProtocol() == INetProtocol::File )
{
- std::shared_ptr<const SfxFilter> pOrgFilter = pMedium->GetOrigFilter();
+ std::shared_ptr<const SfxFilter> pOrgFilter = pMedium->GetFilter();
Application::AddToRecentDocumentList( aUrl.GetURLNoPass( INetURLObject::DecodeMechanism::NONE ),
pOrgFilter ? pOrgFilter->GetMimeType() : OUString(),
pOrgFilter ? pOrgFilter->GetServiceName() : OUString() );