diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 16:35:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 16:35:56 +0200 |
commit | dc28de33f6ac960bbab1f03b882ae4afd20e0ddc (patch) | |
tree | 82e53db14ea81aeb3108773979d260b9ea201652 /reportdesign | |
parent | 7edba9818e37e8dea535bfd17ba62b4351011a0b (diff) |
reportdesign: sal_Bool -> bool
Change-Id: Ia53a94f5a814d3852d4b9606c331ba19ce95a608
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/inc/ColorListener.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/DesignView.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/StartMarker.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/misc/ColorListener.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/DesignView.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/StartMarker.cxx | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/reportdesign/source/ui/inc/ColorListener.hxx b/reportdesign/source/ui/inc/ColorListener.hxx index 9a2e7a16d5e2..c38b7f492aaa 100644 --- a/reportdesign/source/ui/inc/ColorListener.hxx +++ b/reportdesign/source/ui/inc/ColorListener.hxx @@ -69,7 +69,7 @@ namespace rptui * * \param _bCollapsed */ - virtual void setCollapsed(sal_Bool _bCollapsed); + virtual void setCollapsed(bool _bCollapsed); }; } #endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLORLISTENER_HXX diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx index 96d98ba14493..18379fed6647 100644 --- a/reportdesign/source/ui/inc/DesignView.hxx +++ b/reportdesign/source/ui/inc/DesignView.hxx @@ -106,7 +106,7 @@ namespace rptui virtual void GetFocus() SAL_OVERRIDE; // set the view readonly or not - virtual void setReadOnly(sal_Bool _bReadOnly); + virtual void setReadOnly(bool _bReadOnly); virtual void initialize() SAL_OVERRIDE; diff --git a/reportdesign/source/ui/inc/StartMarker.hxx b/reportdesign/source/ui/inc/StartMarker.hxx index 361f72a809b1..9f85af132872 100644 --- a/reportdesign/source/ui/inc/StartMarker.hxx +++ b/reportdesign/source/ui/inc/StartMarker.hxx @@ -67,7 +67,7 @@ namespace rptui */ void showRuler(bool _bShow); - virtual void setCollapsed(sal_Bool _bCollapsed) SAL_OVERRIDE; + virtual void setCollapsed(bool _bCollapsed) SAL_OVERRIDE; /** zoom the ruler and view windows */ diff --git a/reportdesign/source/ui/misc/ColorListener.cxx b/reportdesign/source/ui/misc/ColorListener.cxx index 75d39d6ec27c..8c33970dcc9c 100644 --- a/reportdesign/source/ui/misc/ColorListener.cxx +++ b/reportdesign/source/ui/misc/ColorListener.cxx @@ -66,9 +66,9 @@ void OColorListener::DataChanged( const DataChangedEvent& rDCEvt ) } } -void OColorListener::setCollapsed(sal_Bool _bCollapsed) +void OColorListener::setCollapsed(bool _bCollapsed) { - if ( (m_bCollapsed ? 1 : 0) != _bCollapsed ) + if ( m_bCollapsed != _bCollapsed ) { m_bCollapsed = _bCollapsed; if ( m_aCollapsedLink.IsSet() ) diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx index 2558c8cc0c99..99fd6cba2c44 100644 --- a/reportdesign/source/ui/report/DesignView.cxx +++ b/reportdesign/source/ui/report/DesignView.cxx @@ -273,7 +273,7 @@ void ODesignView::resizeDocumentView(Rectangle& _rPlayground) } // set the view readonly or not -void ODesignView::setReadOnly(sal_Bool /*_bReadOnly*/) +void ODesignView::setReadOnly(bool /*_bReadOnly*/) { } diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx index b7e142749d38..9d565418f098 100644 --- a/reportdesign/source/ui/report/StartMarker.cxx +++ b/reportdesign/source/ui/report/StartMarker.cxx @@ -274,7 +274,7 @@ void OStartMarker::RequestHelp( const HelpEvent& rHEvt ) } } -void OStartMarker::setCollapsed(sal_Bool _bCollapsed) +void OStartMarker::setCollapsed(bool _bCollapsed) { OColorListener::setCollapsed(_bCollapsed); showRuler(_bCollapsed); |