summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-14 16:09:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-14 16:09:22 +0100
commit5ec5bb3f8108aef32ae314fa0a809f95e791084c (patch)
tree90f58cb1b5c6985dbbe52ec58b422d1969e13b32 /sc
parent0ac8d1544a9b3b1b7c3c5ae5fed2943d11f8b8c9 (diff)
WaE: bogus C4701 uninitialized local variable
Change-Id: Ib43b844ead1720df3c93b2d2371d310af400fb29
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 838318ecb902..54d7d81e9de3 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);