ucb/source/ucp/image/ucpimage.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit fc3044ce56afc3fb26fac7602d931d015c39df39 Author: Jan-Marek Glogowski <glo...@fbihome.de> Date: Wed Oct 28 18:32:28 2015 +0100 ucb: GCC 4.6 also doesn't do "override" But you can use SAL_OVERRIDE instead. Change-Id: Id593aa5f734b291043dee58f0e5ac6ff8ee421ea Reviewed-on: https://gerrit.libreoffice.org/19653 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> diff --git a/ucb/source/ucp/image/ucpimage.cxx b/ucb/source/ucp/image/ucpimage.cxx index 70d0967..da44fd4 100644 --- a/ucb/source/ucp/image/ucpimage.cxx +++ b/ucb/source/ucp/image/ucpimage.cxx @@ -47,15 +47,15 @@ public: private: OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return OUString("com.sun.star.comp.ucb.ImageContentProvider"); } sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) override + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return cppu::supportsService(this, ServiceName); } css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) override + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return css::uno::Sequence<OUString>{ "com.sun.star.ucb.ImageContentProvider"}; @@ -66,7 +66,7 @@ private: throw ( css::ucb::IllegalIdentifierException, css::uno::RuntimeException, std::exception) - override + SAL_OVERRIDE { css::uno::Reference<css::uno::XComponentContext> context; { @@ -146,13 +146,13 @@ private: sal_Int32 SAL_CALL compareContentIds( css::uno::Reference<css::ucb::XContentIdentifier> const & Id1, css::uno::Reference<css::ucb::XContentIdentifier> const & Id2) - throw (css::uno::RuntimeException, std::exception) override + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return Id1->getContentIdentifier().compareTo( Id2->getContentIdentifier()); } - void SAL_CALL disposing() override { + void SAL_CALL disposing() SAL_OVERRIDE { context_.clear(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits