summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:06:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:55 +0100
commitd25b49fb17b486c540d0906825efbe8e68e78728 (patch)
treecbd8576692045f48b0247f57558e5a517cd74e9d /basctl
parent210b9a6c271e4086e012afeb7301419d58ac6768 (diff)
loplugin:deletedspecial
Change-Id: I71bfb6628bb746498ff47d6d9aba50e150757144
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/breakpoint.hxx4
-rw-r--r--basctl/source/inc/bastypes.hxx6
-rw-r--r--basctl/source/inc/dlgedmod.hxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx
index 1c265ad304e8..847f073523fe 100644
--- a/basctl/source/basicide/breakpoint.hxx
+++ b/basctl/source/basicide/breakpoint.hxx
@@ -23,6 +23,8 @@
#include <cstddef>
#include <vector>
+#include <sal/types.h>
+
class SbModule;
namespace basctl
@@ -42,7 +44,7 @@ struct BreakPoint
class BreakPointList
{
private:
- void operator =(BreakPointList); // not implemented
+ void operator =(BreakPointList) SAL_DELETED_FUNCTION;
::std::vector<BreakPoint*> maBreakPoints;
public:
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index da11bc79ff00..646fb3279a62 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -304,10 +304,8 @@ bool QueryPassword( const ::com::sun::star::uno::Reference< ::com::sun::star::sc
class ModuleInfoHelper
{
- // non-constructible class
- ModuleInfoHelper ();
- ModuleInfoHelper (const ModuleInfoHelper&);
- ModuleInfoHelper& operator = (const ModuleInfoHelper&);
+ ModuleInfoHelper (const ModuleInfoHelper&) SAL_DELETED_FUNCTION;
+ ModuleInfoHelper& operator = (const ModuleInfoHelper&) SAL_DELETED_FUNCTION;
public:
static void getObjectName( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& rLib, const OUString& rModName, OUString& rObjName );
static sal_Int32 getModuleType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& rLib, const OUString& rModName );
diff --git a/basctl/source/inc/dlgedmod.hxx b/basctl/source/inc/dlgedmod.hxx
index 9e0e5fd5a540..131d51cafb71 100644
--- a/basctl/source/inc/dlgedmod.hxx
+++ b/basctl/source/inc/dlgedmod.hxx
@@ -34,8 +34,8 @@ class DlgEdModel : public SdrModel
friend class DlgEdPage;
private:
- DlgEdModel( const DlgEdModel& ); // not implemented
- void operator=(const DlgEdModel& rSrcModel); // not implemented
+ DlgEdModel( const DlgEdModel& ) SAL_DELETED_FUNCTION;
+ void operator=(const DlgEdModel& rSrcModel) SAL_DELETED_FUNCTION;
public:
TYPEINFO_OVERRIDE();