diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-02 15:58:07 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-02 16:10:34 +0200 |
commit | 26e84b3852bbb9585fab76e8d3dba5dcd77f0357 (patch) | |
tree | 809407dc6eba799715c69b56f757cc431ec24a94 /sc/source/ui/dbgui/dbnamdlg.cxx | |
parent | c4afb5d19342d249fae841c24575a5f9ecacdfe2 (diff) |
TableRef: introduce ScDBDataPortion enum
... to replace
* bool bStartonly=false with ScDBDataPortion::AREA
* bool bStartonly=true with ScDBDataPortion::TOP_LEFT
and provide means to look at header row only with
ScDBDataPortion::HEADER as needed for TableRef.
Change-Id: I9f6affd04c15a6204193687b2379160eb975f56e
Diffstat (limited to 'sc/source/ui/dbgui/dbnamdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index 4ebe1d0e89e7..f35e7649b518 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -230,7 +230,7 @@ void ScDbNameDlg::Init() if ( pDBColl ) { // Feststellen, ob definierter DB-Bereich markiert wurde: - pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, true ); + pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, ScDBDataPortion::TOP_LEFT ); if ( pDBData ) { ScAddress& rStart = theCurArea.aStart; |