summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper/qahelper.hxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-10-20 17:34:12 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2020-10-21 08:01:37 +0200
commitb84afd2188d6993c91081885dc24664bd3f1cc73 (patch)
treeb2cea937d2b84a8a51f1bda4a10a1d6ce35913dc /sc/qa/unit/helper/qahelper.hxx
parent5e9cf87743e67c061e48f0f8285469d80def5042 (diff)
CppunitTest_sc_subsequent_export: factor out duplicated code
Change-Id: I87381f243e71e302df92b60c6afde15e78ab7828 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104570 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/qa/unit/helper/qahelper.hxx')
-rw-r--r--sc/qa/unit/helper/qahelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index d8ffa146a6aa..ad518d160f18 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -190,9 +190,10 @@ public:
void createCSVPath(const OUString& aFileBase, OUString& rCSVPath);
ScDocShellRef saveAndReload(ScDocShell* pShell, const OUString &rFilter,
- const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFormatType);
+ const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFormatType, const OUString* pPassword = nullptr );
ScDocShellRef saveAndReload( ScDocShell* pShell, sal_Int32 nFormat );
+ ScDocShellRef saveAndReloadPassword( ScDocShell* pShell, sal_Int32 nFormat );
std::shared_ptr<utl::TempFile> saveAs(ScDocShell* pShell, sal_Int32 nFormat);
std::shared_ptr<utl::TempFile> exportTo(ScDocShell* pShell, sal_Int32 nFormat);