diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:02:55 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:02:55 +0000 |
commit | 956d50bc7a2ef19a06fb4a52ab62d9f7a5622955 (patch) | |
tree | d12734a81299f592f3f3838a5b09d1878974dce6 /ucb/source/ucp/file/shell.cxx | |
parent | f5d8ea19c8133d4bf3e994cb15d88b658d6cf4c6 (diff) |
INTEGRATION: CWS calcshare2 (1.93.42); FILE MERGED
2008/03/14 21:32:36 mav 1.93.42.1: #i85794# new file locking prototype
Diffstat (limited to 'ucb/source/ucp/file/shell.cxx')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index d9218443efbe..adb6153f5ad5 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: shell.cxx,v $ - * $Revision: 1.94 $ + * $Revision: 1.95 $ * * This file is part of OpenOffice.org. * @@ -671,10 +671,11 @@ void SAL_CALL shell::page( sal_Int32 CommandId, uno::Reference< io::XInputStream > SAL_CALL shell::open( sal_Int32 CommandId, - const rtl::OUString& aUnqPath ) + const rtl::OUString& aUnqPath, + sal_Bool bLock ) throw() { - XInputStream_impl* xInputStream = new XInputStream_impl( this,aUnqPath ); // from filinpstr.hxx + XInputStream_impl* xInputStream = new XInputStream_impl( this, aUnqPath, bLock ); // from filinpstr.hxx sal_Int32 ErrorCode = xInputStream->CtorSuccess(); @@ -707,10 +708,11 @@ shell::open( sal_Int32 CommandId, uno::Reference< io::XStream > SAL_CALL shell::open_rw( sal_Int32 CommandId, - const rtl::OUString& aUnqPath ) + const rtl::OUString& aUnqPath, + sal_Bool bLock ) throw() { - XStream_impl* xStream = new XStream_impl( this,aUnqPath ); // from filstr.hxx + XStream_impl* xStream = new XStream_impl( this, aUnqPath, bLock ); // from filstr.hxx sal_Int32 ErrorCode = xStream->CtorSuccess(); |