From 986b8dbf76b7bcf6e8a184a7576a1cea9e16658c Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 12 Aug 2014 22:27:37 +0200 Subject: [PATCH] warning C4373: 'ScTableSheetsObj::importSheet': virtual function overrides... ...'com::sun::star::sheet::XSpreadsheets2::importSheet', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers. XSpreadsheets2.hdl defines this as: virtual ::sal_Int32 SAL_CALL importSheet( const ::css::uno::Reference< ::css::sheet::XSpreadsheetDocument >& srcDoc, const ::rtl::OUString& srcName, ::sal_Int32 nDestPosition ) Change-Id: I286fa542a2124a85d7b835f257865f8a05c23f96 --- sc/inc/docuno.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 932017da9b89..da0ea2537f1d 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -450,7 +450,7 @@ public: const ::com::sun::star::uno::Reference < ::com::sun::star::sheet::XSpreadsheetDocument > & xDocSrc, const OUString& srcName, - const sal_Int32 nDestPosition) + sal_Int32 nDestPosition) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;