Kaydet (Commit) 22009c98 authored tarafından Julien Nabet's avatar Julien Nabet

Typo: Adapater->Adapter

Change-Id: I696c0693dc7a69dc3a4b8df0c4e8571414d5b9a6
üst 762e90ff
...@@ -229,7 +229,7 @@ Any Adapter::invoke( const OUString &aFunctionName, ...@@ -229,7 +229,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
if( !method.is() ) if( !method.is() )
{ {
OUStringBuffer buf; OUStringBuffer buf;
buf.appendAscii( "pyuno::Adapater: Method " ).append( aFunctionName ); buf.appendAscii( "pyuno::Adapter: Method " ).append( aFunctionName );
buf.appendAscii( " is not implemented at object " ); buf.appendAscii( " is not implemented at object " );
PyRef str( PyObject_Repr( mWrappedObject.get() ), SAL_NO_ACQUIRE ); PyRef str( PyObject_Repr( mWrappedObject.get() ), SAL_NO_ACQUIRE );
buf.append(pyString2ustring(str.get())); buf.append(pyString2ustring(str.get()));
...@@ -347,7 +347,7 @@ void Adapter::setValue( const OUString & aPropertyName, const Any & value ) ...@@ -347,7 +347,7 @@ void Adapter::setValue( const OUString & aPropertyName, const Any & value )
if( !hasProperty( aPropertyName ) ) if( !hasProperty( aPropertyName ) )
{ {
OUStringBuffer buf; OUStringBuffer buf;
buf.appendAscii( "pyuno::Adapater: Property " ).append( aPropertyName ); buf.appendAscii( "pyuno::Adapter: Property " ).append( aPropertyName );
buf.appendAscii( " is unknown." ); buf.appendAscii( " is unknown." );
throw UnknownPropertyException( buf.makeStringAndClear() ); throw UnknownPropertyException( buf.makeStringAndClear() );
} }
...@@ -383,7 +383,7 @@ Any Adapter::getValue( const OUString & aPropertyName ) ...@@ -383,7 +383,7 @@ Any Adapter::getValue( const OUString & aPropertyName )
if (!pyRef.is() || PyErr_Occurred()) if (!pyRef.is() || PyErr_Occurred())
{ {
OUStringBuffer buf; OUStringBuffer buf;
buf.appendAscii( "pyuno::Adapater: Property " ).append( aPropertyName ); buf.appendAscii( "pyuno::Adapter: Property " ).append( aPropertyName );
buf.appendAscii( " is unknown." ); buf.appendAscii( " is unknown." );
throw UnknownPropertyException( buf.makeStringAndClear() ); throw UnknownPropertyException( buf.makeStringAndClear() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment