INTEGRATION: CWS fwk83_SRC680 (1.196.44); FILE MERGED

2008/01/24 12:01:43 mav 1.196.44.1: #i85334# do not ignore warnings from SfxMedium
This commit is contained in:
Ivo Hinkelmann 2008-02-05 11:28:37 +00:00
parent 5aa53b52e3
commit 3d4e4d90d6

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: docfile.cxx,v $ * $RCSfile: docfile.cxx,v $
* *
* $Revision: 1.196 $ * $Revision: 1.197 $
* *
* last change: $Author: ihi $ $Date: 2007-11-21 16:46:34 $ * last change: $Author: ihi $ $Date: 2008-02-05 12:28:37 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -1412,7 +1412,8 @@ uno::Reference< embed::XStorage > SfxMedium::GetLastCommitReadStorage_Impl()
OSL_ENSURE( sal_False, "No possibility to get readonly version of storage from medium!\n" ); OSL_ENSURE( sal_False, "No possibility to get readonly version of storage from medium!\n" );
} }
ResetError(); if ( GetError() ) // do not remove warnings
ResetError();
} }
return pImp->m_xReadStorage; return pImp->m_xReadStorage;