diff options
-rw-r--r-- | sfx2/source/view/frmload.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index 720714ecd33c..30ccb042e8db 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -529,7 +529,7 @@ void SfxFrameLoader_Impl::impl_removeLoaderArguments( ::comphelper::NamedValueCo { const sal_Char* pKnownViewArgs[] = { "JumpMark", - "AvoidRecentDocs" + "PickListEntry" }; ::comphelper::NamedValueCollection aViewArgs; diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index fcf57d245398..d1c872bc17b3 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1339,8 +1339,8 @@ void SfxBaseController::ConnectSfxFrame_Impl( const ConnectSfxFrame i_eConnect ) ::comphelper::NamedValueCollection aViewArgs(getCreationArguments()); // sometimes we want to avoid adding to the recent documents - bool bAvoidRecentDocs = aViewArgs.getOrDefault("AvoidRecentDocs", false); - m_pData->m_pViewShell->GetObjectShell()->AvoidRecentDocs(bAvoidRecentDocs); + bool bAllowPickListEntry = aViewArgs.getOrDefault("PickListEntry", true); + m_pData->m_pViewShell->GetObjectShell()->AvoidRecentDocs(!bAllowPickListEntry); // if there's a JumpMark given, then, well, jump to it const OUString sJumpMark = aViewArgs.getOrDefault( "JumpMark", OUString() ); |