summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-14 16:15:22 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:33 +0200
commitbe88947bac607013c6b7a3c923a2eccd09e50942 (patch)
tree09cdc0803437ac8c76e12c60c6644c49cb1d5dd4 /svx/inc
parentcfddda092b0c105b5be7942a94cbbd88d55677f1 (diff)
svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/GalleryControl.hxx2
-rw-r--r--svx/inc/dragmt3d.hxx6
-rw-r--r--svx/inc/galbrws2.hxx2
-rw-r--r--svx/inc/galobj.hxx12
-rw-r--r--svx/inc/xpolyimp.hxx12
5 files changed, 17 insertions, 17 deletions
diff --git a/svx/inc/GalleryControl.hxx b/svx/inc/GalleryControl.hxx
index 2393c658dfa5..eb21fcdeea46 100644
--- a/svx/inc/GalleryControl.hxx
+++ b/svx/inc/GalleryControl.hxx
@@ -44,7 +44,7 @@ public:
Window* pParentWindow);
virtual ~GalleryControl (void);
- sal_Bool GalleryKeyInput( const KeyEvent& rKEvt, Window* pWindow);
+ bool GalleryKeyInput( const KeyEvent& rKEvt, Window* pWindow);
private:
Gallery* mpGallery;
diff --git a/svx/inc/dragmt3d.hxx b/svx/inc/dragmt3d.hxx
index e224f6ee5100..70f3fda79236 100644
--- a/svx/inc/dragmt3d.hxx
+++ b/svx/inc/dragmt3d.hxx
@@ -77,7 +77,7 @@ public:
SdrDragView &rView,
const SdrMarkList& rMark,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- sal_Bool bFull = sal_False);
+ bool bFull = false);
virtual void TakeSdrDragComment(OUString& rStr) const SAL_OVERRIDE;
virtual bool BeginSdrDrag() SAL_OVERRIDE;
@@ -108,7 +108,7 @@ public:
SdrDragView &rView,
const SdrMarkList& rMark,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- sal_Bool bFull = sal_False);
+ bool bFull = false);
virtual void MoveSdrDrag(const Point& rPnt) SAL_OVERRIDE;
virtual Pointer GetSdrDragPointer() const SAL_OVERRIDE;
@@ -133,7 +133,7 @@ public:
const SdrMarkList& rMark,
SdrHdlKind eDrgHdl = HDL_MOVE,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- sal_Bool bFull = sal_False);
+ bool bFull = false);
virtual void MoveSdrDrag(const Point& rPnt) SAL_OVERRIDE;
virtual Pointer GetSdrDragPointer() const SAL_OVERRIDE;
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index 4036a1892785..56dbb31ad909 100644
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -172,7 +172,7 @@ public:
void StartDrag( Window* pWindow, const Point* pDragPoint = NULL );
void TogglePreview( Window* pWindow, const Point* pPreviewPoint = NULL );
void ShowContextMenu( Window* pWindow, const Point* pContextPoint = NULL );
- sal_Bool KeyInput( const KeyEvent& rEvt, Window* pWindow );
+ bool KeyInput( const KeyEvent& rEvt, Window* pWindow );
com::sun::star::uno::Reference< com::sun::star::frame::XFrame > GetFrame() const;
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > GetUNOContext() const { return m_xContext; }
diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx
index 79110b3ddd7e..6b960e0986c7 100644
--- a/svx/inc/galobj.hxx
+++ b/svx/inc/galobj.hxx
@@ -62,13 +62,13 @@ protected:
INetURLObject aURL;
OUString aUserName;
OUString aTitle;
- sal_Bool bIsValid;
- sal_Bool bIsThumbBmp;
+ bool bIsValid;
+ bool bIsThumbBmp;
virtual void WriteData( SvStream& rOut, const OUString& rDestDir ) const;
virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion );
- sal_Bool CreateThumb( const Graphic& rGraphic );
+ bool CreateThumb( const Graphic& rGraphic );
public:
SgaObject();
@@ -80,8 +80,8 @@ public:
virtual BitmapEx GetThumbBmp() const { return aThumbBmp; }
const GDIMetaFile& GetThumbMtf() const { return aThumbMtf; }
const INetURLObject& GetURL() const { return aURL; }
- sal_Bool IsValid() const { return bIsValid; }
- sal_Bool IsThumbBitmap() const { return bIsThumbBmp; }
+ bool IsValid() const { return bIsValid; }
+ bool IsThumbBitmap() const { return bIsThumbBmp; }
const OUString GetTitle() const;
void SetTitle( const OUString& rTitle );
@@ -122,7 +122,7 @@ class SgaObjectSvDraw : public SgaObject
private:
- sal_Bool CreateThumb( const FmFormModel& rModel );
+ bool CreateThumb( const FmFormModel& rModel );
virtual void WriteData( SvStream& rOut, const OUString& rDestDir ) const SAL_OVERRIDE;
virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion ) SAL_OVERRIDE;
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx
index 3ed0b106e14a..2b9bc67c13fe 100644
--- a/svx/inc/xpolyimp.hxx
+++ b/svx/inc/xpolyimp.hxx
@@ -28,10 +28,10 @@ class Point;
class ImpXPolygon
{
public:
- Point* pPointAry;
- sal_uInt8* pFlagAry;
- Point* pOldPointAry;
- sal_Bool bDeleteOldPoints;
+ Point* pPointAry;
+ sal_uInt8* pFlagAry;
+ Point* pOldPointAry;
+ bool bDeleteOldPoints;
sal_uInt16 nSize;
sal_uInt16 nResize;
sal_uInt16 nPoints;
@@ -49,11 +49,11 @@ public:
if ( bDeleteOldPoints )
{
delete[] (char*)pOldPointAry;
- bDeleteOldPoints = sal_False;
+ bDeleteOldPoints = false;
}
}
- void Resize( sal_uInt16 nNewSize, sal_Bool bDeletePoints = sal_True );
+ void Resize( sal_uInt16 nNewSize, bool bDeletePoints = true );
void InsertSpace( sal_uInt16 nPos, sal_uInt16 nCount );
void Remove( sal_uInt16 nPos, sal_uInt16 nCount );
};