summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-04-02 14:43:31 +0300
committerTor Lillqvist <tml@collabora.com>2019-09-20 13:50:53 +0200
commit77b75c521dbeebe711bb0fe629a003106df0ac74 (patch)
tree8785fe386735a62c1786b7071e849076e49a8847 /vbahelper
parente14e265f5a2b3185af1a55c2f954fa426f7aee2d (diff)
Add a few SAL_INFOs
Change-Id: Ibdb013f4eeee8a2b2e29e3adb56943b5fccf9772 (cherry picked from commit 9efe10f50951bdf8e0fb3051d37ea6856c5e1dd9) Reviewed-on: https://gerrit.libreoffice.org/79202 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbadocumentbase.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentbase.cxx b/vbahelper/source/vbahelper/vbadocumentbase.cxx
index e187d3bfd603..a65377a8f5fd 100644
--- a/vbahelper/source/vbahelper/vbadocumentbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentbase.cxx
@@ -55,7 +55,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 )
@@ -86,6 +89,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;
}
@@ -94,6 +99,7 @@ VbaDocumentBase::getFullName()
{
OUString sPath = getName();
//::osl::File::getSystemPathFromFileURL( getModel()->getURL(), sPath );
+ SAL_INFO("vbahelper", "VbaDocumentBase::getFullName: '" << sPath << "'");
return sPath;
}