diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-15 14:52:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-17 17:55:17 +0100 |
commit | 07d3807e999445c87553e7a6c5876d07ca431737 (patch) | |
tree | d3bf3fa3c2ea9f11961144d8f7c9889405426abe /include/codemaker | |
parent | 824c59a38d0e5d3a7f65193e4b4087cf1e0fe64f (diff) |
codemaker: sal_Bool -> bool
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
Diffstat (limited to 'include/codemaker')
-rw-r--r-- | include/codemaker/global.hxx | 16 | ||||
-rw-r--r-- | include/codemaker/options.hxx | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx index 5693e3ac8aba..c739aed58f83 100644 --- a/include/codemaker/global.hxx +++ b/include/codemaker/global.hxx @@ -32,7 +32,7 @@ struct EqualString { - sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const + bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const { return (str1 == str2); } @@ -48,7 +48,7 @@ struct HashString struct LessString { - sal_Bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const + bool operator()(const ::rtl::OString& str1, const ::rtl::OString& str2) const { return (str1 < str2); } @@ -75,7 +75,7 @@ public: FileStream(); virtual ~FileStream(); - sal_Bool isValid(); + bool isValid(); void createTempFile(const ::rtl::OString& sPath); void close(); @@ -107,14 +107,14 @@ private: ::rtl::OString createFileNameFromType(const ::rtl::OString& destination, const ::rtl::OString type, const ::rtl::OString postfix, - sal_Bool bLowerCase=sal_False, + bool bLowerCase=false, const ::rtl::OString prefix=""); -sal_Bool fileExists(const ::rtl::OString& fileName); -sal_Bool makeValidTypeFile(const ::rtl::OString& targetFileName, +bool fileExists(const ::rtl::OString& fileName); +bool makeValidTypeFile(const ::rtl::OString& targetFileName, const ::rtl::OString& tmpFileName, - sal_Bool bFileCheck); -sal_Bool removeTypeFile(const ::rtl::OString& fileName); + bool bFileCheck); +bool removeTypeFile(const ::rtl::OString& fileName); ::rtl::OUString convertToFileUrl(const ::rtl::OString& fileName); diff --git a/include/codemaker/options.hxx b/include/codemaker/options.hxx index 2290d83a5bc0..b3a4e5c330da 100644 --- a/include/codemaker/options.hxx +++ b/include/codemaker/options.hxx @@ -47,13 +47,13 @@ public: Options(); virtual ~Options(); - virtual sal_Bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) + virtual bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) throw( IllegalArgument ) = 0; virtual ::rtl::OString prepareHelp() = 0; const ::rtl::OString& getProgramName() const; - sal_Bool isValid(const ::rtl::OString& option) const; + bool isValid(const ::rtl::OString& option) const; const ::rtl::OString getOption(const ::rtl::OString& option) const throw( IllegalArgument ); |