loplugin:deletedspecial

Change-Id: I2a3d9deb9c71bb4dfe3ad9076d7202636001e0bb
This commit is contained in:
Stephan Bergmann
2015-02-07 12:28:36 +01:00
parent 68adf20e1e
commit fe5644984a
3 changed files with 11 additions and 8 deletions

View File

@@ -23,6 +23,7 @@
#include <expat.h>
#include <stdexcept>
#include <sal/types.h>
class xml_parser_exception : public std::runtime_error
{
@@ -111,10 +112,9 @@ private:
i_xml_parser_event_handler* document_handler_;
XML_Parser xml_parser_;
// prevent copy and assignment
private:
xml_parser(const xml_parser&);
xml_parser& operator=(const xml_parser&);
xml_parser(const xml_parser&) SAL_DELETED_FUNCTION;
xml_parser& operator=(const xml_parser&) SAL_DELETED_FUNCTION;
};
#endif

View File

@@ -50,9 +50,8 @@ namespace shell { namespace sessioninstall
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
private:
SyncDbusSessionHelper(); // never implemented
SyncDbusSessionHelper( const SyncDbusSessionHelper& ); // never implemented
SyncDbusSessionHelper& operator=( const SyncDbusSessionHelper& ); // never implemented
SyncDbusSessionHelper( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
SyncDbusSessionHelper& operator=( const SyncDbusSessionHelper& ) SAL_DELETED_FUNCTION;
};
}}

View File

@@ -20,6 +20,10 @@
#ifndef 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"
@@ -70,8 +74,8 @@ private:
// prevent copy and assignment
private:
CommandLine(const CommandLine&);
CommandLine& operator=(const CommandLine&);
CommandLine(const CommandLine&) SAL_DELETED_FUNCTION;
CommandLine& operator=(const CommandLine&) SAL_DELETED_FUNCTION;
};
#endif