diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-19 00:12:25 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-20 00:56:05 +0100 |
commit | 3cd1826368c9a6573b4e1c6ce867809c502bd25d (patch) | |
tree | 0afbdb893b7600e4e32721b387f069de3ea69849 /sfx2/source | |
parent | 1e2c5f68119d8856b2da1497c29a09e6dc8f06e9 (diff) |
sfx2: SAL_WARN on the early error return
Change-Id: I77269323a54309658d959adc3076f0d7af0353ce
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 722630f6db57..68dff6ccf873 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1325,7 +1325,10 @@ bool SfxObjectShell::SaveTo_Impl // TODO/LATER: error handling if( rMedium.GetErrorCode() || pMedium->GetErrorCode() || GetErrorCode() ) + { + SAL_WARN("sfx.doc", "SfxObjectShell::SaveTo_Impl: very early error return"); return false; + } AddLog( OSL_LOG_PREFIX "Locking" ); |