author | mickeyl <mickeyl> | 2004-04-24 13:50:11 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-24 13:50:11 (UTC) |
commit | 0e24210ea7aa2deaf2facf29c366413aa93d0482 (patch) (unidiff) | |
tree | 1adae72f49c3f5005be836e6e7525dc79fb098cd | |
parent | 9ac401fbe5c80f710757926920d734e93a7e159b (diff) | |
download | opie-0e24210ea7aa2deaf2facf29c366413aa93d0482.zip opie-0e24210ea7aa2deaf2facf29c366413aa93d0482.tar.gz opie-0e24210ea7aa2deaf2facf29c366413aa93d0482.tar.bz2 |
gcc 3.4 fixlet
-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 | |||
@@ -2086,17 +2086,17 @@ QPen Sheet::getPen(int row, int col, int vertical) | |||
2086 | 2086 | ||
2087 | void Sheet::getSelection(int *row1, int *col1, int *row2, int *col2) | 2087 | void Sheet::getSelection(int *row1, int *col1, int *row2, int *col2) |
2088 | { | 2088 | { |
2089 | int selectionNo=currentSelection(); | 2089 | int selectionNo=currentSelection(); |
2090 | if (selectionNo>=0) | 2090 | if (selectionNo>=0) |
2091 | { | 2091 | { |
2092 | QTableSelection selection(selection(selectionNo)); | 2092 | QTableSelection select(selection(selectionNo)); |
2093 | *row1=selection.topRow(); | 2093 | *row1=select.topRow(); |
2094 | *row2=selection.bottomRow(); | 2094 | *row2=select.bottomRow(); |
2095 | *col1=selection.leftCol(); | 2095 | *col1=select.leftCol(); |
2096 | *col2=selection.rightCol(); | 2096 | *col2=select.rightCol(); |
2097 | } | 2097 | } |
2098 | else | 2098 | else |
2099 | { | 2099 | { |
2100 | *row1=*row2=currentRow(); | 2100 | *row1=*row2=currentRow(); |
2101 | *col1=*col2=currentColumn(); | 2101 | *col1=*col2=currentColumn(); |
2102 | } | 2102 | } |