summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/writer/StarOfficeWriterImportFilter.cxx')
-rw-r--r--writerperfect/source/writer/StarOfficeWriterImportFilter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
index 95764afa4013..8f7143c1e2ee 100644
--- a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
+++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
@@ -40,7 +40,8 @@ static bool handleEmbeddedSTOFFWriterSpreadsheetObject(const librevenge::RVNGBin
return STOFFDocument::decodeSpreadsheet(data, &exporter);
}
-bool StarOfficeWriterImportFilter::doImportDocument(librevenge::RVNGInputStream& rInput,
+bool StarOfficeWriterImportFilter::doImportDocument(weld::Window* pParent,
+ librevenge::RVNGInputStream& rInput,
OdtGenerator& rGenerator, utl::MediaDescriptor&)
{
STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
@@ -52,7 +53,7 @@ bool StarOfficeWriterImportFilter::doImportDocument(librevenge::RVNGInputStream&
// try to ask for a password
try
{
- SfxPasswordDialog aPasswdDlg(nullptr);
+ SfxPasswordDialog aPasswdDlg(pParent);
aPasswdDlg.SetMinLen(0);
if (!aPasswdDlg.execute())
return false;