From 6ebd7992ae774c7eb96b55c1cf39fbd922f66878 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 1 Feb 2014 15:05:32 -0600 Subject: [PATCH] coverity#707743 : Uninitialized scalar field Change-Id: I80661c2b88b7c10175e4622db7e843699d6c1686 --- dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx | 5 +++-- 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 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: