summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/writer/WordPerfectImportFilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx
index 8006173ee04e..a79e1aacec43 100644
--- a/writerperfect/source/writer/WordPerfectImportFilter.cxx
+++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx
@@ -312,7 +312,7 @@ throw (RuntimeException)
aPasswdDlg.SetMinLen(0);
if(!aPasswdDlg.Execute())
return com::sun::star::ui::dialogs::ExecutableDialogResults::CANCEL;
- msPassword = aPasswdDlg.GetPassword().GetBuffer();
+ msPassword = aPasswdDlg.GetPassword().getStr();
aUtf8Passwd = OUStringToOString(msPassword, RTL_TEXTENCODING_UTF8);
if (WPD_PASSWORD_MATCH_OK == WPDocument::verifyPassword(&input, aUtf8Passwd.getStr()))
break;