diff options
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 ); |