summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-18 11:23:57 +0200
committerNoel Grandin <noel@peralex.com>2014-03-18 11:27:39 +0200
commitc3e3f466571e4993c1b5e42c6d15e37c48f3a069 (patch)
tree538fb90ed2c05e725f28ff16d41fd27ca38a7573 /sw
parente399c0759812affd4f7f6e1e3aacfbcafc06ad6d (diff)
sfx2: sal_Bool->bool
Change-Id: I375a72c34e46778385a9fdc24c9ebd0f0a3f3c9b
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/inc/view.hxx6
-rw-r--r--sw/source/core/uibase/shells/textfld.cxx2
-rw-r--r--sw/source/core/uibase/uiview/view1.cxx4
-rw-r--r--sw/source/core/uibase/uiview/viewstat.cxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/uibase/inc/view.hxx b/sw/source/core/uibase/inc/view.hxx
index 8caf03f81809..aa04ee30931a 100644
--- a/sw/source/core/uibase/inc/view.hxx
+++ b/sw/source/core/uibase/inc/view.hxx
@@ -378,8 +378,8 @@ protected:
virtual void SelectShell();
- virtual void Activate(sal_Bool);
- virtual void Deactivate(sal_Bool);
+ virtual void Activate(bool);
+ virtual void Deactivate(bool);
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize );
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize );
@@ -403,7 +403,7 @@ public:
void GotFocus() const;
virtual SdrView* GetDrawView() const;
- virtual sal_Bool HasUIFeature( sal_uInt32 nFeature );
+ virtual bool HasUIFeature( sal_uInt32 nFeature );
virtual void ShowCursor( bool bOn = true );
virtual ErrCode DoVerb( long nVerb );
diff --git a/sw/source/core/uibase/shells/textfld.cxx b/sw/source/core/uibase/shells/textfld.cxx
index 8a8c88085b60..a2ba08153bb1 100644
--- a/sw/source/core/uibase/shells/textfld.cxx
+++ b/sw/source/core/uibase/shells/textfld.cxx
@@ -119,7 +119,7 @@ void SwTextShell::ExecField(SfxRequest &rReq)
if(rLink.IsVisible())
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- SfxAbstractLinksDialog* pDlg = pFact->CreateLinksDialog( pMDI, &rSh.GetLinkManager(), sal_False, &rLink );
+ SfxAbstractLinksDialog* pDlg = pFact->CreateLinksDialog( pMDI, &rSh.GetLinkManager(), false, &rLink );
if ( pDlg )
{
pDlg->Execute();
diff --git a/sw/source/core/uibase/uiview/view1.cxx b/sw/source/core/uibase/uiview/view1.cxx
index 14a3c1c4f601..975c87966f22 100644
--- a/sw/source/core/uibase/uiview/view1.cxx
+++ b/sw/source/core/uibase/uiview/view1.cxx
@@ -42,7 +42,7 @@
extern int bDocSzUpdated;
-void SwView::Activate(sal_Bool bMDIActivate)
+void SwView::Activate(bool bMDIActivate)
{
// fdo#40438 Update the layout to make sure everything is correct before showing the content
m_pWrtShell->StartAction();
@@ -115,7 +115,7 @@ void SwView::Activate(sal_Bool bMDIActivate)
SfxViewShell::Activate(bMDIActivate);
}
-void SwView::Deactivate(sal_Bool bMDIActivate)
+void SwView::Deactivate(bool bMDIActivate)
{
extern bool bFlushCharBuffer ;
// Are Characters still in the input buffer?
diff --git a/sw/source/core/uibase/uiview/viewstat.cxx b/sw/source/core/uibase/uiview/viewstat.cxx
index 7e5362e282b9..df30fefee526 100644
--- a/sw/source/core/uibase/uiview/viewstat.cxx
+++ b/sw/source/core/uibase/uiview/viewstat.cxx
@@ -512,9 +512,9 @@ void SwView::GetDrawState(SfxItemSet &rSet)
}
}
-sal_Bool SwView::HasUIFeature( sal_uInt32 nFeature )
+bool SwView::HasUIFeature( sal_uInt32 nFeature )
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
switch(nFeature)
{
case CHILDWIN_LABEL : bRet = m_pWrtShell->IsLabelDoc(); break;