summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 09:46:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 09:49:04 +0200
commitaeaa099b67f52085310e7e88aa8741473352bbbe (patch)
treec17b9d3e7cced566583794b98cee1942057b090a /svtools
parent3aaadf95f70891845df3172a041b4c55196f083a (diff)
Use bool instead of int
Change-Id: I1a2d59b9a93223ad884f7a495281ec33163528ca
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/rtfkeywd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx
index 71af7e8c4fd0..b64a25fa5111 100644
--- a/svtools/source/svrtf/rtfkeywd.cxx
+++ b/svtools/source/svrtf/rtfkeywd.cxx
@@ -36,7 +36,7 @@ struct RTF_TokenEntry
};
// Flag: RTF-token table has been sorted
-static int bSortKeyWords = sal_False;
+static bool bSortKeyWords = false;
static RTF_TokenEntry aRTFTokenTab[] = {
{{OOO_STRING_SVTOOLS_RTF_IGNORE}, RTF_IGNOREFLAG},
@@ -1213,7 +1213,7 @@ int GetRTFToken( const OUString& rSearch )
sizeof( aRTFTokenTab ) / sizeof( RTF_TokenEntry ),
sizeof( RTF_TokenEntry ),
RTFKeyCompare );
- bSortKeyWords = sal_True;
+ bSortKeyWords = true;
}
int nRet = 0;