From 3df903c1e572cf010b71ff6cce8acc3d6174a0b9 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 --- sw/source/ui/vba/vbadocuments.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sw/source') 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; -- cgit