[Libreoffice-commits] core.git: pyuno/source
Julien Nabet
serval2412 at yahoo.fr
Fri Jun 12 14:58:19 PDT 2015
pyuno/source/module/pyuno_adapter.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 22009c987b88fe9c4f0b5d65555252c05f44b80d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Jun 12 23:57:19 2015 +0200
Typo: Adapater->Adapter
Change-Id: I696c0693dc7a69dc3a4b8df0c4e8571414d5b9a6
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx
index 38988b5..1fbfcba 100644
--- a/pyuno/source/module/pyuno_adapter.cxx
+++ b/pyuno/source/module/pyuno_adapter.cxx
@@ -229,7 +229,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
if( !method.is() )
{
OUStringBuffer buf;
- buf.appendAscii( "pyuno::Adapater: Method " ).append( aFunctionName );
+ buf.appendAscii( "pyuno::Adapter: Method " ).append( aFunctionName );
buf.appendAscii( " is not implemented at object " );
PyRef str( PyObject_Repr( mWrappedObject.get() ), SAL_NO_ACQUIRE );
buf.append(pyString2ustring(str.get()));
@@ -347,7 +347,7 @@ void Adapter::setValue( const OUString & aPropertyName, const Any & value )
if( !hasProperty( aPropertyName ) )
{
OUStringBuffer buf;
- buf.appendAscii( "pyuno::Adapater: Property " ).append( aPropertyName );
+ buf.appendAscii( "pyuno::Adapter: Property " ).append( aPropertyName );
buf.appendAscii( " is unknown." );
throw UnknownPropertyException( buf.makeStringAndClear() );
}
@@ -383,7 +383,7 @@ Any Adapter::getValue( const OUString & aPropertyName )
if (!pyRef.is() || PyErr_Occurred())
{
OUStringBuffer buf;
- buf.appendAscii( "pyuno::Adapater: Property " ).append( aPropertyName );
+ buf.appendAscii( "pyuno::Adapter: Property " ).append( aPropertyName );
buf.appendAscii( " is unknown." );
throw UnknownPropertyException( buf.makeStringAndClear() );
}
More information about the Libreoffice-commits
mailing list