summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdrpaintwindow.hxx4
-rw-r--r--include/svx/sdshitm.hxx2
-rw-r--r--include/svx/sdtagitm.hxx4
-rw-r--r--include/svx/sdtaiitm.hxx4
-rw-r--r--include/svx/sdtcfitm.hxx2
-rw-r--r--include/svx/sdtfchim.hxx2
-rw-r--r--include/svx/sdynitm.hxx2
-rw-r--r--include/svx/srchdlg.hxx28
8 files changed, 24 insertions, 24 deletions
diff --git a/include/svx/sdrpaintwindow.hxx b/include/svx/sdrpaintwindow.hxx
index 27c546063c78..9e507ad1be86 100644
--- a/include/svx/sdrpaintwindow.hxx
+++ b/include/svx/sdrpaintwindow.hxx
@@ -121,10 +121,10 @@ public:
bool OutputToPrinter() const { return (OUTDEV_PRINTER == mrOutputDevice.GetOutDevType()); }
// Is OutDev a window?
- sal_Bool OutputToWindow() const { return (OUTDEV_WINDOW == mrOutputDevice.GetOutDevType()); }
+ bool OutputToWindow() const { return (OUTDEV_WINDOW == mrOutputDevice.GetOutDevType()); }
// Is OutDev a VirtualDevice?
- sal_Bool OutputToVirtualDevice() const { return (OUTDEV_VIRDEV == mrOutputDevice.GetOutDevType()); }
+ bool OutputToVirtualDevice() const { return (OUTDEV_VIRDEV == mrOutputDevice.GetOutDevType()); }
// Is OutDev a recording MetaFile?
bool OutputToRecordingMetaFile() const;
diff --git a/include/svx/sdshitm.hxx b/include/svx/sdshitm.hxx
index f55e3bcc03fa..7613870cabea 100644
--- a/include/svx/sdshitm.hxx
+++ b/include/svx/sdshitm.hxx
@@ -27,7 +27,7 @@
*/
class SdrShadowItem: public SdrOnOffItem {
public:
- SdrShadowItem(sal_Bool bShadow=sal_False): SdrOnOffItem(SDRATTR_SHADOW, bShadow) {}
+ SdrShadowItem(bool bShadow=false): SdrOnOffItem(SDRATTR_SHADOW, bShadow) {}
SdrShadowItem(SvStream& rIn): SdrOnOffItem(SDRATTR_SHADOW, rIn) {}
};
diff --git a/include/svx/sdtagitm.hxx b/include/svx/sdtagitm.hxx
index f51b1b10a355..65f90e91b06e 100644
--- a/include/svx/sdtagitm.hxx
+++ b/include/svx/sdtagitm.hxx
@@ -27,7 +27,7 @@
class SdrTextAutoGrowHeightItem: public SdrOnOffItem {
public:
- SdrTextAutoGrowHeightItem(sal_Bool bAuto=sal_True): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,bAuto) {}
+ SdrTextAutoGrowHeightItem(bool bAuto=true): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,bAuto) {}
SdrTextAutoGrowHeightItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,rIn) {}
};
@@ -36,7 +36,7 @@ public:
class SdrTextAutoGrowWidthItem: public SdrOnOffItem {
public:
- SdrTextAutoGrowWidthItem(sal_Bool bAuto=sal_False): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,bAuto) {}
+ SdrTextAutoGrowWidthItem(bool bAuto=false): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,bAuto) {}
SdrTextAutoGrowWidthItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,rIn) {}
};
diff --git a/include/svx/sdtaiitm.hxx b/include/svx/sdtaiitm.hxx
index a5396e9e3c74..31b84ee7a070 100644
--- a/include/svx/sdtaiitm.hxx
+++ b/include/svx/sdtaiitm.hxx
@@ -24,13 +24,13 @@
class SdrTextAniStartInsideItem: public SdrYesNoItem {
public:
- SdrTextAniStartInsideItem(sal_Bool bOn=sal_False): SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,bOn) {}
+ SdrTextAniStartInsideItem(bool bOn=false): SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,bOn) {}
SdrTextAniStartInsideItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,rIn) {}
};
class SdrTextAniStopInsideItem: public SdrYesNoItem {
public:
- SdrTextAniStopInsideItem(sal_Bool bOn=sal_False): SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,bOn) {}
+ SdrTextAniStopInsideItem(bool bOn=false): SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,bOn) {}
SdrTextAniStopInsideItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,rIn) {}
};
diff --git a/include/svx/sdtcfitm.hxx b/include/svx/sdtcfitm.hxx
index 96b89b33c667..8a9cb6172f62 100644
--- a/include/svx/sdtcfitm.hxx
+++ b/include/svx/sdtcfitm.hxx
@@ -27,7 +27,7 @@
*/
class SdrTextContourFrameItem: public SdrOnOffItem {
public:
- SdrTextContourFrameItem(sal_Bool bOn=sal_False): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {}
+ SdrTextContourFrameItem(bool bOn=false): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {}
SdrTextContourFrameItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,rIn) {}
};
diff --git a/include/svx/sdtfchim.hxx b/include/svx/sdtfchim.hxx
index d77aaea8048b..2fa0a8163dd6 100644
--- a/include/svx/sdtfchim.hxx
+++ b/include/svx/sdtfchim.hxx
@@ -26,7 +26,7 @@ class SVX_DLLPUBLIC SdrTextFixedCellHeightItem : public SfxBoolItem
public:
TYPEINFO();
- SdrTextFixedCellHeightItem( sal_Bool bUseFixedCellHeight = sal_False );
+ SdrTextFixedCellHeightItem( bool bUseFixedCellHeight = false );
SVX_DLLPRIVATE SdrTextFixedCellHeightItem( SvStream & rStream, sal_uInt16 nVersion );
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation,
diff --git a/include/svx/sdynitm.hxx b/include/svx/sdynitm.hxx
index aebed63b3245..cb1142ee10fd 100644
--- a/include/svx/sdynitm.hxx
+++ b/include/svx/sdynitm.hxx
@@ -32,7 +32,7 @@ class SVX_DLLPUBLIC SdrYesNoItem: public SfxBoolItem {
public:
TYPEINFO();
SdrYesNoItem(): SfxBoolItem() {}
- SdrYesNoItem(sal_uInt16 nId, sal_Bool bOn=sal_False): SfxBoolItem(nId,bOn) {}
+ SdrYesNoItem(sal_uInt16 nId, bool bOn=false): SfxBoolItem(nId,bOn) {}
SdrYesNoItem(sal_uInt16 nId, SvStream& rIn): SfxBoolItem(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 319727e57b66..e4fb11fcbb02 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -132,8 +132,8 @@ public:
const SearchAttrItemList* GetReplaceItemList() const
{ return pReplaceList; }
- inline sal_Bool HasSearchAttributes() const;
- inline sal_Bool HasReplaceAttributes() const;
+ inline bool HasSearchAttributes() const;
+ inline bool HasReplaceAttributes() const;
PushButton& GetReplaceBtn() { return *m_pReplaceBtn; }
@@ -141,8 +141,8 @@ public:
void SetDocWin( Window* pDocWin ) { mpDocWin = pDocWin; }
Window* GetDocWin() { return mpDocWin; }
- void SetSrchFlag( sal_Bool bSuccess = sal_False ) { mbSuccess = bSuccess; }
- sal_Bool GetSrchFlag() { return mbSuccess; }
+ void SetSrchFlag( bool bSuccess = false ) { mbSuccess = bSuccess; }
+ bool GetSrchFlag() { return mbSuccess; }
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
GetComponentInterface( sal_Bool bCreate );
@@ -152,7 +152,7 @@ public:
private:
Window* mpDocWin;
- sal_Bool mbSuccess;
+ bool mbSuccess;
VclFrame* m_pSearchFrame;
ComboBox* m_pSearchLB;
@@ -203,9 +203,9 @@ private:
CheckBox* m_pAllSheetsCB;
SfxBindings& rBindings;
- sal_Bool bWriter;
- sal_Bool bSearch;
- sal_Bool bFormat;
+ bool bWriter;
+ bool bSearch;
+ bool bFormat;
sal_uInt16 nOptions;
bool bSet;
bool bReadOnly;
@@ -250,9 +250,9 @@ private:
void Init_Impl( bool bHasItemSet );
void InitAttrList_Impl( const SfxItemSet* pSSet,
const SfxItemSet* pRSet );
- void Remember_Impl( const OUString &rStr,sal_Bool bSearch );
+ void Remember_Impl( const OUString &rStr, bool bSearch );
void PaintAttrText_Impl();
- OUString& BuildAttrText_Impl( OUString& rStr, sal_Bool bSrchFlag ) const;
+ OUString& BuildAttrText_Impl( OUString& rStr, bool bSrchFlag ) const;
void TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool );
void EnableControls_Impl( const sal_uInt16 nFlags );
@@ -265,15 +265,15 @@ private:
void ApplyTransliterationFlags_Impl( sal_Int32 nSettings );
};
-inline sal_Bool SvxSearchDialog::HasSearchAttributes() const
+inline bool SvxSearchDialog::HasSearchAttributes() const
{
- sal_Bool bLen = !m_pSearchAttrText->GetText().isEmpty();
+ bool bLen = !m_pSearchAttrText->GetText().isEmpty();
return ( m_pSearchAttrText->IsEnabled() && bLen );
}
-inline sal_Bool SvxSearchDialog::HasReplaceAttributes() const
+inline bool SvxSearchDialog::HasReplaceAttributes() const
{
- sal_Bool bLen = !m_pReplaceAttrText->GetText().isEmpty();
+ bool bLen = !m_pReplaceAttrText->GetText().isEmpty();
return ( m_pReplaceAttrText->IsEnabled() && bLen );
}