[Libreoffice-commits] core.git: cli_ure/source
David Ostrovsky
david at ostrovsky.org
Thu Sep 3 14:26:34 PDT 2015
cli_ure/source/climaker/climaker_app.cxx | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
New commits:
commit fd27553f3848be20e113b99bdb756b7ce00c790f
Author: David Ostrovsky <david at ostrovsky.org>
Date: Thu Sep 3 21:56:04 2015 +0200
climaker: Fix std::array and cli::array collision
Change-Id: I7b4815b4b7e8f016ce7a9047c77a6dde46b1ee0a
Reviewed-on: https://gerrit.libreoffice.org/18320
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: David Ostrovsky <david at ostrovsky.org>
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx
index efff92d..01ab101 100644
--- a/cli_ure/source/climaker/climaker_app.cxx
+++ b/cli_ure/source/climaker/climaker_app.cxx
@@ -509,8 +509,8 @@ SAL_IMPLEMENT_MAIN()
if (product.getLength() != 0)
{
- array< ::System::Type^>^ params = gcnew array< ::System::Type^> (1);
- array< ::System::Object^>^args = gcnew array< ::System::Object^>(1);
+ cli::array< ::System::Type^>^ params = gcnew cli::array< ::System::Type^> (1);
+ cli::array< ::System::Object^>^args = gcnew cli::array< ::System::Object^>(1);
params[ 0 ] = ::System::String::typeid;
args[ 0 ] = ustring_to_String( product );
assembly_builder->SetCustomAttribute(
@@ -520,8 +520,8 @@ SAL_IMPLEMENT_MAIN()
}
if (description.getLength() != 0)
{
- array< ::System::Type^>^ params = gcnew array< ::System::Type^>(1);
- array< ::System::Object^>^ args = gcnew array< ::System::Object^>(1);
+ cli::array< ::System::Type^>^ params = gcnew cli::array< ::System::Type^>(1);
+ cli::array< ::System::Object^>^ args = gcnew cli::array< ::System::Object^>(1);
params[ 0 ] = ::System::String::typeid;
args[ 0 ] = ustring_to_String( description );
assembly_builder->SetCustomAttribute(
@@ -531,8 +531,8 @@ SAL_IMPLEMENT_MAIN()
}
if (company.getLength() != 0)
{
- array< ::System::Type^>^ params = gcnew array< ::System::Type^>(1);
- array< ::System::Object^>^ args = gcnew array< ::System::Object^>(1);
+ cli::array< ::System::Type^>^ params = gcnew cli::array< ::System::Type^>(1);
+ cli::array< ::System::Object^>^ args = gcnew cli::array< ::System::Object^>(1);
params[ 0 ] = ::System::String::typeid;
args[ 0 ] = ustring_to_String( company );
assembly_builder->SetCustomAttribute(
@@ -542,8 +542,8 @@ SAL_IMPLEMENT_MAIN()
}
if (copyright.getLength() != 0)
{
- array< ::System::Type^>^ params = gcnew array< ::System::Type^>(1);
- array< ::System::Object^>^ args = gcnew array< ::System::Object^>(1);
+ cli::array< ::System::Type^>^ params = gcnew cli::array< ::System::Type^>(1);
+ cli::array< ::System::Object^>^ args = gcnew cli::array< ::System::Object^>(1);
params[ 0 ] = ::System::String::typeid;
args[ 0 ] = ustring_to_String( copyright );
assembly_builder->SetCustomAttribute(
@@ -553,8 +553,8 @@ SAL_IMPLEMENT_MAIN()
}
if (trademark.getLength() != 0)
{
- array< ::System::Type^>^ params = gcnew array< ::System::Type^>(1);
- array< ::System::Object^>^ args = gcnew array< ::System::Object^>(1);
+ cli::array< ::System::Type^>^ params = gcnew cli::array< ::System::Type^>(1);
+ cli::array< ::System::Object^>^ args = gcnew cli::array< ::System::Object^>(1);
params[ 0 ] = ::System::String::typeid;
args[ 0 ] = ustring_to_String( trademark );
assembly_builder->SetCustomAttribute(
@@ -564,8 +564,8 @@ SAL_IMPLEMENT_MAIN()
}
// load extra assemblies
- array<Assembly^>^ assemblies =
- gcnew array<Assembly^>(extra_assemblies.size());
+ cli::array<Assembly^>^ assemblies =
+ gcnew cli::array<Assembly^>(extra_assemblies.size());
for ( size_t pos = 0; pos < extra_assemblies.size(); ++pos )
{
assemblies[ pos ] = Assembly::LoadFrom(
More information about the Libreoffice-commits
mailing list