#i52208# adapt BaseMutex member from m_mutex to m_aMutex

This commit is contained in:
Juergen Schmidt
2005-10-21 12:52:35 +00:00
parent e0c9d71b22
commit b8f16352cf
2 changed files with 7 additions and 7 deletions

View File

@ -4,9 +4,9 @@
*
* $RCSfile: cppcompskeleton.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: jsc $ $Date: 2005-09-09 13:50:27 $
* last change: $Author: jsc $ $Date: 2005-10-21 13:52:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -275,7 +275,7 @@ OString generateClassDefinition(std::ostream& o,
if (iter != interfaces.end())
o << ",";
else
o << ">(m_mutex),\n";
o << ">(m_aMutex),\n";
}
}
if (propertyhelper.getLength() > 0) {

View File

@ -4,9 +4,9 @@
*
* $RCSfile: cpptypemaker.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: jsc $ $Date: 2005-09-09 13:50:28 $
* last change: $Author: jsc $ $Date: 2005-10-21 13:52:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -329,7 +329,7 @@ void printSetPropertyMixinBody(std::ostream & o,
else
o << "0);\n";
o << " {\n osl::MutexGuard g(m_mutex);\n m_"
o << " {\n osl::MutexGuard g(m_aMutex);\n m_"
<< fieldname << " = the_value;\n }\n";
if (bound) {
@ -405,7 +405,7 @@ void printMethods(std::ostream & o,
if (body) {
if (defaultbody) {
if (usepropertymixin) {
o << "\n{\n osl::MutexGuard g(m_mutex);\n return m_"
o << "\n{\n osl::MutexGuard g(m_aMutex);\n return m_"
<< codemaker::convertString(reader.getFieldName(i)).getStr()
<< ";\n}\n\n";
} else {