From 958442c89237eece4ff2467a7800bca6b0be9fe7 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 2 Apr 2019 14:43:31 +0300 Subject: Add a few SAL_INFOs Change-Id: Ibdb013f4eeee8a2b2e29e3adb56943b5fccf9772 --- vbahelper/source/vbahelper/vbadocumentbase.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'vbahelper') diff --git a/vbahelper/source/vbahelper/vbadocumentbase.cxx b/vbahelper/source/vbahelper/vbadocumentbase.cxx index 760c256927e9..b5979cc035b1 100644 --- a/vbahelper/source/vbahelper/vbadocumentbase.cxx +++ b/vbahelper/source/vbahelper/vbadocumentbase.cxx @@ -56,7 +56,10 @@ VbaDocumentBase::VbaDocumentBase( uno::Sequence< uno::Any> const & args, OUString VbaDocumentBase::getName() { - return VbaDocumentBase::getNameFromModel( getModel() ); + OUString sName = VbaDocumentBase::getNameFromModel( getModel() ); + SAL_INFO("vbahelper", "VbaDocumentBase::getName: '" << sName << "'"); + + return sName; } OUString VbaDocumentBase::getNameFromModel( const uno::Reference< frame::XModel >& xModel ) @@ -87,6 +90,8 @@ VbaDocumentBase::getPath() sURL = sURL.copy( 0, sURL.getLength() - aURL.GetLastName().getLength() - 1 ); ::osl::File::getSystemPathFromFileURL( sURL, sPath ); } + SAL_INFO("vbahelper", "VbaDocumentBase::getPath: '" << sPath << "'"); + return sPath; } @@ -104,6 +109,7 @@ VbaDocumentBase::getFullName() OUString sPath = getName(); //::osl::File::getSystemPathFromFileURL( getModel()->getURL(), sPath ); + SAL_INFO("vbahelper", "VbaDocumentBase::getFullName: '" << sPath << "'"); return sPath; } -- cgit