diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:43:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:43:38 +0000 |
commit | 610ee2ca8592b5e78bc1cb62c5087073812684ff (patch) | |
tree | f2ebf3584e967788aaf05858ff347d835af1c85a /svx/source/fmcomp/gridctrl.cxx | |
parent | ebc2eed9f53b93d49c991b06c608312e55255474 (diff) |
INTEGRATION: CWS insight01 (1.62.176); FILE MERGED
2004/07/21 08:20:42 oj 1.62.176.5: RESYNC: (1.65-1.66); FILE MERGED
2004/05/28 17:12:29 oj 1.62.176.4: RESYNC: (1.64-1.65); FILE MERGED
2004/02/12 06:23:23 oj 1.62.176.3: RESYNC: (1.63-1.64); FILE MERGED
2004/01/02 17:55:27 oj 1.62.176.2: RESYNC: (1.62-1.63); FILE MERGED
2003/11/26 12:34:35 oj 1.62.176.1: #111075# change column in hide only when it is the current one
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 652ca43e65..842394f812 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: gridctrl.cxx,v $ * - * $Revision: 1.66 $ + * $Revision: 1.67 $ * - * last change: $Author: obo $ $Date: 2004-07-05 15:49:53 $ + * last change: $Author: hr $ $Date: 2004-08-02 16:43:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3476,7 +3476,8 @@ void DbGridControl::HideColumn(sal_uInt16 nId) } // and reset the focus - GoToColumnId( nNewColId ); + if ( nId == GetCurColumnId() ) + GoToColumnId( nNewColId ); } //------------------------------------------------------------------------------ |