summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/editdoc.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-02 17:16:16 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-03 10:20:06 -0400
commit48abb149d4a88f5dcb395d1cb8c79db57f5d3303 (patch)
tree0aaa7c06ec91911b7d7acdc00a66fd1692c98b28 /editeng/source/editeng/editdoc.hxx
parenta41ea233419e4c573e889bf30df7b23fca700348 (diff)
Boolean cleanup.
Diffstat (limited to 'editeng/source/editeng/editdoc.hxx')
-rw-r--r--editeng/source/editeng/editdoc.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index bd967ca476e0..750802a091a5 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -726,11 +726,11 @@ private:
SvxFont aDefFont; //faster than ever from the pool!!
sal_uInt16 nDefTab;
- sal_Bool bIsVertical;
- sal_Bool bIsFixedCellHeight;
+ bool bIsVertical:1;
+ bool bIsFixedCellHeight:1;
- sal_Bool bOwnerOfPool;
- sal_Bool bModified;
+ bool bOwnerOfPool:1;
+ bool bModified:1;
protected:
void ImplDestroyContents();
@@ -739,8 +739,8 @@ public:
EditDoc( SfxItemPool* pItemPool );
~EditDoc();
- sal_Bool IsModified() const { return bModified; }
- void SetModified( sal_Bool b );
+ bool IsModified() const { return bModified; }
+ void SetModified( bool b );
void SetModifyHdl( const Link& rLink ) { aModifyHdl = rLink; }
Link GetModifyHdl() const { return aModifyHdl; }
@@ -751,11 +751,11 @@ public:
void SetDefTab( sal_uInt16 nTab ) { nDefTab = nTab ? nTab : DEFTAB; }
sal_uInt16 GetDefTab() const { return nDefTab; }
- void SetVertical( sal_Bool bVertical ) { bIsVertical = bVertical; }
- sal_Bool IsVertical() const { return bIsVertical; }
+ void SetVertical( bool bVertical ) { bIsVertical = bVertical; }
+ bool IsVertical() const { return bIsVertical; }
- void SetFixedCellHeight( sal_Bool bUseFixedCellHeight ) { bIsFixedCellHeight = bUseFixedCellHeight; }
- sal_Bool IsFixedCellHeight() const { return bIsFixedCellHeight; }
+ void SetFixedCellHeight( bool bUseFixedCellHeight ) { bIsFixedCellHeight = bUseFixedCellHeight; }
+ bool IsFixedCellHeight() const { return bIsFixedCellHeight; }
EditPaM Clear();
EditPaM RemoveText();