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

coverity#738901 Uninitialized scalar field

Change-Id: If11660802f7c37017aa60bf85be6d77ea6c63f40
üst f49a97af
...@@ -4878,11 +4878,25 @@ SwEditWin::SwEditWin(Window *pParent, SwView &rMyView): ...@@ -4878,11 +4878,25 @@ SwEditWin::SwEditWin(Window *pParent, SwView &rMyView):
m_nDropAction( 0 ), m_nDropAction( 0 ),
m_nDropDestination( 0 ), m_nDropDestination( 0 ),
m_eBezierMode(SID_BEZIER_INSERT),
m_nInsFrmColCount( 1 ), m_nInsFrmColCount( 1 ),
m_eDrawMode(OBJ_NONE), m_eDrawMode(OBJ_NONE),
m_bLockInput(sal_False), m_bMBPressed(false),
m_bObjectSelect( sal_False ), m_bInsDraw(false),
m_bInsFrm(false),
m_bIsInMove(false),
m_bIsInDrag(false),
m_bOldIdle(false),
m_bOldIdleSet(false),
m_bTblInsDelMode(false),
m_bTblIsInsMode(false),
m_bChainMode(false),
m_bWasShdwCrsr(false),
m_bLockInput(false),
m_bIsRowDrag(false),
m_bUseInputLanguage(false),
m_bObjectSelect(false),
m_nKS_NUMDOWN_Count(0), m_nKS_NUMDOWN_Count(0),
m_nKS_NUMINDENTINC_Count(0), m_nKS_NUMINDENTINC_Count(0),
m_aFrameControlsManager( this ) m_aFrameControlsManager( this )
......
...@@ -111,12 +111,12 @@ friend void PageNumNotify( SwViewShell* pVwSh, ...@@ -111,12 +111,12 @@ friend void PageNumNotify( SwViewShell* pVwSh,
int m_aActHitType; // current mouse pointer int m_aActHitType; // current mouse pointer
sal_uLong m_nDropFormat; // format from the last QueryDrop sal_uLong m_nDropFormat; // format from the last QueryDrop
sal_uInt16 m_nDropAction; // action from the last QueryDrop sal_uInt16 m_nDropAction; // action from the last QueryDrop
sal_uInt16 m_nDropDestination; // destination from the last QueryDrop sal_uInt16 m_nDropDestination; // destination from the last QueryDrop
sal_uInt16 m_eBezierMode; sal_uInt16 m_eBezierMode;
sal_uInt16 m_nInsFrmColCount; // column number for interactive frame sal_uInt16 m_nInsFrmColCount; // column number for interactive frame
SdrObjKind m_eDrawMode; SdrObjKind m_eDrawMode;
sal_Bool m_bMBPressed : 1, sal_Bool m_bMBPressed : 1,
m_bInsDraw : 1, m_bInsDraw : 1,
...@@ -232,13 +232,13 @@ public: ...@@ -232,13 +232,13 @@ public:
inline void SetSdrDrawMode( SdrObjKind eSdrObjectKind ) { m_eDrawMode = eSdrObjectKind; SetObjectSelect( sal_False ); } inline void SetSdrDrawMode( SdrObjKind eSdrObjectKind ) { m_eDrawMode = eSdrObjectKind; SetObjectSelect( sal_False ); }
void StdDrawMode( SdrObjKind eSdrObjectKind, sal_Bool bObjSelect ); void StdDrawMode( SdrObjKind eSdrObjectKind, sal_Bool bObjSelect );
sal_Bool IsFrmAction() { return (m_bInsFrm); } bool IsFrmAction() const { return (m_bInsFrm); }
inline sal_uInt16 GetBezierMode() { return m_eBezierMode; } sal_uInt16 GetBezierMode() const { return m_eBezierMode; }
void SetBezierMode(sal_uInt16 eBezMode) { m_eBezierMode = eBezMode; } void SetBezierMode(sal_uInt16 eBezMode) { m_eBezierMode = eBezMode; }
void EnterDrawTextMode(const Point& aDocPos); // turn on DrawTextEditMode void EnterDrawTextMode(const Point& aDocPos); // turn on DrawTextEditMode
void InsFrm(sal_uInt16 nCols); void InsFrm(sal_uInt16 nCols);
void StopInsFrm(); void StopInsFrm();
sal_uInt16 GetFrmColCount() const {return m_nInsFrmColCount;} // column number for interactive frame sal_uInt16 GetFrmColCount() const {return m_nInsFrmColCount;} // column number for interactive frame
void SetChainMode( sal_Bool bOn ); void SetChainMode( sal_Bool bOn );
......
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