From 5ff93b6b35841248d899c77a395354a42b0b9e2b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 18 Sep 2019 15:43:51 +0300 Subject: 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 Tested-by: Tor Lillqvist (cherry picked from commit 3df903c1e572cf010b71ff6cce8acc3d6174a0b9) Reviewed-on: https://gerrit.libreoffice.org/80376 Tested-by: Jenkins --- sw/source/ui/vba/vbadocuments.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/source/ui/vba') 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; -- cgit