User: rt Date: 05/06/27 01:26:14 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.hxx
Log: INTEGRATION: CWS hslqdb3 (1.4.50); FILE MERGED 2005/06/21 14:37:41 fs 1.4.50.1: #i45749# only commit storages if they're not readonly 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&r2=1.6 Delta lines: +19 -1 -------------------- --- ModelImpl.hxx 14 Jun 2005 16:34:44 -0000 1.5 +++ ModelImpl.hxx 27 Jun 2005 08:26:12 -0000 1.6 @@ -295,7 +295,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 */ @@ -381,6 +383,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]
