summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/source/cppumaker/cppuoptions.cxx4
-rw-r--r--codemaker/source/cppumaker/cppuoptions.hxx2
-rw-r--r--codemaker/source/javamaker/javaoptions.cxx4
-rw-r--r--codemaker/source/javamaker/javaoptions.hxx2
-rw-r--r--include/codemaker/options.hxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx
index e2584d5f6558..3436a176b3ef 100644
--- a/codemaker/source/cppumaker/cppuoptions.cxx
+++ b/codemaker/source/cppumaker/cppuoptions.cxx
@@ -34,7 +34,7 @@ using ::rtl::OString;
#define SEPARATOR '\\'
#endif
-bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
+bool CppuOptions::initOptions(int ac, char* av[], bool bCmdFile)
throw( IllegalArgument )
{
bool ret = true;
@@ -42,7 +42,7 @@ bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
if (!bCmdFile)
{
- bCmdFile = sal_True;
+ bCmdFile = true;
OString name(av[0]);
sal_Int32 index = name.lastIndexOf(SEPARATOR);
diff --git a/codemaker/source/cppumaker/cppuoptions.hxx b/codemaker/source/cppumaker/cppuoptions.hxx
index 1e9fce0c9a09..3ac305e6b722 100644
--- a/codemaker/source/cppumaker/cppuoptions.hxx
+++ b/codemaker/source/cppumaker/cppuoptions.hxx
@@ -30,7 +30,7 @@ public:
virtual ~CppuOptions() {}
- bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False)
+ bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) SAL_OVERRIDE;
OString prepareHelp() SAL_OVERRIDE;
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx
index 66f7c2775aed..e1f25247c725 100644
--- a/codemaker/source/javamaker/javaoptions.cxx
+++ b/codemaker/source/javamaker/javaoptions.cxx
@@ -30,7 +30,7 @@
#define SEPARATOR '\\'
#endif
-bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
+bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
throw( IllegalArgument )
{
bool ret = true;
@@ -38,7 +38,7 @@ bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
if (!bCmdFile)
{
- bCmdFile = sal_True;
+ bCmdFile = true;
OString name(av[0]);
sal_Int32 index = name.lastIndexOf(SEPARATOR);
diff --git a/codemaker/source/javamaker/javaoptions.hxx b/codemaker/source/javamaker/javaoptions.hxx
index d1536bb04eb8..c297f712d5d1 100644
--- a/codemaker/source/javamaker/javaoptions.hxx
+++ b/codemaker/source/javamaker/javaoptions.hxx
@@ -30,7 +30,7 @@ public:
virtual ~JavaOptions() {}
- bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False)
+ bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) SAL_OVERRIDE;
OString prepareHelp() SAL_OVERRIDE;
diff --git a/include/codemaker/options.hxx b/include/codemaker/options.hxx
index b3a4e5c330da..c158eaeba628 100644
--- a/include/codemaker/options.hxx
+++ b/include/codemaker/options.hxx
@@ -47,7 +47,7 @@ public:
Options();
virtual ~Options();
- virtual bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False)
+ virtual bool initOptions(int ac, char* av[], bool bCmdFile=false)
throw( IllegalArgument ) = 0;
virtual ::rtl::OString prepareHelp() = 0;