From 61c50286fa2b6cf455bbd067ed6e8a31105b5475 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:34:38 +0100 Subject: loplugin:deletedspecial Change-Id: I6e5fb5562d73239eae32a4ef668aa88551608be2 --- writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | 2 +- writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx | 4 ++-- writerfilter/source/rtftok/rtfvalue.hxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'writerfilter') diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx index 190bf28341a7..30215268405c 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx @@ -239,7 +239,7 @@ protected: bool inPositionV; private: - void operator =(OOXMLFastContextHandler &); // not defined + void operator =(OOXMLFastContextHandler &) SAL_DELETED_FUNCTION; /// Handles AlternateContent. Returns true, if children of the current element should be ignored. bool prepareMceContext(Token_t nElement, const css::uno::Reference& Attribs); diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx index 5a142d375702..bc5bc08a5b43 100644 --- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx +++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx @@ -88,8 +88,8 @@ public: void setIsSubstream( bool bSubstream ); private: - OOXMLFastDocumentHandler(OOXMLFastDocumentHandler &); // not defined - void operator =(OOXMLFastDocumentHandler &); // not defined + OOXMLFastDocumentHandler(OOXMLFastDocumentHandler &) SAL_DELETED_FUNCTION; + void operator =(OOXMLFastDocumentHandler &) SAL_DELETED_FUNCTION; css::uno::Reference< css::uno::XComponentContext > m_xContext; diff --git a/writerfilter/source/rtftok/rtfvalue.hxx b/writerfilter/source/rtftok/rtfvalue.hxx index dcd5bbaf81e0..970c2328dad2 100644 --- a/writerfilter/source/rtftok/rtfvalue.hxx +++ b/writerfilter/source/rtftok/rtfvalue.hxx @@ -58,7 +58,7 @@ public: RTFShape& getShape() const; bool equals(RTFValue& rOther); private: - RTFValue& operator=(RTFValue const& rOther); + RTFValue& operator=(RTFValue const& rOther) SAL_DELETED_FUNCTION; int m_nValue; OUString m_sValue; std::shared_ptr m_pAttributes; -- cgit v1.2.3