summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-19 00:12:25 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-20 00:56:05 +0100
commit3cd1826368c9a6573b4e1c6ce867809c502bd25d (patch)
tree0afbdb893b7600e4e32721b387f069de3ea69849 /sfx2/source
parent1e2c5f68119d8856b2da1497c29a09e6dc8f06e9 (diff)
sfx2: SAL_WARN on the early error return
Change-Id: I77269323a54309658d959adc3076f0d7af0353ce
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/objstor.cxx3
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" );