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 /codemaker/source/javamaker | |
parent | 824c59a38d0e5d3a7f65193e4b4087cf1e0fe64f (diff) |
codemaker: sal_Bool -> bool
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
Diffstat (limited to 'codemaker/source/javamaker')
-rw-r--r-- | codemaker/source/javamaker/javaoptions.cxx | 8 | ||||
-rw-r--r-- | codemaker/source/javamaker/javaoptions.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx index 5e9130c16e19..66f7c2775aed 100644 --- a/codemaker/source/javamaker/javaoptions.cxx +++ b/codemaker/source/javamaker/javaoptions.cxx @@ -30,10 +30,10 @@ #define SEPARATOR '\\' #endif -sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) +bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) throw( IllegalArgument ) { - sal_Bool ret = sal_True; + bool ret = true; sal_uInt16 i=0; if (!bCmdFile) @@ -47,7 +47,7 @@ sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) if (ac < 2) { fprintf(stderr, "%s", prepareHelp().getStr()); - ret = sal_False; + ret = false; } i = 1; @@ -193,7 +193,7 @@ sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) if( cmdFile == NULL ) { fprintf(stderr, "%s", prepareHelp().getStr()); - ret = sal_False; + ret = false; } else { int rargc=0; diff --git a/codemaker/source/javamaker/javaoptions.hxx b/codemaker/source/javamaker/javaoptions.hxx index 128ebbcd4d6e..62b05b1e66de 100644 --- a/codemaker/source/javamaker/javaoptions.hxx +++ b/codemaker/source/javamaker/javaoptions.hxx @@ -30,7 +30,7 @@ public: ~JavaOptions() {} - sal_Bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) + bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) throw( IllegalArgument ); OString prepareHelp(); |