summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-04 11:20:05 +0200
committerNoel Grandin <noel@peralex.com>2014-04-04 13:44:18 +0200
commit20f14ed4a1c65dfadc1d8cfe0157f4a5f7ba4eb6 (patch)
treed84cc04b70852ab71090195233655eb77e766315 /codemaker
parentaf8c8f80aa1bd8306e524d0c56fa1bc43136a324 (diff)
codemaker: sal_Bool->bool
Change-Id: I0a0691df58455b712eb27695f4cce15fd3494b65
Diffstat (limited to 'codemaker')
-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
4 files changed, 6 insertions, 6 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;