summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-10 16:26:58 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:25 +0200
commite60fe3c7443eb2bbfdb57eab6cd9b62896b526af (patch)
tree6a41e67feeda4cea03b180e5fd395dc6f2596a36 /cui
parent2ec560e3e687746735d9debb304e9f64384daa65 (diff)
svx: sal_Bool->bool
Change-Id: I25415a15abc5c65eeca106b1f444fb9711e8ce4a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/factory/dlgfact.cxx34
-rw-r--r--cui/source/factory/dlgfact.hxx34
2 files changed, 34 insertions, 34 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index b54cda05b284..b64c7a4ee022 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -434,7 +434,7 @@ void AbstractSpellDialog_Impl::SetLanguage( sal_uInt16 nLang )
pDlg->SetLanguage(nLang);
}
-sal_Bool AbstractSpellDialog_Impl::Close()
+bool AbstractSpellDialog_Impl::Close()
{
return pDlg->Close();
}
@@ -558,7 +558,7 @@ Size AbstractSvxHlinkDlgMarkWnd_Impl::GetSizePixel() const
return pDlg->GetSizePixel();
}
-sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const
+bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const
{
return (( Window* )pDlg)->IsVisible();
}
@@ -568,12 +568,12 @@ void AbstractSvxHlinkDlgMarkWnd_Impl::Invalidate( sal_uInt16 nFlags )
(( Window* )pDlg)->Invalidate(nFlags);
}
-sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::MoveTo( Point aNewPos )const
+bool AbstractSvxHlinkDlgMarkWnd_Impl::MoveTo( Point aNewPos )const
{
return pDlg->MoveTo(aNewPos);
}
-sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::ConnectToDialog( sal_Bool bDoit )const
+bool AbstractSvxHlinkDlgMarkWnd_Impl::ConnectToDialog( bool bDoit )const
{
return pDlg->ConnectToDialog(bDoit);
}
@@ -608,7 +608,7 @@ sal_uInt16 AbstractSvxSearchSimilarityDialog_Impl::GetLonger()
return pDlg->GetLonger();
}
-sal_Bool AbstractSvxSearchSimilarityDialog_Impl::IsRelaxed()
+bool AbstractSvxSearchSimilarityDialog_Impl::IsRelaxed()
{
return pDlg->IsRelaxed();
}
@@ -853,7 +853,7 @@ Window * AbstractSvxHpLinkDlg_Impl::GetWindow()
return (Window *)pDlg;
}
-sal_Bool AbstractSvxHpLinkDlg_Impl::QueryClose()
+bool AbstractSvxHpLinkDlg_Impl::QueryClose()
{
return pDlg->QueryClose();
}
@@ -920,7 +920,7 @@ const SfxItemSet* AbstractSvxPostItDialog_Impl::GetOutputItemSet() const
{
return pDlg->GetOutputItemSet();
}
-void AbstractSvxPostItDialog_Impl::EnableTravel(sal_Bool bNext, sal_Bool bPrev)
+void AbstractSvxPostItDialog_Impl::EnableTravel(bool bNext, bool bPrev)
{
pDlg->EnableTravel( bNext, bPrev );
}
@@ -944,11 +944,11 @@ void AbstractSvxPostItDialog_Impl::HideAuthor()
{
pDlg->HideAuthor();
}
-void AbstractSvxPostItDialog_Impl::SetReadonlyPostIt(sal_Bool bDisable)
+void AbstractSvxPostItDialog_Impl::SetReadonlyPostIt(bool bDisable)
{
pDlg->SetReadonlyPostIt( bDisable );
}
-sal_Bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const
+bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const
{
return pDlg->IsOkEnabled();
}
@@ -1329,7 +1329,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateSvxSearchAttributeDial
}
AbstractSvxSearchSimilarityDialog * AbstractDialogFactory_Impl::CreateSvxSearchSimilarityDialog( Window* pParent,
- sal_Bool bRelax,
+ bool bRelax,
sal_uInt16 nOther,
sal_uInt16 nShorter,
sal_uInt16 nLonger)
@@ -1342,7 +1342,7 @@ AbstractSvxSearchSimilarityDialog * AbstractDialogFactory_Impl::CreateSvxSearchS
SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxBorderBackgroundDlg( Window* pParent,
const SfxItemSet& rCoreSet,
- sal_Bool bEnableSelector)
+ bool bEnableSelector)
{
SfxTabDialog* pDlg = new SvxBorderBackgroundDlg( pParent, rCoreSet, bEnableSelector);
return new CuiAbstractTabDialog_Impl( pDlg );
@@ -1454,13 +1454,13 @@ AbstractSvxMessDialog * AbstractDialogFactory_Impl::CreateSvxMessDialog( Window*
return new AbstractSvxMessDialog_Impl( pDlg );
}
-AbstractSvxMultiPathDialog * AbstractDialogFactory_Impl::CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed )
+AbstractSvxMultiPathDialog * AbstractDialogFactory_Impl::CreateSvxMultiPathDialog( Window* pParent, bool bEmptyAllowed )
{
SvxMultiPathDialog* pDlg = new SvxMultiPathDialog( pParent, bEmptyAllowed );
return new AbstractSvxMultiPathDialog_Impl( pDlg );
}
-AbstractSvxMultiFileDialog * AbstractDialogFactory_Impl::CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed )
+AbstractSvxMultiFileDialog * AbstractDialogFactory_Impl::CreateSvxMultiFileDialog( Window* pParent, bool bEmptyAllowed )
{
SvxMultiFileDialog* pDlg = new SvxMultiFileDialog( pParent, bEmptyAllowed );
return new AbstractSvxMultiFileDialog_Impl( pDlg );
@@ -1529,7 +1529,7 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSmo
}
AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSolarize (Window* pParent,
- const Graphic& rGraphic, sal_uInt8 nGreyThreshold, sal_Bool bInvert)
+ const Graphic& rGraphic, sal_uInt8 nGreyThreshold, bool bInvert)
{
GraphicFilterDialog* pDlg = new GraphicFilterSolarize( pParent, rGraphic, nGreyThreshold, bInvert );
return new AbstractGraphicFilterDialog_Impl( pDlg );
@@ -1537,7 +1537,7 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSol
AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterMosaic (Window* pParent,
const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight,
- sal_Bool bEnhanceEdges)
+ bool bEnhanceEdges)
{
GraphicFilterDialog* pDlg = new GraphicFilterMosaic(pParent, rGraphic, nTileWidth, nTileHeight, bEnhanceEdges);
return new AbstractGraphicFilterDialog_Impl( pDlg );
@@ -1555,7 +1555,7 @@ AbstractSvxAreaTabDialog* AbstractDialogFactory_Impl::CreateSvxAreaTabDialog( Wi
SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog
SdrModel* pModel,
const SdrObject* pObj ,
- sal_Bool bHasObj)
+ bool bHasObj)
{
SfxTabDialog* pDlg = new SvxLineTabDialog( pParent, pAttr, pModel,pObj,bHasObj );
return new CuiAbstractTabDialog_Impl( pDlg );
@@ -1616,7 +1616,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
AbstractSvxPostItDialog* AbstractDialogFactory_Impl::CreateSvxPostItDialog( Window* pParent,
const SfxItemSet& rCoreSet,
- sal_Bool bPrevNext )
+ bool bPrevNext )
{
SvxPostItDialog* pDlg = new SvxPostItDialog( pParent, rCoreSet, bPrevNext );
return new AbstractSvxPostItDialog_Impl( pDlg );
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 4f90936e35e1..ee41b25021f3 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -207,7 +207,7 @@ class AbstractSpellDialog_Impl : public AbstractSpellDialog
public:
DECL_ABSTDLG_BASE(AbstractSpellDialog_Impl, svx::SpellDialog)
virtual void SetLanguage( sal_uInt16 nLang );
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Invalidate();
virtual Window* GetWindow();
virtual SfxBindings& GetBindings();
@@ -279,12 +279,12 @@ class AbstractSvxHlinkDlgMarkWnd_Impl : public AbstractSvxHlinkDlgMarkWnd
{
DECL_ABSTDLG_BASE(AbstractSvxHlinkDlgMarkWnd_Impl,SvxHlinkDlgMarkWnd)
virtual void Hide() SAL_OVERRIDE;
- virtual sal_Bool IsVisible() const ;
+ virtual bool IsVisible() const ;
virtual void Invalidate( sal_uInt16 nFlags = 0 );
virtual void SetSizePixel( const Size& rNewSize );
virtual Size GetSizePixel() const;
- virtual sal_Bool MoveTo ( Point aNewPos )const;
- virtual sal_Bool ConnectToDialog( sal_Bool bDoit = sal_True )const;
+ virtual bool MoveTo( Point aNewPos ) const;
+ virtual bool ConnectToDialog( bool bDoit = true )const;
virtual void RefreshTree ( OUString aStrURL ) ;
virtual void SelectEntry ( OUString aStrMark );
virtual sal_uInt16 SetError( sal_uInt16 nError) ;
@@ -298,7 +298,7 @@ class AbstractSvxSearchSimilarityDialog_Impl :public AbstractSvxSearchSimilarity
virtual sal_uInt16 GetOther();
virtual sal_uInt16 GetShorter();
virtual sal_uInt16 GetLonger();
- virtual sal_Bool IsRelaxed();
+ virtual bool IsRelaxed();
};
class SvxJSearchOptionsDialog;
@@ -424,7 +424,7 @@ class AbstractSvxHpLinkDlg_Impl :public AbstractSvxHpLinkDlg
{
DECL_ABSTDLG_BASE(AbstractSvxHpLinkDlg_Impl,SvxHpLinkDlg)
virtual Window* GetWindow();
- virtual sal_Bool QueryClose();
+ virtual bool QueryClose();
};
class FmSearchDialog;
@@ -489,14 +489,14 @@ class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog
virtual const SfxItemSet* GetOutputItemSet() const;
virtual void SetPrevHdl( const Link& rLink ) ;
virtual void SetNextHdl( const Link& rLink ) ;
- virtual void EnableTravel(sal_Bool bNext, sal_Bool bPrev) ;
+ virtual void EnableTravel(bool bNext, bool bPrev) ;
virtual OUString GetNote() ;
virtual void SetNote(const OUString& rTxt) ;
virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) ;
virtual void DontChangeAuthor() ;
virtual void HideAuthor() ;
- virtual void SetReadonlyPostIt(sal_Bool bDisable) ;
- virtual sal_Bool IsOkEnabled() const ;
+ virtual void SetReadonlyPostIt(bool bDisable) ;
+ virtual bool IsOkEnabled() const;
virtual Window * GetWindow();
private:
Link aNextHdl;
@@ -583,7 +583,7 @@ public:
const SfxItemSet& rCoreSet);
virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent,
const SfxItemSet& rCoreSet,
- sal_Bool bEnableSelector = sal_False) ;
+ bool bEnableSelector = false) ;
virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent,
const SfxItemSet* pAttr,
const SdrView* pView,
@@ -620,7 +620,7 @@ public:
SearchAttrItemList& rLst,
const sal_uInt16* pWhRanges);
virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent,
- sal_Bool bRelax,
+ bool bRelax,
sal_uInt16 nOther,
sal_uInt16 nShorter,
sal_uInt16 nLonger);
@@ -643,8 +643,8 @@ public:
virtual AbstractSvxMessDialog * CreateSvxMessDialog( Window* pParent, sal_uInt32 nResId,
const OUString& rText, const OUString& rDesc,
Image* pImg = NULL );
- virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False );
- virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False );
+ virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, bool bEmptyAllowed = false );
+ virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, bool bEmptyAllowed = false );
virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (Window* pParent,
SfxBindings* pBindings,
sal_uInt32 nResId);
@@ -663,10 +663,10 @@ public:
const Graphic& rGraphic, double nRadius);
virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent,
const Graphic& rGraphic, sal_uInt8 nGreyThreshold,
- sal_Bool bInvert);
+ bool bInvert);
virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (Window* pParent,
const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight,
- sal_Bool bEnhanceEdges);
+ bool bEnhanceEdges);
virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( Window* pParent,
const SfxItemSet* pAttr,
SdrModel* pModel,
@@ -674,10 +674,10 @@ public:
virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr,
SdrModel* pModel,
const SdrObject* pObj = NULL,
- sal_Bool bHasObj = sal_True );
+ bool bHasObj = true );
virtual AbstractSvxPostItDialog* CreateSvxPostItDialog( Window* pParent,
const SfxItemSet& rCoreSet,
- sal_Bool bPrevNext = sal_False );
+ bool bPrevNext = false );
// For TabPage
virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId );