diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 17:47:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-27 06:15:25 -0600 |
commit | 1712e6c614ca23fd5b895dc30df8d20cc69d8958 (patch) | |
tree | 874a5494d825c366a34e800e0060ee04af904388 /cli_ure/source/climaker | |
parent | f480f26e619a4d17f790200b0c38584bbd356893 (diff) |
Remove visual noise from cli_ure
Change-Id: I1ddada46767b2840c663a0a077e1b723f9645b56
Reviewed-on: https://gerrit.libreoffice.org/8240
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cli_ure/source/climaker')
-rw-r--r-- | cli_ure/source/climaker/climaker_app.cxx | 14 | ||||
-rw-r--r-- | cli_ure/source/climaker/climaker_share.h | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index c8771d65d83d..8c416d6090ad 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -112,7 +112,7 @@ static const OptionInfo s_option_infos [] = { { RTL_CONSTASCII_STRINGPARAM("help"), 'h', false } }; -//============================================================================== + static OptionInfo const * get_option_info( OUString const & opt, sal_Unicode copt = '\0' ) { @@ -145,7 +145,7 @@ static OptionInfo const * get_option_info( return 0; } -//============================================================================== + static bool is_option( OptionInfo const * option_info, sal_uInt32 * pIndex ) { @@ -181,7 +181,7 @@ static bool is_option( return false; } -//============================================================================== + static inline bool read_option( bool * flag, OptionInfo const * option_info, sal_uInt32 * pIndex ) { @@ -191,7 +191,7 @@ static inline bool read_option( return ret; } -//============================================================================== + static bool read_argument( OUString * pValue, OptionInfo const * option_info, sal_uInt32 * pIndex ) { @@ -213,7 +213,7 @@ static bool read_argument( return false; } -//============================================================================== + static OUString const & path_get_working_dir() { static OUString s_workingDir; @@ -222,7 +222,7 @@ static OUString const & path_get_working_dir() return s_workingDir; } -//============================================================================== + static OUString path_make_absolute_file_url( OUString const & path ) { OUString file_url; @@ -256,7 +256,7 @@ static OUString path_make_absolute_file_url( OUString const & path ) using namespace ::climaker; -//############################################################################## + SAL_IMPLEMENT_MAIN() { sal_uInt32 nCount = osl_getCommandArgCount(); diff --git a/cli_ure/source/climaker/climaker_share.h b/cli_ure/source/climaker/climaker_share.h index 85ed6fcab8cc..700321af3ea0 100644 --- a/cli_ure/source/climaker/climaker_share.h +++ b/cli_ure/source/climaker/climaker_share.h @@ -35,7 +35,7 @@ namespace climaker { -//------------------------------------------------------------------------------ + extern bool g_verbose; ref struct Constants @@ -79,13 +79,13 @@ ref struct Constants }; -//------------------------------------------------------------------------------ + inline ::System::String ^ ustring_to_String( OUString const & ustr ) { return gcnew ::System::String( ustr.getStr(), 0, ustr.getLength() ); } -//------------------------------------------------------------------------------ + inline OUString String_to_ustring( ::System::String ^ str ) { OSL_ASSERT( sizeof (wchar_t) == sizeof (sal_Unicode) ); @@ -108,7 +108,7 @@ static ::System::Reflection::MethodAttributes c_ctor_method_attr = /* | xxx todo: ??? compiler does not know Instance ??? ::System::Reflection::MethodAttributes::Instance*/); -//============================================================================== + ref class TypeEmitter : public ::System::IDisposable { ::System::Reflection::Emit::ModuleBuilder ^ m_module_builder; |