summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-03 23:53:08 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-03 23:53:08 +0200
commit148463fac3092de7eb22635c76740715f7ca3d3b (patch)
tree1d7d7beafe1e22667a6a7df2e159cde7684a0b54
parenta660f4b2278cc2d7d45527fd0c8ada3c8b2368e8 (diff)
change from sal_Bool to bool
-rw-r--r--sc/source/ui/inc/datafdlg.hxx2
-rw-r--r--sc/source/ui/miscdlgs/datafdlg.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx
index fadc68836..3511261e5 100644
--- a/sc/source/ui/inc/datafdlg.hxx
+++ b/sc/source/ui/inc/datafdlg.hxx
@@ -73,7 +73,7 @@ private:
SCROW nStartRow;
SCROW nEndRow;
SCTAB nTab;
- sal_Bool bNoSelection;
+ bool bNoSelection;
boost::ptr_vector<FixedText> maFixedTexts;
boost::ptr_vector<Edit> maEdits;
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index bc15f8a0f..ed8f7c3de 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -286,13 +286,13 @@ IMPL_LINK( ScDataFormDlg, Impl_NewHdl, PushButton*, EMPTYARG )
ScDocShell* pDocSh = pViewData->GetDocShell();
if ( pDoc )
{
- sal_Bool bHasData = false;
+ bool bHasData = false;
boost::ptr_vector<Edit>::iterator itr = maEdits.begin(), itrEnd = maEdits.end();
for(; itr != itrEnd; ++itr)
if (!boost::is_null(itr))
if ( (*itr).GetText().Len() != 0 )
{
- bHasData = sal_True;
+ bHasData = true;
break;
}