diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-01-20 08:59:13 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-01-20 08:59:13 +0000 |
commit | 97de8bf524f92d4635660c5e43cf162914f21852 (patch) | |
tree | 6857acad20447492b972ad4cddb631c59a385965 /sfx2 | |
parent | 46cff4fa8894a4b22c12d1b373c8fc9d0ea9909e (diff) |
INTEGRATION: CWS optstor2 (1.170.50.1.2); FILE MERGED
2005/12/12 14:17:14 mav 1.170.50.1.2.3: RESYNC: (1.172-1.174); FILE MERGED
2005/11/11 10:44:44 mav 1.170.50.1.2.2: RESYNC: (1.170.50.1-1.172); FILE MERGED
2005/10/19 09:21:24 mav 1.170.50.1.2.1: #i55785# add loging
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 8ae339facefa..91f986878bcd 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -4,9 +4,9 @@ * * $RCSfile: docfile.cxx,v $ * - * $Revision: 1.174 $ + * $Revision: 1.175 $ * - * last change: $Author: rt $ $Date: 2005-11-11 10:20:03 $ + * last change: $Author: obo $ $Date: 2006-01-20 09:59:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -185,6 +185,8 @@ #include <unotools/streamwrap.hxx> +#include <rtl/logfile.hxx> + using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ucb; @@ -1683,6 +1685,8 @@ void SfxMedium::Transfer_Impl() if ( aNameURL.Len() && ( !eError || (eError & ERRCODE_WARNING_MASK) ) ) { + RTL_LOGFILE_CONTEXT( aLog, "sfx2 (mv76033) SfxMedium::Transfer_Impl, copying to target" ); + Reference < ::com::sun::star::ucb::XCommandEnvironment > xEnv; Reference< XOutputStream > rOutStream; @@ -1948,6 +1952,8 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucb::Content& aOriginalContent, const String& aExtension, const String& aDestDir ) { + RTL_LOGFILE_CONTEXT( aLog, "sfx2 (mv76033) SfxMedium::DoInternalBackup_Impl( with destdir )" ); + if ( pImp->m_aBackupURL.getLength() ) return; // the backup was done already @@ -2016,6 +2022,8 @@ void SfxMedium::DoInternalBackup_Impl( const ::ucb::Content& aOriginalContent ) //------------------------------------------------------------------ void SfxMedium::DoBackup_Impl() { + RTL_LOGFILE_CONTEXT( aLog, "sfx2 (mv76033) SfxMedium::DoBackup_Impl" ); + // source file name is the logical name of this medium INetURLObject aSource( GetURLObject() ); |