Kaydet (Commit) b068d9fb authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Noel Grandin

Fix typos

Change-Id: I35eeb71f4f698e39b7b0d98e3cb30657a64a611a
Reviewed-on: https://gerrit.libreoffice.org/34802Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst d6ac6475
...@@ -501,7 +501,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const ...@@ -501,7 +501,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
Sequence< sal_Int8 > byteSequence; Sequence< sal_Int8 > byteSequence;
if( a >>= byteSequence ) if( a >>= byteSequence )
{ {
// byte sequence is treated in a special way because of peformance reasons // byte sequence is treated in a special way because of performance reasons
// @since 0.9.2 // @since 0.9.2
return PyRef( PyUNO_ByteSequence_new( byteSequence, *this ), SAL_NO_ACQUIRE ); return PyRef( PyUNO_ByteSequence_new( byteSequence, *this ), SAL_NO_ACQUIRE );
} }
......
...@@ -62,14 +62,14 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { ...@@ -62,14 +62,14 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
XIndexContainer.class, XIndexContainer.class,
xMenuElementFactory.createInstance("com.sun.star.ui.ActionTriggerContainer" )); xMenuElementFactory.createInstance("com.sun.star.ui.ActionTriggerContainer" ));
// intialize root menu entry "Help" // initialize root menu entry "Help"
xRootMenuEntry.setPropertyValue( "Text", "Help" ); xRootMenuEntry.setPropertyValue( "Text", "Help" );
xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410" ); xRootMenuEntry.setPropertyValue( "CommandURL", "slot:5410" );
xRootMenuEntry.setPropertyValue( "HelpURL", "5410" ); xRootMenuEntry.setPropertyValue( "HelpURL", "5410" );
xRootMenuEntry.setPropertyValue( "SubContainer", xSubMenuContainer ); xRootMenuEntry.setPropertyValue( "SubContainer", xSubMenuContainer );
// create menu entries for the new sub menu // create menu entries for the new sub menu
// intialize help/content menu entry // initialize help/content menu entry
// entry "Content" // entry "Content"
XPropertySet xMenuEntry = UnoRuntime.queryInterface( XPropertySet xMenuEntry = UnoRuntime.queryInterface(
XPropertySet.class, xMenuElementFactory.createInstance( XPropertySet.class, xMenuElementFactory.createInstance(
...@@ -81,7 +81,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { ...@@ -81,7 +81,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// insert menu entry to sub menu // insert menu entry to sub menu
xSubMenuContainer.insertByIndex( 0, xMenuEntry ); xSubMenuContainer.insertByIndex( 0, xMenuEntry );
// intialize help/help on help // initialize help/help on help
// entry "Help on Help" // entry "Help on Help"
xMenuEntry = UnoRuntime.queryInterface( xMenuEntry = UnoRuntime.queryInterface(
XPropertySet.class, XPropertySet.class,
...@@ -92,7 +92,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor { ...@@ -92,7 +92,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor {
// insert menu entry to sub menu // insert menu entry to sub menu
xSubMenuContainer.insertByIndex( 1, xMenuEntry ); xSubMenuContainer.insertByIndex( 1, xMenuEntry );
// intialize help/tips // initialize help/tips
// entry "Tips" // entry "Tips"
xMenuEntry = UnoRuntime.queryInterface( xMenuEntry = UnoRuntime.queryInterface(
XPropertySet.class, XPropertySet.class,
......
...@@ -171,7 +171,7 @@ public class _XControl extends MultiMethodTest { ...@@ -171,7 +171,7 @@ public class _XControl extends MultiMethodTest {
/** /**
* Test calls the method. Then mode is checked using isDesignMode().<p> * Test calls the method. Then mode is checked using isDesignMode().<p>
* Has <b> OK </b> status if mode is swithed. * Has <b> OK </b> status if mode is switched.
*/ */
public void _setDesignMode() { public void _setDesignMode() {
desMode = oObj.isDesignMode(); desMode = oObj.isDesignMode();
......
...@@ -29,7 +29,7 @@ import com.sun.star.lang.XInitialization; ...@@ -29,7 +29,7 @@ import com.sun.star.lang.XInitialization;
* <ul> * <ul>
* <li> <code>'XInitialization.args'</code> (of type <code>Object[]</code>): * <li> <code>'XInitialization.args'</code> (of type <code>Object[]</code>):
* (<b>Optional</b>) : argument for <code>initialize</code> * (<b>Optional</b>) : argument for <code>initialize</code>
* method. If ommitted zero length array is used. </li> * method. If omitted zero length array is used. </li>
* <ul> <p> * <ul> <p>
* Test is multithread compliant. <p> * Test is multithread compliant. <p>
* Till the present time there was no need to recreate environment * Till the present time there was no need to recreate environment
......
...@@ -134,7 +134,7 @@ public class _XDataDefinitionSupplier extends MultiMethodTest { ...@@ -134,7 +134,7 @@ public class _XDataDefinitionSupplier extends MultiMethodTest {
/** /**
* Calls the method with url and info obtained from the relations * Calls the method with url and info obtained from the relations
* <code>XDriver.URL</code> and <code>XDriver.INFO</code>. * <code>XDriver.URL</code> and <code>XDriver.INFO</code>.
* Checks that retuned value isn't null. * Checks that returned value isn't null.
* Then calls the method with the unsuitable url obtained from the relation * Then calls the method with the unsuitable url obtained from the relation
* <code>XDriver.UNSUITABLE_URL</code> and checks that SQLException * <code>XDriver.UNSUITABLE_URL</code> and checks that SQLException
* exception was thrown. * exception was thrown.
......
...@@ -41,7 +41,7 @@ public class _XPropertyMatcherFactory extends MultiMethodTest { ...@@ -41,7 +41,7 @@ public class _XPropertyMatcherFactory extends MultiMethodTest {
/** /**
* Tries to create <code>XPropertyMatcher</code> implementation. <p> * Tries to create <code>XPropertyMatcher</code> implementation. <p>
* Has <b>OK</b> status if not null alue returned. * Has <b>OK</b> status if not null value returned.
*/ */
public void _createPropertyMatcher() { public void _createPropertyMatcher() {
RuleTerm term = new RuleTerm() ; RuleTerm term = new RuleTerm() ;
......
...@@ -112,7 +112,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase { ...@@ -112,7 +112,7 @@ public class ScAccessiblePreviewHeaderCell extends TestCase {
* Creating a TestEnvironment for the interfaces to be tested. * Creating a TestEnvironment for the interfaces to be tested.
* Sets a value of the cell 'A1'. Sets the property 'PrintHeaders' * Sets a value of the cell 'A1'. Sets the property 'PrintHeaders'
* of the style 'Default' of the family 'PageStyles' to true. * of the style 'Default' of the family 'PageStyles' to true.
* Switchs the document to preview mode and then obtains the * Switch the document to preview mode and then obtains the
* accessible object for the header cell. * accessible object for the header cell.
*/ */
@Override @Override
......
...@@ -49,7 +49,7 @@ public class SwAccessibleDocumentPageView extends TestCase { ...@@ -49,7 +49,7 @@ public class SwAccessibleDocumentPageView extends TestCase {
/** /**
* Called to create an instance of <code>TestEnvironment</code> * Called to create an instance of <code>TestEnvironment</code>
* with an object to test and related objects. * with an object to test and related objects.
* Switchs the document to Print Preview mode. * Switch the document to Print Preview mode.
* Obtains accissible object for the document page view. * Obtains accissible object for the document page view.
* *
* @param Param test parameters * @param Param test parameters
...@@ -157,4 +157,4 @@ public class SwAccessibleDocumentPageView extends TestCase { ...@@ -157,4 +157,4 @@ public class SwAccessibleDocumentPageView extends TestCase {
log.println( "creating a text document" ); log.println( "creating a text document" );
xTextDoc = WriterTools.createTextDoc( Param.getMSF()); xTextDoc = WriterTools.createTextDoc( Param.getMSF());
} }
} }
\ No newline at end of file
...@@ -116,7 +116,7 @@ public class SOReportJobFactory ...@@ -116,7 +116,7 @@ public class SOReportJobFactory
throws com.sun.star.uno.Exception throws com.sun.star.uno.Exception
{ {
/* The component describes what arguments its expected and in which /* The component describes what arguments its expected and in which
* order!At this point you can read the objects and can intialize * order!At this point you can read the objects and can initialize
* your component using these objects. * your component using these objects.
*/ */
} }
......
...@@ -160,7 +160,7 @@ namespace rptui ...@@ -160,7 +160,7 @@ namespace rptui
* *
* \param pControl the control which should place in the section without overlapping * \param pControl the control which should place in the section without overlapping
* \param _pReportSection the section * \param _pReportSection the section
* \param _bInsert sal_True whe the control should be inserted, otherwise not. * \param _bInsert sal_True when the control should be inserted, otherwise not.
*/ */
void correctOverlapping(SdrObject* pControl,OReportSection& _aReportSection,bool _bInsert = true); void correctOverlapping(SdrObject* pControl,OReportSection& _aReportSection,bool _bInsert = true);
......
...@@ -179,7 +179,7 @@ public: ...@@ -179,7 +179,7 @@ public:
// sets all default values // sets all default values
virtual void SetToDefault( const RSCINST & rInst ); virtual void SetToDefault( const RSCINST & rInst );
// wether input is equal to default // whether input is equal to default
virtual bool IsDefault( const RSCINST & rInst ); virtual bool IsDefault( const RSCINST & rInst );
// sets value to default // sets value to default
......
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