diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-03 23:53:08 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-03 23:53:08 +0200 |
commit | 20984798a480b84f93c63726f58dfbe8c8cb8bfc (patch) | |
tree | 86f67a1c674be92a0f0eb0d215e4f9a372403f47 /sc | |
parent | change from c-array to boost::ptr_vector (diff) | |
download | core-20984798a480b84f93c63726f58dfbe8c8cb8bfc.tar.gz core-20984798a480b84f93c63726f58dfbe8c8cb8bfc.zip |
change from sal_Bool to bool
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/datafdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/datafdlg.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx index fadc6883629d..3511261e5da8 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 bc15f8a0fa6d..ed8f7c3de92c 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; } |