summaryrefslogtreecommitdiff
path: root/cli_ure
diff options
context:
space:
mode:
authorBenjamin Ni <benjaminniri@hotmail.com>2015-09-25 11:41:53 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 23:40:57 +0100
commitbe729e772196f33543e21cb9bac21add87726b20 (patch)
treef2150f458e2b07f8924b4702d37c09c8dd52215a /cli_ure
parent6ccf68622e51c1b727dd042c1c1a71b5d1fd6a12 (diff)
tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'cli_ure')
-rw-r--r--cli_ure/source/climaker/climaker_app.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx
index 0cd67d9f4a19..46935deb0b90 100644
--- a/cli_ure/source/climaker/climaker_app.cxx
+++ b/cli_ure/source/climaker/climaker_app.cxx
@@ -90,7 +90,7 @@ struct OptionInfo
bool m_has_argument;
};
-bool g_verbose = false;
+bool g_bVerbose = false;
static const OptionInfo s_option_infos [] = {
@@ -333,7 +333,7 @@ SAL_IMPLEMENT_MAIN()
extra_assemblies.push_back(
path_make_absolute_file_url( cmd_arg ) );
}
- else if (!read_option( &g_verbose, info_verbose, &nPos ) &&
+ else if (!read_option( &g_bVerbose, info_verbose, &nPos ) &&
!read_argument( &output, info_out, &nPos ) &&
!read_argument( &version, info_version, &nPos ) &&
!read_argument( &description, info_description, &nPos ) &&
@@ -474,7 +474,7 @@ SAL_IMPLEMENT_MAIN()
}
else
{
- if (g_verbose)
+ if (g_bVerbose)
{
::System::Console::Write(
"> no key file specified. Cannot create strong name!\n");
@@ -597,17 +597,17 @@ SAL_IMPLEMENT_MAIN()
css::uno::Reference< reflection::XTypeDescription > td(
xTD_enum->nextTypeDescription());
OUString name(td->getName());
- bool emit = false;
+ bool bEmit = false;
for (std::vector< rtl::Reference< unoidl::Provider > >::iterator
i(unoidlMandatoryProvs.begin());
i != unoidlMandatoryProvs.end(); ++i)
{
if ((*i)->findEntity(name).is()) {
- emit = true;
+ bEmit = true;
break;
}
}
- if (emit) {
+ if (bEmit) {
type_emitter->get_type(td);
}
}
@@ -624,7 +624,7 @@ SAL_IMPLEMENT_MAIN()
}
type_emitter->~TypeEmitter();
- if (g_verbose)
+ if (g_bVerbose)
{
::System::Console::Write(
"> saving assembly {0}{1}{2}...",
@@ -634,7 +634,7 @@ SAL_IMPLEMENT_MAIN()
output_file );
}
assembly_builder->Save( output_file );
- if (g_verbose)
+ if (g_bVerbose)
{
::System::Console::WriteLine( "ok." );
}