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

Caolán McNamara caolanm at redhat.com
Tue Apr 14 08:10:03 PDT 2015


 sc/source/ui/view/gridwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ec5bb3f8108aef32ae314fa0a809f95e791084c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 14 16:09:22 2015 +0100

    WaE: bogus C4701 uninitialized local variable
    
    Change-Id: Ib43b844ead1720df3c93b2d2371d310af400fb29

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 838318e..54d7d81 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1775,7 +1775,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt, MouseEventSta
     if (bIsTiledRendering)
     {
         Point aPos(rMEvt.GetPosPixel());
-        SCsCOL nPosX, nNonEmptyX;
+        SCsCOL nPosX, nNonEmptyX(0);
         SCsROW nPosY;
         SCTAB nTab = pViewData->GetTabNo();
         pViewData->GetPosFromPixel(aPos.X(), aPos.Y(), eWhich, nPosX, nPosY);


More information about the Libreoffice-commits mailing list