diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 15:05:32 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-01 15:30:01 -0600 |
commit | 6ebd7992ae774c7eb96b55c1cf39fbd922f66878 (patch) | |
tree | 7c449ee8daa096a8610eb8e6a2907130ad56f5eb /dbaccess | |
parent | 4a169e4203c10ec8f76b9bcb33882c82b65c7bab (diff) |
coverity#707743 : Uninitialized scalar field
Change-Id: I80661c2b88b7c10175e4622db7e843699d6c1686
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx index ea760d1c7c5e..8dfdbc7f63c9 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx @@ -40,8 +40,9 @@ OQueryDesignFieldUndoAct::~OQueryDesignFieldUndoAct() } OQueryTabWinUndoAct::OQueryTabWinUndoAct(OQueryTableView* pOwner, sal_uInt16 nCommentID) - :OQueryDesignUndoAction(pOwner, nCommentID) - ,m_pTabWin(NULL) + : OQueryDesignUndoAction(pOwner, nCommentID) + , m_pTabWin(NULL) + , m_bOwnerOfObjects(sal_False) { } diff --git a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx index 77436e770004..676c433fc325 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx @@ -35,7 +35,7 @@ namespace dbaui protected: ::std::vector<OTableConnection*> m_vTableConnection; OQueryTableWindow* m_pTabWin; - sal_Bool m_bOwnerOfObjects; + sal_Bool m_bOwnerOfObjects; // am I the only owner of the managed objects? (changes with every redo or undo) public: |