Kaydet (Commit) e008aebb authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: noCopyConstructor

Change-Id: Ice596f9d05703c944d12d2c00e2364ca6950d39c
üst aca3f5ef
...@@ -316,6 +316,10 @@ class SvxIconChoiceCtrl_Impl ...@@ -316,6 +316,10 @@ class SvxIconChoiceCtrl_Impl
bool IsMnemonicChar( sal_Unicode cChar, sal_uLong& rPos ) const; bool IsMnemonicChar( sal_Unicode cChar, sal_uLong& rPos ) const;
// Copy assignment is forbidden and not implemented.
SvxIconChoiceCtrl_Impl (const SvxIconChoiceCtrl_Impl &) SAL_DELETED_FUNCTION;
SvxIconChoiceCtrl_Impl & operator= (const SvxIconChoiceCtrl_Impl &) SAL_DELETED_FUNCTION;
public: public:
long nGridDX; long nGridDX;
...@@ -512,14 +516,12 @@ public: ...@@ -512,14 +516,12 @@ public:
void CallEventListeners( sal_uLong nEvent, void* pData = NULL ); void CallEventListeners( sal_uLong nEvent, void* pData = NULL );
inline ::svt::IAccessibleFactory& GetAccessibleFactory() ::svt::IAccessibleFactory& GetAccessibleFactory()
{ {
return aAccFactory.getFactory(); return aAccFactory.getFactory();
} }
}; };
typedef std::map<sal_uInt16, SvxIconChoiceCtrlEntryPtrVec> IconChoiceMap; typedef std::map<sal_uInt16, SvxIconChoiceCtrlEntryPtrVec> IconChoiceMap;
class IcnCursor_Impl class IcnCursor_Impl
......
...@@ -500,6 +500,9 @@ void AssignmentPersistentData::ImplCommit() ...@@ -500,6 +500,9 @@ void AssignmentPersistentData::ImplCommit()
delete pConfigData; delete pConfigData;
} }
// Copy assignment is forbidden and not implemented.
AddressBookSourceDialogData (const AddressBookSourceDialogData &) SAL_DELETED_FUNCTION;
AddressBookSourceDialogData & operator= (const AddressBookSourceDialogData &) SAL_DELETED_FUNCTION;
}; };
......
...@@ -392,6 +392,10 @@ private: ...@@ -392,6 +392,10 @@ private:
static bool IsCacheableAsBitmap( const GDIMetaFile& rMtf, OutputDevice* pOut, const Size& rSz ); static bool IsCacheableAsBitmap( const GDIMetaFile& rMtf, OutputDevice* pOut, const Size& rSz );
// Copy assignment is forbidden and not implemented.
GraphicDisplayCacheEntry (const GraphicDisplayCacheEntry &) SAL_DELETED_FUNCTION;
GraphicDisplayCacheEntry & operator= (const GraphicDisplayCacheEntry &) SAL_DELETED_FUNCTION;
public: public:
static sal_uLong GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& rSz, static sal_uLong GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& rSz,
......
...@@ -92,6 +92,10 @@ class Impl3DMirrorConstructOverlay ...@@ -92,6 +92,10 @@ class Impl3DMirrorConstructOverlay
// the overlay geometry from selected objects // the overlay geometry from selected objects
drawinglayer::primitive2d::Primitive2DSequence maFullOverlay; drawinglayer::primitive2d::Primitive2DSequence maFullOverlay;
// Copy assignment is forbidden and not implemented.
Impl3DMirrorConstructOverlay (const Impl3DMirrorConstructOverlay &) SAL_DELETED_FUNCTION;
Impl3DMirrorConstructOverlay & operator= (const Impl3DMirrorConstructOverlay &) SAL_DELETED_FUNCTION;
public: public:
explicit Impl3DMirrorConstructOverlay(const E3dView& rView); explicit Impl3DMirrorConstructOverlay(const E3dView& rView);
~Impl3DMirrorConstructOverlay(); ~Impl3DMirrorConstructOverlay();
......
...@@ -39,8 +39,6 @@ class SvdProgressInfo; ...@@ -39,8 +39,6 @@ class SvdProgressInfo;
// Helper Class ImpSdrGDIMetaFileImport // Helper Class ImpSdrGDIMetaFileImport
class ImpSdrGDIMetaFileImport class ImpSdrGDIMetaFileImport
{ {
protected: protected:
...@@ -154,6 +152,11 @@ protected: ...@@ -154,6 +152,11 @@ protected:
void DoLoopActions(GDIMetaFile& rMtf, SvdProgressInfo* pProgrInfo, sal_uInt32* pActionsToReport); void DoLoopActions(GDIMetaFile& rMtf, SvdProgressInfo* pProgrInfo, sal_uInt32* pActionsToReport);
private:
// Copy assignment is forbidden and not implemented.
ImpSdrGDIMetaFileImport (const ImpSdrGDIMetaFileImport &) SAL_DELETED_FUNCTION;
ImpSdrGDIMetaFileImport & operator= (const ImpSdrGDIMetaFileImport &) SAL_DELETED_FUNCTION;
public: public:
ImpSdrGDIMetaFileImport( ImpSdrGDIMetaFileImport(
SdrModel& rModel, SdrModel& rModel,
......
...@@ -120,6 +120,10 @@ private: ...@@ -120,6 +120,10 @@ private:
RTFCellDefault* mpDefMerge; RTFCellDefault* mpDefMerge;
Reference< XTable > mxTable; Reference< XTable > mxTable;
// Copy assignment is forbidden and not implemented.
SdrTableRTFParser (const SdrTableRTFParser &) SAL_DELETED_FUNCTION;
SdrTableRTFParser & operator= (const SdrTableRTFParser &) SAL_DELETED_FUNCTION;
}; };
SdrTableRTFParser::SdrTableRTFParser( SdrTableObj& rTableObj ) SdrTableRTFParser::SdrTableRTFParser( SdrTableObj& rTableObj )
......
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