Typos
Change-Id: I665a56fcad10e136e949a10497f6ab8813af9968
This commit is contained in:
parent
25d3c618d8
commit
b33788cb6b
@ -2722,7 +2722,7 @@ SbxVariable* SbUnoObject::Find( const OUString& rName, SbxClassType t )
|
||||
}
|
||||
catch( const Exception& )
|
||||
{
|
||||
// Establish so that the exeption error will not be overwriten
|
||||
// Establish so that the exception error will not be overwritten
|
||||
if( !pRes )
|
||||
pRes = new SbxVariable( SbxVARIANT );
|
||||
|
||||
@ -2771,7 +2771,7 @@ SbxVariable* SbUnoObject::Find( const OUString& rName, SbxClassType t )
|
||||
}
|
||||
catch( const RuntimeException& e )
|
||||
{
|
||||
// Establish so that the exeption error will not be overwriten
|
||||
// Establish so that the exception error will not be overwritten
|
||||
if( !pRes )
|
||||
pRes = new SbxVariable( SbxVARIANT );
|
||||
|
||||
|
@ -94,7 +94,7 @@ inline OUString String_to_ustring( ::System::String ^ str )
|
||||
}
|
||||
|
||||
/* If the argument type is a typedef for an interface then the interface
|
||||
type description is returned, otherwise an exeption is thrown.
|
||||
type description is returned, otherwise an exception is thrown.
|
||||
*/
|
||||
css::uno::Reference< css::reflection::XInterfaceTypeDescription2 >
|
||||
resolveInterfaceTypedef(const css::uno::Reference<css::reflection::XTypeDescription>& type);
|
||||
|
@ -223,7 +223,7 @@ void test_PropertyArrayHelper()
|
||||
try
|
||||
{
|
||||
a1.getPropertyByName( OUString("never exist") );
|
||||
OSL_FAIL( "exeption not thrown" );
|
||||
OSL_FAIL( "exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & )
|
||||
{
|
||||
@ -823,7 +823,7 @@ void test_PropertySetHelper()
|
||||
try
|
||||
{
|
||||
xPS->addPropertyChangeListener( OUString("Does not exist"), xPS_L );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -833,7 +833,7 @@ void test_PropertySetHelper()
|
||||
try
|
||||
{
|
||||
xPS->addVetoableChangeListener( OUString("Does not exist"), x2 );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -873,7 +873,7 @@ void test_PropertySetHelper()
|
||||
Any aBool;
|
||||
aBool.setValue( &b , getCppuBooleanType() );
|
||||
xPS->setPropertyValue("BOOL", aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( PropertyVetoException & /*e*/ )
|
||||
{
|
||||
@ -887,7 +887,7 @@ void test_PropertySetHelper()
|
||||
aBool.setValue( &b , getCppuBooleanType() );
|
||||
// BOOL i s0
|
||||
pPS->setFastPropertyValue( PROPERTY_BOOL, aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( PropertyVetoException & /*e*/ )
|
||||
{
|
||||
@ -900,7 +900,7 @@ void test_PropertySetHelper()
|
||||
Any aBool;
|
||||
aBool.setValue( &b , getCppuBooleanType() );
|
||||
xPS->setPropertyValue("Does not exist", aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -912,7 +912,7 @@ void test_PropertySetHelper()
|
||||
Any aBool;
|
||||
aBool.setValue( &b , getCppuBooleanType() );
|
||||
pPS->setFastPropertyValue( 3, aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -923,7 +923,7 @@ void test_PropertySetHelper()
|
||||
{
|
||||
Any aBool;
|
||||
aBool = xPS->getPropertyValue("Does not exist");
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -933,7 +933,7 @@ void test_PropertySetHelper()
|
||||
{
|
||||
Any aBool;
|
||||
aBool = ((XFastPropertySet *)pPS)->getFastPropertyValue( 3 );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( UnknownPropertyException & /*e*/ )
|
||||
{
|
||||
@ -944,7 +944,7 @@ void test_PropertySetHelper()
|
||||
{
|
||||
Any aBool;
|
||||
xPS->setPropertyValue("INT32", aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( IllegalArgumentException & /*e*/ )
|
||||
{
|
||||
@ -954,7 +954,7 @@ void test_PropertySetHelper()
|
||||
{
|
||||
Any aBool;
|
||||
pPS->setFastPropertyValue( PROPERTY_INT32, aBool );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( IllegalArgumentException & /*e*/ )
|
||||
{
|
||||
@ -966,7 +966,7 @@ void test_PropertySetHelper()
|
||||
Any aINT32;
|
||||
aINT32 <<= (sal_Int32 ) 16;
|
||||
xPS->setPropertyValue("INT16", aINT32 );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( IllegalArgumentException & /*e*/ )
|
||||
{
|
||||
@ -978,7 +978,7 @@ void test_PropertySetHelper()
|
||||
Any aINT32;
|
||||
aINT32 <<= (sal_Int32) 16;
|
||||
pPS->setFastPropertyValue( PROPERTY_INT16, aINT32 );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( IllegalArgumentException & /*e*/ )
|
||||
{
|
||||
@ -1071,7 +1071,7 @@ void test_PropertySetHelper()
|
||||
try
|
||||
{
|
||||
((XFastPropertySet *)pPS)->setFastPropertyValue( PROPERTY_INT16, aValue );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch( PropertyVetoException & /*e*/ )
|
||||
{
|
||||
@ -1151,7 +1151,7 @@ void test_PropertySetHelper()
|
||||
aValues.getArray()[0] <<= (sal_Int16)44;
|
||||
aValues.getArray()[1] <<= (sal_Int16)100;
|
||||
pPS->setPropertyValues( szPN, aValues );
|
||||
OSL_FAIL( "PropertySetHelper: exeption not thrown" );
|
||||
OSL_FAIL( "PropertySetHelper: exception not thrown" );
|
||||
}
|
||||
catch ( PropertyVetoException & /*e*/ )
|
||||
{
|
||||
|
@ -2193,7 +2193,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvTreeListEntry*, _pParent)
|
||||
|
||||
// first insert the views because the tables can also include
|
||||
// views but that time the bitmap is the wrong one
|
||||
// the nameaccess will be overwriten in populateTree
|
||||
// the nameaccess will be overwritten in populateTree
|
||||
Reference<XViewsSupplier> xViewSup(xConnection,UNO_QUERY);
|
||||
if(xViewSup.is())
|
||||
populateTree( xViewSup->getViews(), _pParent, etTableOrView );
|
||||
|
@ -1057,7 +1057,7 @@ sal_Int32 OGroupsSortingDialog::getColumnDataType(const OUString& _sColumnName)
|
||||
}
|
||||
catch(uno::Exception&)
|
||||
{
|
||||
OSL_FAIL("Eception caught while getting the type of a column");
|
||||
OSL_FAIL("Exception caught while getting the type of a column");
|
||||
}
|
||||
|
||||
return nDataType;
|
||||
|
@ -331,7 +331,7 @@ public class CalcRTL
|
||||
* @param oldValue : the value of the property before it has been changed
|
||||
* @param newValue : the value the property has been set to
|
||||
* @param resValue : the value getPropertyValue returned for the property
|
||||
* @param exception : the exeption thrown during the change of the property
|
||||
* @param exception : the exception thrown during the change of the property
|
||||
*/
|
||||
protected boolean checkResult(XPropertySet set, String propName,
|
||||
Object oldValue, Object newValue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user