Tag: cws_src680_dba20blocker User: fs Date: 05/07/04 01:22:03 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.hxx
Log: RESYNC: (1.5-1.6); FILE MERGED File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: ModelImpl.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.hxx?r1=1.5.2.1&r2=1.5.2.2 Delta lines: +22 -4 -------------------- --- ModelImpl.hxx 23 Jun 2005 13:56:40 -0000 1.5.2.1 +++ ModelImpl.hxx 4 Jul 2005 08:22:00 -0000 1.5.2.2 @@ -303,7 +303,9 @@ /** commits all storages */ - void commitStorages(); + void commitStorages() + SAL_THROW(( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException )); + /** dispose all frames for registered controllers */ @@ -389,6 +391,22 @@ /// commits our storage void commitRootStorage(); + + /// commits a given storage if it's not readonly + static bool commitStorageIfWriteable( + const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxStorage + ) + SAL_THROW(( + ::com::sun::star::io::IOException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException + )); + + /// commits a given storage if it's not readonly, ignoring (but asserting) all errors + static bool commitStorageIfWriteable_ignoreErrors( + const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxStorage + ) + SAL_THROW(()); void clearConnections(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
