diff options
Diffstat (limited to 'ucb/source/cacher/cachedcontentresultsetstub.hxx')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultsetstub.hxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx index 592a8d8afc06..23c66f828c53 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.hxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx @@ -50,36 +50,42 @@ private: /// @throws css::uno::RuntimeException void impl_getCurrentRowContent( + std::unique_lock<std::mutex>& rGuard, css::uno::Any& rRowContent, const css::uno::Reference< css::sdbc::XRow >& xRow ); sal_Int32 - impl_getColumnCount(); + impl_getColumnCount(std::unique_lock<std::mutex>&); /// @throws css::uno::RuntimeException static void impl_getCurrentContentIdentifierString( + std::unique_lock<std::mutex>& rGuard, css::uno::Any& rAny , const css::uno::Reference< css::ucb::XContentAccess >& xContentAccess ); /// @throws css::uno::RuntimeException static void impl_getCurrentContentIdentifier( + std::unique_lock<std::mutex>& rGuard, css::uno::Any& rAny , const css::uno::Reference< css::ucb::XContentAccess >& xContentAccess ); /// @throws css::uno::RuntimeException static void impl_getCurrentContent( + std::unique_lock<std::mutex>& rGuard, css::uno::Any& rAny , const css::uno::Reference< css::ucb::XContentAccess >& xContentAccess ); /// @throws css::uno::RuntimeException void - impl_propagateFetchSizeAndDirection( sal_Int32 nFetchSize, bool bFetchDirection ); + impl_propagateFetchSizeAndDirection( std::unique_lock<std::mutex>& rGuard, sal_Int32 nFetchSize, bool bFetchDirection ); - css::ucb::FetchResult impl_fetchHelper(sal_Int32 nRowStartPosition, sal_Int32 nRowCount, bool bDirection, - std::function<void(css::uno::Any& rRowContent)> impl_loadRow); + css::ucb::FetchResult impl_fetchHelper( + std::unique_lock<std::mutex>& rGuard, + sal_Int32 nRowStartPosition, sal_Int32 nRowCount, bool bDirection, + std::function<void(std::unique_lock<std::mutex>&, css::uno::Any& rRowContent)> impl_loadRow); public: CachedContentResultSetStub( css::uno::Reference< css::sdbc::XResultSet > const & xOrigin ); |