summaryrefslogtreecommitdiff
path: root/include/sfx2/filedlghelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/filedlghelper.hxx')
-rw-r--r--include/sfx2/filedlghelper.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx
index c89da31ab953..ea84a9450de6 100644
--- a/include/sfx2/filedlghelper.hxx
+++ b/include/sfx2/filedlghelper.hxx
@@ -306,8 +306,9 @@ ErrCode FileOpenDialog_Impl( weld::Window* pParent,
css::uno::Reference<css::ui::dialogs::XFolderPicker2> SFX2_DLLPUBLIC createFolderPicker(const css::uno::Reference<css::uno::XComponentContext>& rContext, weld::Window* pPreferredParent);
ErrCode RequestPassword(const std::shared_ptr<const SfxFilter>& pCurrentFilter, OUString const & aURL, SfxItemSet* pSet, const css::uno::Reference<css::awt::XWindow>& rParent);
-ErrCode SetPassword(const std::shared_ptr<const SfxFilter>& pCurrentFilter,
- SfxItemSet* pSet, const OUString& rPasswordToOpen, std::u16string_view rPasswordToModify);
+ErrCode SetPassword(const std::shared_ptr<const SfxFilter>& pCurrentFilter, SfxItemSet* pSet,
+ const OUString& rPasswordToOpen, std::u16string_view rPasswordToModify,
+ bool bAllowPasswordReset = false);
bool IsOOXML(const std::shared_ptr<const SfxFilter>& pCurrentFilter);
bool IsMSType(const std::shared_ptr<const SfxFilter>& pCurrentFilter);
}