This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new 3d4431b Update ParseContext.cxx (#103) 3d4431b is described below commit 3d4431b63ef086f459ce0ed2174e6529deef99e4 Author: Matthias Seidel <msei...@apache.org> AuthorDate: Sat Oct 3 23:15:42 2020 +0200 Update ParseContext.cxx (#103) I think this is only one of those typical typos... Using OpenGrok could not find any other reference outside this file, but I am not sure if this would have side effects. --- main/svx/source/form/ParseContext.cxx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/main/svx/source/form/ParseContext.cxx b/main/svx/source/form/ParseContext.cxx index f2d91c3..d64b925 100644 --- a/main/svx/source/form/ParseContext.cxx +++ b/main/svx/source/form/ParseContext.cxx @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -183,7 +183,7 @@ IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode(const :: namespace { // ----------------------------------------------------------------------------- - ::osl::Mutex& getSafteyMutex() + ::osl::Mutex& getSafetyMutex() { static ::osl::Mutex s_aSafety; return s_aSafety; @@ -216,7 +216,7 @@ namespace // ----------------------------------------------------------------------------- OParseContextClient::OParseContextClient() { - ::osl::MutexGuard aGuard( getSafteyMutex() ); + ::osl::MutexGuard aGuard( getSafetyMutex() ); if ( 1 == osl_incrementInterlockedCount( &getCounter() ) ) { // first instance getSharedContext( new OSystemParseContext ); @@ -227,7 +227,7 @@ OParseContextClient::OParseContextClient() OParseContextClient::~OParseContextClient() { { - ::osl::MutexGuard aGuard( getSafteyMutex() ); + ::osl::MutexGuard aGuard( getSafetyMutex() ); if ( 0 == osl_decrementInterlockedCount( &getCounter() ) ) delete getSharedContext(NULL,sal_True); } @@ -238,8 +238,3 @@ const OSystemParseContext* OParseContextClient::getParseContext() const return getSharedContext(); } // ----------------------------------------------------------------------------- - - - - -