sw/source/ui/vba/vbadocument.cxx | 2 ++ sw/source/ui/vba/vbadocuments.cxx | 2 ++ 2 files changed, 4 insertions(+)
New commits: commit 30f25672a86494625d525086d0a81513db119917 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Sep 18 16:43:40 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Sep 20 15:52:35 2019 +0200 Add a SAL_INFO for SwVbaDocument::SaveAs2000() Change-Id: Ic91b9c3a832d68ca3ccc61ccb19b0e29b488abc0 (cherry picked from commit 6412701313a875aff199dbf862e250faf6861cd0) Reviewed-on: https://gerrit.libreoffice.org/79256 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx index ff5d3b4ffdc7..6352edce92fe 100644 --- a/sw/source/ui/vba/vbadocument.cxx +++ b/sw/source/ui/vba/vbadocument.cxx @@ -460,6 +460,8 @@ SwVbaDocument::Frames( const uno::Any& index ) void SAL_CALL SwVbaDocument::SaveAs2000( const uno::Any& FileName, const uno::Any& FileFormat, const uno::Any& /*LockComments*/, const uno::Any& /*Password*/, const uno::Any& /*AddToRecentFiles*/, const uno::Any& /*WritePassword*/, const uno::Any& /*ReadOnlyRecommended*/, const uno::Any& /*EmbedTrueTypeFonts*/, const uno::Any& /*SaveNativePictureFormat*/, const uno::Any& /*SaveFormsData*/, const uno::Any& /*SaveAsAOCELetter*/ ) { + SAL_INFO("sw.vba", "Document.SaveAs2000(FileName:=" << FileName << ",FileFormat:=" << FileFormat << ")"); + // Based on ScVbaWorkbook::SaveAs. OUString sFileName; FileName >>= sFileName; commit 3df903c1e572cf010b71ff6cce8acc3d6174a0b9 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Sep 18 15:43:51 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Sep 20 15:52:16 2019 +0200 Add a SAL_INFO for SwVbaDocuments::Open() Change-Id: I0c62864f3efa53dde0dc78482d8e9c7ffc35b6ee (cherry picked from commit 0993ccb56eba6e52d5b3b00f60ea069571f2554a) Reviewed-on: https://gerrit.libreoffice.org/79255 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/sw/source/ui/vba/vbadocuments.cxx b/sw/source/ui/vba/vbadocuments.cxx index c2566cbc7a35..c1edf85a9071 100644 --- a/sw/source/ui/vba/vbadocuments.cxx +++ b/sw/source/ui/vba/vbadocuments.cxx @@ -116,6 +116,8 @@ SwVbaDocuments::Close( const uno::Any& /*SaveChanges*/, const uno::Any& /*Origin uno::Any SAL_CALL SwVbaDocuments::Open( const OUString& Filename, const uno::Any& /*ConfirmConversions*/, const uno::Any& ReadOnly, const uno::Any& /*AddToRecentFiles*/, const uno::Any& /*PasswordDocument*/, const uno::Any& /*PasswordTemplate*/, const uno::Any& /*Revert*/, const uno::Any& /*WritePasswordDocument*/, const uno::Any& /*WritePasswordTemplate*/, const uno::Any& /*Format*/, const uno::Any& /*Encoding*/, const uno::Any& /*Visible*/, const uno::Any& /*OpenAndRepair*/, const uno::Any& /*DocumentDirection*/, const uno::Any& /*NoEncodingDialog*/, const uno::Any& /*XMLTransform*/ ) { + SAL_INFO("sw.vba", "Documents.Open(Filename:=" << Filename << ",ReadOnly:=" << ReadOnly << ")"); + // we need to detect if this is a URL, if not then assume it's a file path OUString aURL; INetURLObject aObj; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits