summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-23 18:30:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-23 18:39:07 +0200
commit22401181774dfb3882e7ad0335f1267d7885ff48 (patch)
treecc31d4ef17eef1e76458e47cef8675458c8719ea /include
parent6425f7ff616f9aaad8b4e279385ed3f5ab65bfe2 (diff)
Improved loplugin:literaltoboolconversion looking into cond. exprs.
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx2
-rw-r--r--include/filter/msfilter/svdfppt.hxx2
-rw-r--r--include/svx/graphctl.hxx2
-rw-r--r--include/tools/bigint.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index e1f0ab20f12e..93b2a74c0f00 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -329,7 +329,7 @@ public:
long GetFlags() const { return nFlags; }
inline SvxSwAutoFmtFlags& GetSwFlags() { return aSwFlags;}
bool IsAutoCorrFlag( long nFlag ) const
- { return nFlags & nFlag ? sal_True : sal_False; }
+ { return nFlags & nFlag ? true : false; }
void SetAutoCorrFlag( long nFlag, bool bOn = true );
// Load, Set, Get - the replacement list
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 480f29cfa789..2202947b548b 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -588,7 +588,7 @@ protected:
SdrPage* MakeBlancPage(bool bMaster) const;
bool ReadFontCollection();
bool ForceFontCollection() const
- { return pFonts!=NULL?sal_True:const_cast<SdrPowerPointImport*>(this)->ReadFontCollection(); }
+ { return pFonts!=NULL?true:const_cast<SdrPowerPointImport*>(this)->ReadFontCollection(); }
PptSlidePersistList* GetPageList(PptPageKind ePageKind) const;
sal_uInt32 GetAktPageId();
sal_uInt32 GetMasterPageId(sal_uInt16 nPageNum, PptPageKind ePageKind) const;
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx
index 8cd389cc35e5..4f2db5a41376 100644
--- a/include/svx/graphctl.hxx
+++ b/include/svx/graphctl.hxx
@@ -104,7 +104,7 @@ public:
SdrModel* GetSdrModel() const { return pModel; }
SdrView* GetSdrView() const { return pView; }
SdrObject* GetSelectedSdrObject() const;
- bool IsChanged() const { return bSdrMode ? pModel->IsChanged() : sal_False; }
+ bool IsChanged() const { return bSdrMode ? pModel->IsChanged() : false; }
void SetMousePosLink( const Link& rLink ) { aMousePosLink = rLink; }
const Link& GetMousePosLink() const { return aMousePosLink; }
diff --git a/include/tools/bigint.hxx b/include/tools/bigint.hxx
index c5564e700dec..cabff6bf0b59 100644
--- a/include/tools/bigint.hxx
+++ b/include/tools/bigint.hxx
@@ -114,7 +114,7 @@ public:
operator sal_uInt16() const;
operator sal_uIntPtr() const;
- void Set( bool bSet ) { bIsSet = bSet ? sal_True : sal_False; }
+ void Set( bool bSet ) { bIsSet = bSet ? true : false; }
bool IsSet() const { return (bool)bIsSet; }
bool IsNeg() const;