Diffstat (limited to 'noncore/apps/opie-sheet/sheet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/sheet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ -2090,9 +2090,9 @@ void Sheet::getSelection(int *row1, int *col1, int *row2, int *col2) 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 |