diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-04-02 14:43:31 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-04-02 21:59:20 +0300 |
commit | 958442c89237eece4ff2467a7800bca6b0be9fe7 (patch) | |
tree | 033baec93d596f455d62412887af56d01279ed20 /vbahelper/source | |
parent | 951aefb26aacd977296cef3d942b8c9d09c50930 (diff) |
Add a few SAL_INFOs
Change-Id: Ibdb013f4eeee8a2b2e29e3adb56943b5fccf9772
Diffstat (limited to 'vbahelper/source')
-rw-r--r-- | vbahelper/source/vbahelper/vbadocumentbase.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
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; } |