From be729e772196f33543e21cb9bac21add87726b20 Mon Sep 17 00:00:00 2001 From: Benjamin Ni Date: Fri, 25 Sep 2015 11:41:53 +0100 Subject: tdf#94269: Replace "n" prefix for bool variables with "b" Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl --- cli_ure/source/climaker/climaker_app.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cli_ure') 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." ); } -- cgit