[Libreoffice-commits] core.git: editeng/source

Caolán McNamara caolanm at redhat.com
Wed Apr 26 16:32:06 UTC 2017


 editeng/source/editeng/impedit.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ad6515f48ced36ab9d10840aa60670fc41d25c6b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 26 17:31:21 2017 +0100

    WaE: -Wsometimes-uninitialized
    
    Change-Id: Ia46d44e45a30761cc366273cda4fa62b83a79430

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 );


More information about the Libreoffice-commits mailing list