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

loplugin:deletedspecial

Change-Id: Ic3b744fe3eb3a07d7f5a7feeaf43cde2ec2b3241
üst 107d53ab
......@@ -174,9 +174,8 @@ namespace frm
void impl_lock_refreshList( ControlModelLock& _rInstanceLock );
private:
OEntryListHelper(); // never implemented
OEntryListHelper( const OEntryListHelper& ); // never implemented
OEntryListHelper& operator=( const OEntryListHelper& ); // never implemented
OEntryListHelper( const OEntryListHelper& ) SAL_DELETED_FUNCTION;
OEntryListHelper& operator=( const OEntryListHelper& ) SAL_DELETED_FUNCTION;
};
......
......@@ -144,9 +144,8 @@ namespace frm
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > m_aNewValues;
private:
ControlModelLock(); // never implemented
ControlModelLock( const ControlModelLock& ); // never implemented
ControlModelLock& operator=( const ControlModelLock& ); // never implemented
ControlModelLock( const ControlModelLock& ) SAL_DELETED_FUNCTION;
ControlModelLock& operator=( const ControlModelLock& ) SAL_DELETED_FUNCTION;
};
......
......@@ -72,8 +72,8 @@ namespace frm
virtual ~ElementDescription();
private:
ElementDescription( const ElementDescription& ); // never implemented
ElementDescription& operator=( const ElementDescription& ); // never implemented
ElementDescription( const ElementDescription& ) SAL_DELETED_FUNCTION;
ElementDescription& operator=( const ElementDescription& ) SAL_DELETED_FUNCTION;
};
typedef std::vector<InterfaceRef> OInterfaceArray;
......
......@@ -86,9 +86,8 @@ namespace frm
private:
private:
FontControlModel(); // never implemented
FontControlModel( const FontControlModel& ); // never implemented
FontControlModel& operator=( const FontControlModel& ); // never implemented
FontControlModel( const FontControlModel& ) SAL_DELETED_FUNCTION;
FontControlModel& operator=( const FontControlModel& ) SAL_DELETED_FUNCTION;
};
......
......@@ -213,9 +213,8 @@ namespace frm
sal_Int16 getFeatureId( const OUString& _rCompleteURL );
private:
OFormNavigationMapper( ); // never implemented
OFormNavigationMapper( const OFormNavigationMapper& ); // never implemented
OFormNavigationMapper& operator=( const OFormNavigationMapper& ); // never implemented
OFormNavigationMapper( const OFormNavigationMapper& ) SAL_DELETED_FUNCTION;
OFormNavigationMapper& operator=( const OFormNavigationMapper& ) SAL_DELETED_FUNCTION;
};
......
......@@ -52,8 +52,7 @@ namespace FORMS_MODULE_NAMESPACE
class OFormsModule
{
private:
OFormsModule();
// not implemented. OFormsModule is a static class
OFormsModule() SAL_DELETED_FUNCTION; //TODO: get rid of this class
protected:
// auto registration administration
......
......@@ -63,9 +63,8 @@ namespace frm
RichTextEngine( SfxItemPool* _pPool );
private:
RichTextEngine( ); // never implemented
RichTextEngine( const RichTextEngine& ); // never implemented
RichTextEngine& operator=( const RichTextEngine& ); // never implemented
RichTextEngine( const RichTextEngine& ) SAL_DELETED_FUNCTION;
RichTextEngine& operator=( const RichTextEngine& ) SAL_DELETED_FUNCTION;
private:
DECL_LINK( EditEngineStatusChanged, EditStatus* );
......
......@@ -171,9 +171,8 @@ namespace frm
static ::com::sun::star::uno::Sequence< sal_Int8 > getEditEngineTunnelId();
private:
ORichTextModel(); // never implemented
ORichTextModel( const ORichTextModel& ); // never implemented
ORichTextModel& operator=( const ORichTextModel& ); // never implemented
ORichTextModel( const ORichTextModel& ) SAL_DELETED_FUNCTION;
ORichTextModel& operator=( const ORichTextModel& ) SAL_DELETED_FUNCTION;
};
......
......@@ -46,9 +46,8 @@ namespace frm
private:
ORichTextUnoWrapper(); // never implemented
ORichTextUnoWrapper( const ORichTextUnoWrapper& ); // never implemented
ORichTextUnoWrapper& operator=( const ORichTextUnoWrapper& ); // never implemented
ORichTextUnoWrapper( const ORichTextUnoWrapper& ) SAL_DELETED_FUNCTION;
ORichTextUnoWrapper& operator=( const ORichTextUnoWrapper& ) SAL_DELETED_FUNCTION;
};
class RichTextEditSource : public SvxEditSource
......@@ -70,9 +69,8 @@ namespace frm
virtual ~RichTextEditSource();
private:
RichTextEditSource( ); // never implemented
RichTextEditSource( const RichTextEditSource& _rSource ); // never implemented
RichTextEditSource& operator=( const RichTextEditSource& ); // never implemented
RichTextEditSource( const RichTextEditSource& _rSource ) SAL_DELETED_FUNCTION;
RichTextEditSource& operator=( const RichTextEditSource& ) SAL_DELETED_FUNCTION;
};
......
......@@ -76,17 +76,10 @@ namespace frm
virtual ~AttributeHandler();
};
class AttributeHandlerFactory
namespace AttributeHandlerFactory
{
public:
static ::rtl::Reference< IAttributeHandler > getHandlerFor( AttributeId _nAttributeId, const SfxItemPool& _rEditEnginePool );
private:
AttributeHandlerFactory(); // never implemented
AttributeHandlerFactory( const AttributeHandlerFactory& ); // never implemented
AttributeHandlerFactory& operator=( const AttributeHandlerFactory& ); // never implemented
~AttributeHandlerFactory(); // never implemented
};
::rtl::Reference< IAttributeHandler > getHandlerFor( AttributeId _nAttributeId, const SfxItemPool& _rEditEnginePool );
}
class ParaAlignmentHandler : public AttributeHandler
{
......
......@@ -345,9 +345,8 @@ namespace frm
};
private:
FormOperations(); // never implemented
FormOperations( const FormOperations& ); // never implemented
FormOperations& operator=( const FormOperations& ); // never implemented
FormOperations( const FormOperations& ) SAL_DELETED_FUNCTION;
FormOperations& operator=( const FormOperations& ) SAL_DELETED_FUNCTION;
public:
class MethodGuard
......
......@@ -68,8 +68,8 @@ namespace xforms
virtual sal_Bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
ODataTypeRepository( const ODataTypeRepository& ); // never implemented
ODataTypeRepository& operator=( const ODataTypeRepository& ); // never implemented
ODataTypeRepository( const ODataTypeRepository& ) SAL_DELETED_FUNCTION;
ODataTypeRepository& operator=( const ODataTypeRepository& ) SAL_DELETED_FUNCTION;
private:
/** locates the type with the given name in our repository, or throws an exception if there is no such type
......
......@@ -74,9 +74,8 @@ namespace xforms
getName() const { return m_sName; }
private:
OXSDDataType( ); // never implemented
OXSDDataType( const OXSDDataType& ); // never implemented
OXSDDataType& operator=( const OXSDDataType& ); // never implemented
OXSDDataType( const OXSDDataType& ) SAL_DELETED_FUNCTION;
OXSDDataType& operator=( const OXSDDataType& ) SAL_DELETED_FUNCTION;
protected:
// create basic data type
......
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