[Libreoffice-commits] core.git: 2 commits - sw/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 7 20:59:56 UTC 2019


 sw/source/ui/vba/vbadocument.cxx  |    2 ++
 sw/source/ui/vba/vbadocuments.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit e4979457bf11a4ee4594eb2ba3f9bf9ca07fab79
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Sep 18 16:43:40 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Oct 7 22:59:00 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 <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>
    (cherry picked from commit 30f25672a86494625d525086d0a81513db119917)
    Reviewed-on: https://gerrit.libreoffice.org/80377
    Tested-by: Jenkins

diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index c8179770f0fc..894bac0aa996 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 5ff93b6b35841248d899c77a395354a42b0b9e2b
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Sep 18 15:43:51 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Oct 7 22:58:48 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 <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>
    (cherry picked from commit 3df903c1e572cf010b71ff6cce8acc3d6174a0b9)
    Reviewed-on: https://gerrit.libreoffice.org/80376
    Tested-by: Jenkins

diff --git a/sw/source/ui/vba/vbadocuments.cxx b/sw/source/ui/vba/vbadocuments.cxx
index 4a78cefa63f5..6748dc376fb9 100644
--- a/sw/source/ui/vba/vbadocuments.cxx
+++ b/sw/source/ui/vba/vbadocuments.cxx
@@ -115,6 +115,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;


More information about the Libreoffice-commits mailing list