summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-10 16:33:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-10 16:34:14 +0100
commitcf6516632379688fa2b4c66f5e1644355fb424fe (patch)
treea28a2882acabc445121ff3baeda76b2f3e8bf031 /sc/source/ui/inc
parent07d01742c69f1c0335bc7e1b57abd8341ce255e7 (diff)
WaE: unsafe mix of bool and sal_Bool
Change-Id: Ie2fcc1a5404c62dc15b98f99f89631795df91b01
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/areasdlg.hxx2
-rw-r--r--sc/source/ui/inc/autofmt.hxx4
-rw-r--r--sc/source/ui/inc/docfunc.hxx4
-rw-r--r--sc/source/ui/inc/docsh.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx
index fafd293a2a4b..a085e9fec075 100644
--- a/sc/source/ui/inc/areasdlg.hxx
+++ b/sc/source/ui/inc/areasdlg.hxx
@@ -89,7 +89,7 @@ private:
void Impl_Reset();
sal_Bool Impl_CheckRefStrings();
void Impl_FillLists();
- sal_Bool Impl_GetItem( Edit* pEd, SfxStringItem& rItem );
+ bool Impl_GetItem( Edit* pEd, SfxStringItem& rItem );
// Handler:
DECL_LINK( Impl_SelectHdl, ListBox* );
diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx
index 4950341129dc..8c020bca308c 100644
--- a/sc/source/ui/inc/autofmt.hxx
+++ b/sc/source/ui/inc/autofmt.hxx
@@ -71,7 +71,7 @@ private:
VirtualDevice aVD;
SvtScriptedTextHelper aScriptedText;
::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > xBreakIter;
- sal_Bool bFitWidth;
+ bool bFitWidth;
svx::frame::Array maArray; /// Implementation to draw the frame borders.
bool mbRTL;
Size aPrvSize;
@@ -90,7 +90,7 @@ private:
//-------------------------------------------
SC_DLLPRIVATE void Init ();
SC_DLLPRIVATE void DoPaint ( const Rectangle& rRect );
- SC_DLLPRIVATE void CalcCellArray ( sal_Bool bFitWidth );
+ SC_DLLPRIVATE void CalcCellArray ( bool bFitWidth );
SC_DLLPRIVATE void CalcLineMap ();
SC_DLLPRIVATE void PaintCells ();
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index e7f6b4dd2980..9ea375a869eb 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -132,9 +132,9 @@ public:
virtual bool SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bool bApi );
virtual bool SetTabBgColor( ScUndoTabColorInfo::List& rUndoTabColorList, bool bRecord, bool bApi );
- virtual sal_Bool SetTableVisible( SCTAB nTab, sal_Bool bVisible, sal_Bool bApi );
+ virtual sal_Bool SetTableVisible( SCTAB nTab, bool bVisible, sal_Bool bApi );
- virtual sal_Bool SetLayoutRTL( SCTAB nTab, sal_Bool bRTL, sal_Bool bApi );
+ virtual sal_Bool SetLayoutRTL( SCTAB nTab, bool bRTL, sal_Bool bApi );
virtual SC_DLLPUBLIC sal_Bool
SetWidthOrHeight( sal_Bool bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRanges,
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 56f6c934b667..157daf45ae88 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -360,7 +360,7 @@ public:
virtual SfxStyleSheetBasePool* GetStyleSheetPool();
- void SetInplace( sal_Bool bInplace );
+ void SetInplace( bool bInplace );
bool IsEmpty() const;
void SetEmpty(bool bSet);