Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
feb6e709
Kaydet (Commit)
feb6e709
authored
Tem 30, 2013
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#55955 select first column if possible
Change-Id: I131cb0395c481d9cc1de210abc207221dab14bf4
üst
04f4d4bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gridctrl.cxx
svx/source/fmcomp/gridctrl.cxx
+6
-0
No files found.
svx/source/fmcomp/gridctrl.cxx
Dosyayı görüntüle @
feb6e709
...
@@ -1604,6 +1604,12 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, sal_uInt
...
@@ -1604,6 +1604,12 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, sal_uInt
if
(
nCurPos
==
BROWSER_INVALIDID
||
nCurPos
>=
ColCount
())
if
(
nCurPos
==
BROWSER_INVALIDID
||
nCurPos
>=
ColCount
())
nCurPos
=
0
;
nCurPos
=
0
;
// Column zero is a valid choice and guaranteed to exist,
// but invisible to the user; if we have at least one
// user-visible column, go to that one.
if
(
nCurPos
==
0
&&
ColCount
()
>
1
)
nCurPos
=
1
;
// there are rows so go to the selected current column
// there are rows so go to the selected current column
if
(
nRecordCount
)
if
(
nRecordCount
)
GoToRowColumnId
(
0
,
GetColumnId
(
nCurPos
));
GoToRowColumnId
(
0
,
GetColumnId
(
nCurPos
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment