summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:56:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:24:39 +0100
commit6bdd60462f57650273cd4f3da3cc5a2cccf9c9c7 (patch)
tree7895811dd03dd61465740d50d9a30124635a9ff7 /editeng/source/misc
parentead15254172d7d1f9f838cf21b4e5c246bfc7ca3 (diff)
bool improvements
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/swafopt.cxx8
-rw-r--r--editeng/source/misc/txtrange.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index 63fb473dc9eb..0ac6368c28a7 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -40,13 +40,13 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
bAFmtDelSpacesBetweenLines =
bAFmtByInpDelSpacesAtSttEnd =
bAFmtByInpDelSpacesBetweenLines =
- bDummy = sal_True;
+ bDummy = true;
bReplaceStyles =
bDelEmptyNode =
bWithRedlining =
bAutoCmpltEndless =
- bAutoCmpltAppendBlanc = sal_False;
+ bAutoCmpltAppendBlanc = false;
bAutoCmpltShowAsTip =
bSetBorder =
@@ -56,10 +56,10 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
bRightMargin =
bAutoCompleteWords =
bAutoCmpltCollectWords =
- bAutoCmpltKeepList = sal_True;
+ bAutoCmpltKeepList = true;
bDummy6 = bDummy7 = bDummy8 =
- sal_False;
+ false;
nRightMargin = 50; // dflt. 50 %
nAutoCmpltExpandKey = KEY_RETURN;
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index c67e8d8496dc..a3da04c6e888 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -242,7 +242,7 @@ void SvxBoundArgs::NoteRange( bool bToggle )
if( nMax < nMin )
return;
if( !bClosed )
- bToggle = sal_False;
+ bToggle = false;
sal_uInt16 nIdx = 0;
sal_uInt16 nCount = pLongArr->size();
DBG_ASSERT( nCount == 2 * aBoolArr.size(), "NoteRange: Incompatible Sizes" );
@@ -448,7 +448,7 @@ void SvxBoundArgs::Add()
nCount = nCount - next;
aBoolArr.erase( aBoolArr.begin() + nBoolIdx, aBoolArr.begin() + (nBoolIdx + next) );
if( nBoolIdx )
- aBoolArr[ nBoolIdx - 1 ] = sal_False;
+ aBoolArr[ nBoolIdx - 1 ] = false;
#if OSL_DEBUG_LEVEL > 1
else
++next;