diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-26 17:31:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-26 17:31:21 +0100 |
commit | ad6515f48ced36ab9d10840aa60670fc41d25c6b (patch) | |
tree | 6ca9b1c92c00ce3ca490d44c4a0623cd805d6da7 /editeng | |
parent | d57ba3fb9076b46b4aa10468bad1f96a6bee87d8 (diff) |
WaE: -Wsometimes-uninitialized
Change-Id: Ia46d44e45a30761cc366273cda4fa62b83a79430
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 5f29334efd9a..0ab43a383e22 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -2129,7 +2129,7 @@ void ImpEditView::dragOver(const css::datatransfer::dnd::DropTargetDragEvent& rD tools::Rectangle aEditCursor; if ( pDragAndDropInfo->bOutlinerMode ) { - long nDDYPos; + long nDDYPos(0); if ( pDragAndDropInfo->nOutlinerDropDest < pEditEngine->GetEditDoc().Count() ) { ParaPortion* pPPortion = pEditEngine->GetParaPortions().SafeGetObject( pDragAndDropInfo->nOutlinerDropDest ); |