Kaydet (Commit) 6fd75d6a authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: Iba99495f93edc1bbd8b4fbdbf25c6c6f8b8986be
üst b132bf92
...@@ -225,8 +225,8 @@ public: ...@@ -225,8 +225,8 @@ public:
AnonDBs& getAnonDBs(); AnonDBs& getAnonDBs();
const AnonDBs& getAnonDBs() const; const AnonDBs& getAnonDBs() const;
const ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly) const; const ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly) const;
ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly); ScDBData* GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly);
const ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const; const ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2); ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
ScDBData* GetDBNearCursor(SCCOL nCol, SCROW nRow, SCTAB nTab ); ScDBData* GetDBNearCursor(SCCOL nCol, SCROW nRow, SCTAB nTab );
......
...@@ -822,7 +822,7 @@ const ScDBCollection::AnonDBs& ScDBCollection::getAnonDBs() const ...@@ -822,7 +822,7 @@ const ScDBCollection::AnonDBs& ScDBCollection::getAnonDBs() const
return maAnonDBs; return maAnonDBs;
} }
const ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly) const const ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly) const
{ {
// First, search the global named db ranges. // First, search the global named db ranges.
NamedDBs::DBsType::const_iterator itr = find_if( NamedDBs::DBsType::const_iterator itr = find_if(
...@@ -844,7 +844,7 @@ const ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab ...@@ -844,7 +844,7 @@ const ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab
return NULL; return NULL;
} }
ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Bool bStartOnly) ScDBData* ScDBCollection::GetDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly)
{ {
// First, search the global named db ranges. // First, search the global named db ranges.
NamedDBs::DBsType::iterator itr = find_if( NamedDBs::DBsType::iterator itr = find_if(
......
...@@ -213,7 +213,7 @@ void ScDbNameDlg::Init() ...@@ -213,7 +213,7 @@ void ScDbNameDlg::Init()
if ( pDBColl ) if ( pDBColl )
{ {
// Feststellen, ob definierter DB-Bereich markiert wurde: // Feststellen, ob definierter DB-Bereich markiert wurde:
pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, sal_True ); pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, true );
if ( pDBData ) if ( pDBData )
{ {
ScAddress& rStart = theCurArea.aStart; ScAddress& rStart = theCurArea.aStart;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment