diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/source/ui/vba/vbaview.cxx | |
parent | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff) |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/source/ui/vba/vbaview.cxx')
-rw-r--r-- | sw/source/ui/vba/vbaview.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/vba/vbaview.cxx b/sw/source/ui/vba/vbaview.cxx index 666d2aab65a3..af40d8ea7870 100644 --- a/sw/source/ui/vba/vbaview.cxx +++ b/sw/source/ui/vba/vbaview.cxx @@ -192,7 +192,7 @@ SwVbaView::setSplitSpecial( ::sal_Int32/* _splitspecial */) throw (css::uno::Run sal_Bool SAL_CALL SwVbaView::getTableGridLines() throw (css::uno::RuntimeException, std::exception) { - sal_Bool bShowTableGridLine = sal_False; + bool bShowTableGridLine = false; mxViewSettings->getPropertyValue("ShowTableBoundaries") >>= bShowTableGridLine; return bShowTableGridLine; } @@ -207,7 +207,7 @@ SwVbaView::setTableGridLines( sal_Bool _tablegridlines ) throw (css::uno::Runtim SwVbaView::getType() throw (css::uno::RuntimeException, std::exception) { // FIXME: handle wdPrintPreview type - sal_Bool bOnlineLayout = sal_False; + bool bOnlineLayout = false; mxViewSettings->getPropertyValue("ShowOnlineLayout") >>= bOnlineLayout; return bOnlineLayout ? word::WdViewType::wdWebView : word::WdViewType::wdPrintView; } @@ -307,7 +307,7 @@ uno::Reference< text::XTextRange > SwVbaView::getHFTextRange( sal_Int32 nType ) if ( aPageStyleName == "First Page" ) { // go to the beginning of where the next style is used - sal_Bool hasNextPage = sal_False; + bool hasNextPage = false; xStyle = word::getCurrentPageStyle( mxModel ); do { @@ -328,9 +328,9 @@ uno::Reference< text::XTextRange > SwVbaView::getHFTextRange( sal_Int32 nType ) xStyle = word::getCurrentPageStyle( mxModel ); uno::Reference< beans::XPropertySet > xPageProps( xStyle, uno::UNO_QUERY_THROW ); - sal_Bool isOn = sal_False; + bool isOn = false; xPageProps->getPropertyValue( aPropIsOn ) >>= isOn; - sal_Bool isShared = sal_False; + bool isShared = false; xPageProps->getPropertyValue( aPropIsShared ) >>= isShared; if( !isOn ) { |