From 0e24210ea7aa2deaf2facf29c366413aa93d0482 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 24 Apr 2004 13:50:11 +0000 Subject: gcc 3.4 fixlet --- diff --git a/noncore/apps/opie-sheet/sheet.cpp b/noncore/apps/opie-sheet/sheet.cpp index d4419af..88847da 100644 --- a/noncore/apps/opie-sheet/sheet.cpp +++ b/noncore/apps/opie-sheet/sheet.cpp @@ -2089,11 +2089,11 @@ void Sheet::getSelection(int *row1, int *col1, int *row2, int *col2) int selectionNo=currentSelection(); if (selectionNo>=0) { - QTableSelection selection(selection(selectionNo)); - *row1=selection.topRow(); - *row2=selection.bottomRow(); - *col1=selection.leftCol(); - *col2=selection.rightCol(); + QTableSelection select(selection(selectionNo)); + *row1=select.topRow(); + *row2=select.bottomRow(); + *col1=select.leftCol(); + *col2=select.rightCol(); } else { -- cgit v0.9.0.2