diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-08 17:11:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-08 17:11:22 +0100 |
commit | 912fda1d7b21e7f7c8983c449d5d50fdf000e5bc (patch) | |
tree | bc18d66ee5755359197c0984247467e5c6ca98fa /ucb/source/cacher/cachedcontentresultset.hxx | |
parent | f12b13103e300ca77af038a847df293108681d53 (diff) |
-Werror=return-local-addr
(the first case with OUString would technically be OK, but better change all
three of them)
regression introduced with 0e4ca9b0cfe015f7ab3b964d1b90de7c2cba42de "Clean up
uses of Any::getValue() in ucb"; thanks to tml for finding it via
--enable-fuzz-options
Change-Id: I79e70cff8d8b96e1eb6b0bacda52be06eb0f108b
Diffstat (limited to 'ucb/source/cacher/cachedcontentresultset.hxx')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx index 12ff58132f73..1d9b9f4ce430 100644 --- a/ucb/source/cacher/cachedcontentresultset.hxx +++ b/ucb/source/cacher/cachedcontentresultset.hxx @@ -94,15 +94,15 @@ class CachedContentResultSet throw( css::sdbc::SQLException, css::uno::RuntimeException ); - const OUString& SAL_CALL + OUString SAL_CALL getContentIdentifierString( sal_Int32 nRow ) throw( css::uno::RuntimeException ); - const css::uno::Reference< css::ucb::XContentIdentifier >& SAL_CALL + css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL getContentIdentifier( sal_Int32 nRow ) throw( css::uno::RuntimeException ); - const css::uno::Reference< css::ucb::XContent >& SAL_CALL + css::uno::Reference< css::ucb::XContent > SAL_CALL getContent( sal_Int32 nRow ) throw( css::uno::RuntimeException ); }; |