[Libreoffice-commits] core.git: 2 commits - svx/source sw/source
Caolán McNamara
caolanm at redhat.com
Thu Jan 23 08:08:36 PST 2014
svx/source/tbxctrls/tbunosearchcontrollers.cxx | 7 ++++---
sw/source/core/doc/docedt.cxx | 8 ++++++--
2 files changed, 10 insertions(+), 5 deletions(-)
New commits:
commit 5a4766857ad3c9172847197a262e25c1926cbab2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 23 16:07:04 2014 +0000
coverity#1158448 Uninitialized scalar field
Change-Id: I189503d88d54b32b20d5f866687214cb4af35200
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 2816f8d..2a0a14a 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -60,7 +60,9 @@ struct _SaveRedline
sal_Int32 nEndCnt;
_SaveRedline( SwRangeRedline* pR, const SwNodeIndex& rSttIdx )
- : pRedl( pR )
+ : pRedl(pR)
+ , nEnd(0)
+ , nEndCnt(0)
{
const SwPosition* pStt = pR->Start(),
* pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark();
@@ -80,7 +82,9 @@ struct _SaveRedline
}
_SaveRedline( SwRangeRedline* pR, const SwPosition& rPos )
- : pRedl( pR )
+ : pRedl(pR)
+ , nEnd(0)
+ , nEndCnt(0)
{
const SwPosition* pStt = pR->Start(),
* pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark();
commit 4bc75ba3eb07bac4c079d5de8cac6de10d93c0f1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jan 23 16:05:25 2014 +0000
coverity#1158462 Uninitialized pointer field
Change-Id: Ie5b72f4d3f357e76e233ccf412e2f5863a6999dc
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 8cedb04..2cbdc93 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -348,9 +348,10 @@ css::uno::Reference< css::frame::XStatusListener > SearchToolbarControllersManag
// FindTextToolbarController
FindTextToolbarController::FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext )
- :svt::ToolboxController( rxContext,
- css::uno::Reference< css::frame::XFrame >(),
- OUString(COMMAND_FINDTEXT) )
+ : svt::ToolboxController(rxContext, css::uno::Reference< css::frame::XFrame >(), OUString(COMMAND_FINDTEXT))
+ , m_pFindTextFieldControl(NULL)
+ , m_nDownSearchId(0)
+ , m_nUpSearchId(0)
{
}
More information about the Libreoffice-commits
mailing list