summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-20 16:07:35 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:10 +0200
commitf7074d8de59f58367b31d7266037880403ac27ef (patch)
treebe3892c58184f01b9ac690cac5cc016eabc21f4e /include/svtools
parent7a679ee19c3a18d89277c28b12bf81911acfef85 (diff)
svtools: sal_Bool->bool
Change-Id: I2044e6c1f15579b6051fad5d36fcfa8795f88953
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/imagemgr.hxx40
-rw-r--r--include/svtools/imap.hxx6
-rw-r--r--include/svtools/imapcirc.hxx16
-rw-r--r--include/svtools/imapobj.hxx20
-rw-r--r--include/svtools/imappoly.hxx18
-rw-r--r--include/svtools/imaprect.hxx14
-rw-r--r--include/svtools/inetimg.hxx4
-rw-r--r--include/svtools/inettbc.hxx28
-rw-r--r--include/svtools/insdlg.hxx2
-rw-r--r--include/svtools/ivctrl.hxx48
10 files changed, 98 insertions, 98 deletions
diff --git a/include/svtools/imagemgr.hxx b/include/svtools/imagemgr.hxx
index 59735a037411..2df64635f8dc 100644
--- a/include/svtools/imagemgr.hxx
+++ b/include/svtools/imagemgr.hxx
@@ -33,24 +33,24 @@ namespace svtools {
struct VolumeInfo
{
- sal_Bool m_bIsVolume;
- sal_Bool m_bIsRemote;
- sal_Bool m_bIsRemoveable;
- sal_Bool m_bIsFloppy;
- sal_Bool m_bIsCompactDisc;
+ bool m_bIsVolume;
+ bool m_bIsRemote;
+ bool m_bIsRemoveable;
+ bool m_bIsFloppy;
+ bool m_bIsCompactDisc;
VolumeInfo() :
- m_bIsVolume ( sal_False ),
- m_bIsRemote ( sal_False ),
- m_bIsRemoveable ( sal_False ),
- m_bIsFloppy ( sal_False ),
- m_bIsCompactDisc( sal_False ) {}
+ m_bIsVolume ( false ),
+ m_bIsRemote ( false ),
+ m_bIsRemoveable ( false ),
+ m_bIsFloppy ( false ),
+ m_bIsCompactDisc( false ) {}
- VolumeInfo( sal_Bool _bIsVolume,
- sal_Bool _bIsRemote,
- sal_Bool _bIsRemoveable,
- sal_Bool _bIsFloppy,
- sal_Bool _bIsCompactDisc ) :
+ VolumeInfo( bool _bIsVolume,
+ bool _bIsRemote,
+ bool _bIsRemoveable,
+ bool _bIsFloppy,
+ bool _bIsCompactDisc ) :
m_bIsVolume ( _bIsVolume ),
m_bIsRemote ( _bIsRemote ),
m_bIsRemoveable ( _bIsRemoveable ),
@@ -63,13 +63,13 @@ struct VolumeInfo
class SvFileInformationManager
{
private:
- SVT_DLLPRIVATE static rtl::OUString GetDescription_Impl( const INetURLObject& rObject, sal_Bool bDetectFolder );
+ SVT_DLLPRIVATE static rtl::OUString GetDescription_Impl( const INetURLObject& rObject, bool bDetectFolder );
public:
- SVT_DLLPUBLIC static Image GetImage( const INetURLObject& rURL, sal_Bool bBig = sal_False );
- SVT_DLLPUBLIC static Image GetFileImage( const INetURLObject& rURL, sal_Bool bBig = sal_False );
- SVT_DLLPUBLIC static Image GetImageNoDefault( const INetURLObject& rURL, sal_Bool bBig = sal_False );
- SVT_DLLPUBLIC static Image GetFolderImage( const svtools::VolumeInfo& rInfo, sal_Bool bBig = sal_False );
+ SVT_DLLPUBLIC static Image GetImage( const INetURLObject& rURL, bool bBig = false );
+ SVT_DLLPUBLIC static Image GetFileImage( const INetURLObject& rURL, bool bBig = false );
+ SVT_DLLPUBLIC static Image GetImageNoDefault( const INetURLObject& rURL, bool bBig = false );
+ SVT_DLLPUBLIC static Image GetFolderImage( const svtools::VolumeInfo& rInfo, bool bBig = false );
SVT_DLLPUBLIC static rtl::OUString GetDescription( const INetURLObject& rObject );
SVT_DLLPUBLIC static rtl::OUString GetFileDescription( const INetURLObject& rObject );
diff --git a/include/svtools/imap.hxx b/include/svtools/imap.hxx
index f421b2fce82d..951251d11bf0 100644
--- a/include/svtools/imap.hxx
+++ b/include/svtools/imap.hxx
@@ -79,8 +79,8 @@ public:
ImageMap& operator=( const ImageMap& rImageMap );
// Vergleichsoperator (es wird alles auf Gleichheit geprueft)
- sal_Bool operator==( const ImageMap& rImageMap );
- sal_Bool operator!=( const ImageMap& rImageMap );
+ bool operator==( const ImageMap& rImageMap );
+ bool operator!=( const ImageMap& rImageMap );
// In die Map wird ein neues IMap-Obkekt ans Ende eingefuegt
void InsertIMapObject( const IMapObject& rIMapObject );
@@ -137,7 +137,7 @@ class IMapCompat
IMapCompat() {}
IMapCompat( const IMapCompat& ) {}
IMapCompat& operator=( const IMapCompat& ) { return *this; }
- sal_Bool operator==( const IMapCompat& ) { return sal_False; }
+ bool operator==( const IMapCompat& ) { return false; }
public:
diff --git a/include/svtools/imapcirc.hxx b/include/svtools/imapcirc.hxx
index ef3926848093..1750dc7638a0 100644
--- a/include/svtools/imapcirc.hxx
+++ b/include/svtools/imapcirc.hxx
@@ -30,7 +30,7 @@ class SVT_DLLPUBLIC IMapCircleObject : public IMapObject
Point aCenter;
sal_Int32 nRadius;
- void ImpConstruct( const Point& rCenter, sal_uLong nRad, sal_Bool bPixel );
+ void ImpConstruct( const Point& rCenter, sal_uLong nRad, bool bPixel );
protected:
@@ -47,15 +47,15 @@ public:
const OUString& rDesc,
const OUString& rTarget,
const OUString& rName,
- sal_Bool bActive = sal_True,
- sal_Bool bPixelCoords = sal_True );
+ bool bActive = true,
+ bool bPixelCoords = true );
virtual ~IMapCircleObject() {};
- virtual sal_uInt16 GetType() const;
- virtual sal_Bool IsHit( const Point& rPoint ) const;
+ virtual sal_uInt16 GetType() const;
+ virtual bool IsHit( const Point& rPoint ) const;
- Point GetCenter( sal_Bool bPixelCoords = sal_True ) const;
- sal_uLong GetRadius( sal_Bool bPixelCoords = sal_True ) const;
+ Point GetCenter( bool bPixelCoords = true ) const;
+ sal_uLong GetRadius( bool bPixelCoords = true ) const;
// liefert das BoundRect des Kreis-Objektes in 1/100mm
virtual Rectangle GetBoundRect() const;
@@ -63,7 +63,7 @@ public:
void Scale( const Fraction& rFractX, const Fraction& rFracY );
using IMapObject::IsEqual;
- sal_Bool IsEqual( const IMapCircleObject& rEqObj );
+ bool IsEqual( const IMapCircleObject& rEqObj );
// Im-/Export
void WriteCERN( SvStream& rOStm, const OUString& rBaseURL ) const;
diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx
index f04cbb74781f..9c0f73b91450 100644
--- a/include/svtools/imapobj.hxx
+++ b/include/svtools/imapobj.hxx
@@ -59,7 +59,7 @@ class SVT_DLLPUBLIC IMapObject
OUString aTarget;
OUString aName;
SvxMacroTableDtor aEventList;
- sal_Bool bActive;
+ bool bActive;
protected:
sal_uInt16 nReadVersion;
@@ -84,12 +84,12 @@ public:
const OUString& rDesc,
const OUString& rTarget,
const OUString& rName,
- sal_Bool bActive );
+ bool bActive );
virtual ~IMapObject() {};
virtual sal_uInt16 GetVersion() const;
virtual sal_uInt16 GetType() const = 0;
- virtual sal_Bool IsHit( const Point& rPoint ) const = 0;
+ virtual bool IsHit( const Point& rPoint ) const = 0;
void Write ( SvStream& rOStm, const OUString& rBaseURL ) const;
void Read( SvStream& rIStm, const OUString& rBaseURL );
@@ -111,22 +111,22 @@ public:
const OUString& GetName() const { return aName; }
void SetName( const OUString& rName ) { aName = rName; }
- sal_Bool IsActive() const { return bActive; }
- void SetActive( sal_Bool bSetActive = sal_True ) { bActive = bSetActive; }
+ bool IsActive() const { return bActive; }
+ void SetActive( bool bSetActive = true ) { bActive = bSetActive; }
- sal_Bool IsEqual( const IMapObject& rEqObj );
+ bool IsEqual( const IMapObject& rEqObj );
// IMap-Events
inline const SvxMacroTableDtor& GetMacroTable() const { return aEventList;}
inline void SetMacroTable( const SvxMacroTableDtor& rTbl ) { aEventList = rTbl; }
inline const SvxMacro& GetEvent( sal_uInt16 nEvent ) const;
- inline sal_Bool HasEvent( sal_uInt16 nEvent ) const;
+ inline bool HasEvent( sal_uInt16 nEvent ) const;
void SetEvent( sal_uInt16 nEvent, const SvxMacro& );
- inline sal_Bool DelEvent( sal_uInt16 nEvent );
+ inline bool DelEvent( sal_uInt16 nEvent );
};
-inline sal_Bool IMapObject::HasEvent( sal_uInt16 nEvent ) const
+inline bool IMapObject::HasEvent( sal_uInt16 nEvent ) const
{
return aEventList.IsKeyValid( nEvent );
}
@@ -134,7 +134,7 @@ inline const SvxMacro& IMapObject::GetEvent( sal_uInt16 nEvent ) const
{
return *(aEventList.Get( nEvent ));
}
-inline sal_Bool IMapObject::DelEvent( sal_uInt16 nEvent )
+inline bool IMapObject::DelEvent( sal_uInt16 nEvent )
{
return aEventList.Erase( nEvent );
}
diff --git a/include/svtools/imappoly.hxx b/include/svtools/imappoly.hxx
index 24f8a14b510c..5c7615e1c41e 100644
--- a/include/svtools/imappoly.hxx
+++ b/include/svtools/imappoly.hxx
@@ -30,9 +30,9 @@ class SVT_DLLPUBLIC IMapPolygonObject : public IMapObject
{
Polygon aPoly;
Rectangle aEllipse;
- sal_Bool bEllipse;
+ bool bEllipse;
- SVT_DLLPRIVATE void ImpConstruct( const Polygon& rPoly, sal_Bool bPixel );
+ SVT_DLLPRIVATE void ImpConstruct( const Polygon& rPoly, bool bPixel );
protected:
@@ -40,7 +40,7 @@ protected:
virtual void WriteIMapObject( SvStream& rOStm ) const;
virtual void ReadIMapObject( SvStream& rIStm );
- sal_Bool ReadPreProLine( SvStream& rIStm, OUString& rStr );
+ bool ReadPreProLine( SvStream& rIStm, OUString& rStr );
public:
IMapPolygonObject() {};
@@ -50,26 +50,26 @@ public:
const OUString& rDesc,
const OUString& rTarget,
const OUString& rName,
- sal_Bool bActive = sal_True,
- sal_Bool bPixelCoords = sal_True );
+ bool bActive = true,
+ bool bPixelCoords = true );
virtual ~IMapPolygonObject() {};
virtual sal_uInt16 GetType() const;
- virtual sal_Bool IsHit( const Point& rPoint ) const;
+ virtual bool IsHit( const Point& rPoint ) const;
- Polygon GetPolygon( sal_Bool bPixelCoords = sal_True ) const;
+ Polygon GetPolygon( bool bPixelCoords = true ) const;
// liefert das BoundRect des Polygon-Objektes in 1/100mm
virtual Rectangle GetBoundRect() const { return aPoly.GetBoundRect(); }
- sal_Bool HasExtraEllipse() const { return bEllipse; }
+ bool HasExtraEllipse() const { return bEllipse; }
const Rectangle& GetExtraEllipse() const { return aEllipse; }
void SetExtraEllipse( const Rectangle& rEllipse );
void Scale( const Fraction& rFractX, const Fraction& rFracY );
using IMapObject::IsEqual;
- sal_Bool IsEqual( const IMapPolygonObject& rEqObj );
+ bool IsEqual( const IMapPolygonObject& rEqObj );
// Im-/Export
void WriteCERN( SvStream& rOStm, const OUString& rBaseURL ) const;
diff --git a/include/svtools/imaprect.hxx b/include/svtools/imaprect.hxx
index 35cf320b03a0..72106265577b 100644
--- a/include/svtools/imaprect.hxx
+++ b/include/svtools/imaprect.hxx
@@ -29,7 +29,7 @@ class SVT_DLLPUBLIC IMapRectangleObject : public IMapObject
{
Rectangle aRect;
- SVT_DLLPRIVATE void ImpConstruct( const Rectangle& rRect, sal_Bool bPixel );
+ SVT_DLLPRIVATE void ImpConstruct( const Rectangle& rRect, bool bPixel );
protected:
@@ -46,14 +46,14 @@ public:
const OUString& rDesc,
const OUString& rTarget,
const OUString& rName,
- sal_Bool bActive = sal_True,
- sal_Bool bPixelCoords = sal_True );
+ bool bActive = true,
+ bool bPixelCoords = true );
virtual ~IMapRectangleObject() {};
- virtual sal_uInt16 GetType() const;
- virtual sal_Bool IsHit( const Point& rPoint ) const;
+ virtual sal_uInt16 GetType() const;
+ virtual bool IsHit( const Point& rPoint ) const;
- Rectangle GetRectangle( sal_Bool bPixelCoords = sal_True ) const;
+ Rectangle GetRectangle( bool bPixelCoords = true ) const;
// liefert das BoundRect des Rechteck-Objektes in 1/100mm
virtual Rectangle GetBoundRect() const { return aRect; }
@@ -61,7 +61,7 @@ public:
void Scale( const Fraction& rFractX, const Fraction& rFracY );
using IMapObject::IsEqual;
- sal_Bool IsEqual( const IMapRectangleObject& rEqObj );
+ bool IsEqual( const IMapRectangleObject& rEqObj );
// Im-/Export
void WriteCERN( SvStream& rOStm, const OUString& rBaseURL ) const;
diff --git a/include/svtools/inetimg.hxx b/include/svtools/inetimg.hxx
index f9b86f16f9d2..1f5274e8050f 100644
--- a/include/svtools/inetimg.hxx
+++ b/include/svtools/inetimg.hxx
@@ -67,8 +67,8 @@ public:
const Size& GetSizePixel() const { return aSizePixel; }
// Im-/Export
- sal_Bool Write( SvStream& rOStm, sal_uLong nFormat ) const;
- sal_Bool Read( SvStream& rIStm, sal_uLong nFormat );
+ bool Write( SvStream& rOStm, sal_uLong nFormat ) const;
+ bool Read( SvStream& rIStm, sal_uLong nFormat );
};
#endif // INCLUDED_SVTOOLS_INETIMG_HXX
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index 0ee7b1064edc..0d14ba13d913 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -38,17 +38,17 @@ friend class SvtURLBox_Impl;
rtl::Reference< SvtMatchContext_Impl > pCtx;
SvtURLBox_Impl* pImp;
INetProtocol eSmartProtocol;
- sal_Bool bAutoCompleteMode : 1;
- sal_Bool bOnlyDirectories : 1;
- sal_Bool bCtrlClick : 1;
- sal_Bool bHistoryDisabled : 1;
- sal_Bool bNoSelection : 1;
- sal_Bool bIsAutoCompleteEnabled : 1;
+ bool bAutoCompleteMode : 1;
+ bool bOnlyDirectories : 1;
+ bool bCtrlClick : 1;
+ bool bHistoryDisabled : 1;
+ bool bNoSelection : 1;
+ bool bIsAutoCompleteEnabled : 1;
- SVT_DLLPRIVATE sal_Bool ProcessKey( const KeyCode& rCode );
- SVT_DLLPRIVATE void TryAutoComplete();
- SVT_DLLPRIVATE void UpdatePicklistForSmartProtocol_Impl();
- DECL_DLLPRIVATE_LINK( AutoCompleteHdl_Impl, void* );
+ SVT_DLLPRIVATE bool ProcessKey( const KeyCode& rCode );
+ SVT_DLLPRIVATE void TryAutoComplete();
+ SVT_DLLPRIVATE void UpdatePicklistForSmartProtocol_Impl();
+ DECL_DLLPRIVATE_LINK( AutoCompleteHdl_Impl, void* );
SVT_DLLPRIVATE void Init(bool bSetDefaultHelpID);
protected:
@@ -67,11 +67,11 @@ public:
const OUString& GetBaseURL() const { return aBaseURL; }
void SetOpenHdl( const Link& rLink ) { aOpenHdl = rLink; }
const Link& GetOpenHdl() const { return aOpenHdl; }
- void SetOnlyDirectories( sal_Bool bDir = sal_True );
- void SetNoURLSelection( sal_Bool bSet = sal_True );
+ void SetOnlyDirectories( bool bDir = true );
+ void SetNoURLSelection( bool bSet = true );
INetProtocol GetSmartProtocol() const { return eSmartProtocol; }
void SetSmartProtocol( INetProtocol eProt );
- sal_Bool IsCtrlOpen()
+ bool IsCtrlOpen()
{ return bCtrlClick; }
OUString GetURL();
void DisableHistory();
@@ -82,7 +82,7 @@ public:
void SetFilter(const OUString& _sFilter);
- inline void EnableAutocompletion( sal_Bool _bEnable = sal_True )
+ inline void EnableAutocompletion( bool _bEnable = true )
{ bIsAutoCompleteEnabled = _bEnable; }
void SetPlaceHolder( const OUString& sPlaceHolder )
{ aPlaceHolder = sPlaceHolder; }
diff --git a/include/svtools/insdlg.hxx b/include/svtools/insdlg.hxx
index 763b4ef4c44b..7bdfe48c1b68 100644
--- a/include/svtools/insdlg.hxx
+++ b/include/svtools/insdlg.hxx
@@ -71,7 +71,7 @@ class SVT_DLLPUBLIC SvPasteObjectHelper
{
public:
static OUString GetSotFormatUIName( SotFormatStringId nId );
- static sal_Bool GetEmbeddedName(const TransferableDataHelper& rData, OUString& _rName, OUString& _rSource, SotFormatStringId& _nFormat);
+ static bool GetEmbeddedName(const TransferableDataHelper& rData, OUString& _rName, OUString& _rSource, SotFormatStringId& _nFormat);
};
#endif // INCLUDED_SVTOOLS_INSDLG_HXX
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index e2b2c9717471..82ee15894e68 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -125,18 +125,18 @@ public:
const Rectangle & GetBoundRect() const { return aRect; }
- void SetFocus ( sal_Bool bSet )
+ void SetFocus ( bool bSet )
{ nFlags = ( bSet ? nFlags | ICNVIEW_FLAG_FOCUSED : nFlags & ~ICNVIEW_FLAG_FOCUSED ); }
- SvxIconChoiceCtrlTextMode GetTextMode() const { return eTextMode; }
- sal_uInt16 GetFlags() const { return nFlags; }
- sal_Bool IsSelected() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_SELECTED) !=0); }
- sal_Bool IsFocused() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_FOCUSED) !=0); }
- sal_Bool IsInUse() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_IN_USE) !=0); }
- sal_Bool IsCursored() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_CURSORED) !=0); }
- sal_Bool IsDropTarget() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_DROP_TARGET) !=0); }
- sal_Bool IsBlockingEmphasis() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_BLOCK_EMPHASIS) !=0); }
- sal_Bool IsPosLocked() const { return (sal_Bool)((nFlags & ICNVIEW_FLAG_POS_LOCKED) !=0); }
+ SvxIconChoiceCtrlTextMode GetTextMode() const { return eTextMode; }
+ sal_uInt16 GetFlags() const { return nFlags; }
+ bool IsSelected() const { return ((nFlags & ICNVIEW_FLAG_SELECTED) !=0); }
+ bool IsFocused() const { return ((nFlags & ICNVIEW_FLAG_FOCUSED) !=0); }
+ bool IsInUse() const { return ((nFlags & ICNVIEW_FLAG_IN_USE) !=0); }
+ bool IsCursored() const { return ((nFlags & ICNVIEW_FLAG_CURSORED) !=0); }
+ bool IsDropTarget() const { return ((nFlags & ICNVIEW_FLAG_DROP_TARGET) !=0); }
+ bool IsBlockingEmphasis() const { return ((nFlags & ICNVIEW_FLAG_BLOCK_EMPHASIS) !=0); }
+ bool IsPosLocked() const { return ((nFlags & ICNVIEW_FLAG_POS_LOCKED) !=0); }
// Nur bei AutoArrange gesetzt. Den Kopf der Liste gibts per SvxIconChoiceCtrl::GetPredecessorHead
SvxIconChoiceCtrlEntry* GetSuccessor() const { return pflink; }
@@ -225,15 +225,15 @@ class SVT_DLLPUBLIC SvtIconChoiceCtrl : public Control
Link _aVisRectChangedHdl;
KeyEvent* _pCurKeyEvent;
SvxIconChoiceCtrl_Impl* _pImp;
- sal_Bool _bAutoFontColor;
+ bool _bAutoFontColor;
protected:
virtual void KeyInput( const KeyEvent& rKEvt );
- virtual sal_Bool EditedEntry( SvxIconChoiceCtrlEntry*, const OUString& rNewText, sal_Bool bCancelled );
+ virtual bool EditedEntry( SvxIconChoiceCtrlEntry*, const OUString& rNewText, bool bCancelled );
virtual void DocumentRectChanged();
virtual void VisibleRectChanged();
- virtual sal_Bool EditingEntry( SvxIconChoiceCtrlEntry* pEntry );
+ virtual bool EditingEntry( SvxIconChoiceCtrlEntry* pEntry );
virtual void Command( const CommandEvent& rCEvt );
virtual void Paint( const Rectangle& rRect );
virtual void MouseButtonDown( const MouseEvent& rMEvt );
@@ -253,7 +253,7 @@ protected:
OUString GetEntryText(
SvxIconChoiceCtrlEntry* pEntry,
- sal_Bool bInplaceEdit );
+ bool bInplaceEdit );
virtual void FillLayoutData() const;
@@ -267,7 +267,7 @@ public:
void SetStyle( WinBits nWinStyle );
WinBits GetStyle() const;
- sal_Bool SetChoiceWithCursor ( sal_Bool bDo = sal_True );
+ bool SetChoiceWithCursor ( bool bDo = true );
void SetFont( const Font& rFont );
void SetPointFont( const Font& rFont );
@@ -301,9 +301,9 @@ public:
*/
void CreateAutoMnemonics( MnemonicGenerator& _rUsedMnemonics );
- sal_Bool DoKeyInput( const KeyEvent& rKEvt );
+ bool DoKeyInput( const KeyEvent& rKEvt );
- sal_Bool IsEntryEditing() const;
+ bool IsEntryEditing() const;
sal_uLong GetEntryCount() const;
SvxIconChoiceCtrlEntry* GetEntry( sal_uLong nPos ) const;
@@ -317,7 +317,7 @@ public:
// bHit==sal_False: Eintrag gilt als getroffen, wenn Position im BoundRect liegt
// ==sal_True : Bitmap oder Text muss getroffen sein
- SvxIconChoiceCtrlEntry* GetEntry( const Point& rPosPixel, sal_Bool bHit = sal_False ) const;
+ SvxIconChoiceCtrlEntry* GetEntry( const Point& rPosPixel, bool bHit = false ) const;
// in dem sal_uLong wird die Position in der Liste des gefunden Eintrags zurueckgegeben
SvxIconChoiceCtrlEntry* GetSelectedEntry( sal_uLong& rPos ) const;
@@ -326,13 +326,13 @@ public:
void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 );
#endif
- virtual sal_Bool HasBackground() const;
- virtual sal_Bool HasFont() const;
- virtual sal_Bool HasFontTextColor() const;
- virtual sal_Bool HasFontFillColor() const;
+ virtual bool HasBackground() const;
+ virtual bool HasFont() const;
+ virtual bool HasFontTextColor() const;
+ virtual bool HasFontFillColor() const;
- void SetFontColorToBackground ( sal_Bool bDo = sal_True ) { _bAutoFontColor = bDo; }
- sal_Bool AutoFontColor () { return _bAutoFontColor; }
+ void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; }
+ bool AutoFontColor () { return _bAutoFontColor; }
Point GetPixelPos( const Point& rPosLogic ) const;
void SetSelectionMode( SelectionMode eMode );