From 624f84c07ee798f6bbf4381c26262d5d2774a1ed Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 15 Jan 2018 09:09:57 +0100 Subject: Fix typos Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins Reviewed-by: Julien Nabet --- cli_ure/source/climaker/climaker_emit.cxx | 2 +- cli_ure/source/uno_bridge/cli_data.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cli_ure/source') diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx index 720d04feb02f..9a6c7f3f6764 100644 --- a/cli_ure/source/climaker/climaker_emit.cxx +++ b/cli_ure/source/climaker/climaker_emit.cxx @@ -217,7 +217,7 @@ System::String^ mapUnoPolymorphicName(System::String^ unoName) gcnew System::Text::StringBuilder(unoName->Substring(0, index +1 )); //Find the first occurrence of ',' - //If the parameter is a polymorphic struct then we neede to ignore everything + //If the parameter is a polymorphic struct then we need to ignore everything //between the brackets because it can also contain commas //get the type list within < and > int endIndex = unoName->Length - 1; diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx index e51c833714ae..452d0af474d2 100644 --- a/cli_ure/source/uno_bridge/cli_data.cxx +++ b/cli_ure/source/uno_bridge/cli_data.cxx @@ -557,7 +557,7 @@ System::String^ mapPolymorphicName(System::String^ unoName, bool bCliToUno) builder->Append(unoName->Substring(0, index +1 )); //Find the first occurrence of ',' - //If the parameter is a polymorphic struct then we neede to ignore everything + //If the parameter is a polymorphic struct then we need to ignore everything //between the brackets because it can also contain commas //get the type list within < and > int endIndex = unoName->Length - 1; @@ -1445,7 +1445,7 @@ void Bridge::map_to_uno(void * uno_data, System::Object^ cli_data, cli_data. true - cli_data already contains the newly constructed object. This is the case if a struct is converted then on the first call to map_to_cli the new object is created. - If the struct inherits another struct then this function is called recursivly while the + If the struct inherits another struct then this function is called recursively while the newly created object is passed in cli_data. */ void Bridge::map_to_cli( @@ -1545,7 +1545,7 @@ void Bridge::map_to_cli( //create the type System::Type^ cliType= loadCliType(td.get()->pTypeName); - //detect if we recursivly convert inherited structures + //detect if we recursively convert inherited structures //If this point is reached because of a recursive call during covering a //struct then we must not create a new object rather we use the one in // cli_data argument. -- cgit