Kaydet (Commit) fe564498 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: I2a3d9deb9c71bb4dfe3ad9076d7202636001e0bb
üst 68adf20e
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <expat.h> #include <expat.h>
#include <stdexcept> #include <stdexcept>
#include <sal/types.h>
class xml_parser_exception : public std::runtime_error class xml_parser_exception : public std::runtime_error
{ {
...@@ -111,10 +112,9 @@ private: ...@@ -111,10 +112,9 @@ private:
i_xml_parser_event_handler* document_handler_; i_xml_parser_event_handler* document_handler_;
XML_Parser xml_parser_; XML_Parser xml_parser_;
// prevent copy and assignment
private: private:
xml_parser(const xml_parser&); xml_parser(const xml_parser&) SAL_DELETED_FUNCTION;
xml_parser& operator=(const xml_parser&); xml_parser& operator=(const xml_parser&) SAL_DELETED_FUNCTION;
}; };
#endif #endif
......
...@@ -50,9 +50,8 @@ namespace shell { namespace sessioninstall ...@@ -50,9 +50,8 @@ namespace shell { namespace sessioninstall
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented { throw ::com::sun::star::uno::RuntimeException(); } // not implemented
private: private:
SyncDbusSessionHelper(); // never implemented SyncDbusSessionHelper( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
SyncDbusSessionHelper( const SyncDbusSessionHelper& ); // never implemented SyncDbusSessionHelper& operator=( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
SyncDbusSessionHelper& operator=( const SyncDbusSessionHelper& ); // never implemented
}; };
}} }}
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
#ifndef INCLUDED_SHELL_SOURCE_TOOLS_LNGCONVEX_CMDLINE_HXX #ifndef INCLUDED_SHELL_SOURCE_TOOLS_LNGCONVEX_CMDLINE_HXX
#define INCLUDED_SHELL_SOURCE_TOOLS_LNGCONVEX_CMDLINE_HXX #define INCLUDED_SHELL_SOURCE_TOOLS_LNGCONVEX_CMDLINE_HXX
#include <sal/config.h>
#include <sal/types.h>
#include "defs.hxx" #include "defs.hxx"
...@@ -70,8 +74,8 @@ private: ...@@ -70,8 +74,8 @@ private:
// prevent copy and assignment // prevent copy and assignment
private: private:
CommandLine(const CommandLine&); CommandLine(const CommandLine&) SAL_DELETED_FUNCTION;
CommandLine& operator=(const CommandLine&); CommandLine& operator=(const CommandLine&) SAL_DELETED_FUNCTION;
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment