diff options
Diffstat (limited to 'toolkit')
20 files changed, 25 insertions, 25 deletions
diff --git a/toolkit/doc/layout/notes.txt b/toolkit/doc/layout/notes.txt index ebe5c55572a1..3e93264c1fc1 100644 --- a/toolkit/doc/layout/notes.txt +++ b/toolkit/doc/layout/notes.txt @@ -28,7 +28,7 @@ On-screen: | [ Ok ]| +-------------------+ -AWT Window hierarcy: +AWT Window hierarchy: Window + Label + Entry @@ -37,7 +37,7 @@ AWT Window hierarcy: ie. unchanged, and backwards compatible - a flat representation. -Toolkit Hierachy +Toolkit Hierarchy WindowContainer [Bin?] + Vbox diff --git a/toolkit/doc/layout/oldnotes.txt b/toolkit/doc/layout/oldnotes.txt index 0fd60fb93fd9..178e1d48ab8a 100644 --- a/toolkit/doc/layout/oldnotes.txt +++ b/toolkit/doc/layout/oldnotes.txt @@ -118,7 +118,7 @@ Dialog is an UnoControlContainer ... + but ... only the UnoControl-Dialog-Model has this ... - + Wow - even the percieved hierarchy: + + Wow - even the perceived hierarchy: + 'exportDialogModel' + achieved by 'getElementNames' -> flat set of names ... [urgh] diff --git a/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx b/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx index 9f5d696baf3e..7e36e4610236 100644 --- a/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx +++ b/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx @@ -92,7 +92,7 @@ FORWARD_DECLARE_INTERFACE( script, XNameContainer ) /** @param _rxAggregateInstance - is the object to be aggregated. Must be aquired excatly once (by the reference object given).<br/> + is the object to be aggregated. Must be acquired excatly once (by the reference object given).<br/> Will be reset to NULL upon leaving */ OGeometryControlModel_Base(::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable >& _rxAggregateInstance); diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java index a43a3d8090f1..cc0ec2f33dcb 100755 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java @@ -390,7 +390,7 @@ public class _XAccessibleComponent { /** * Just calls the method. <p> * - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. * @return */ public boolean _grabFocus() { @@ -406,7 +406,7 @@ public class _XAccessibleComponent { * component which support <code>XAccessibleComponent</code>. * * @return The array of children. Empty array returned if - * such children were not found or some error occured. + * such children were not found or some error occurred. */ private XAccessibleComponent[] getChildrenComponents() { XAccessible xAcc = UnoRuntime.queryInterface(XAccessible.class, oObj) ; @@ -444,7 +444,7 @@ public class _XAccessibleComponent { * <code>XAccessibleComponent</code>. * * @return The parent or <code>null</code> if the component - * has no parent or some errors occured. + * has no parent or some errors occurred. */ private XAccessibleComponent getParentComponent() { XAccessible xAcc = UnoRuntime.queryInterface(XAccessible.class, oObj) ; diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index df3a55ab56b8..76e100ed3f6d 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -87,7 +87,7 @@ void VCLXGraphics::SetOutputDevice( OutputDevice* pOutDev ) void VCLXGraphics::Init( OutputDevice* pOutDev ) { - DBG_ASSERT( !mpOutputDevice, "VCLXGraphics::Init allready has pOutDev !" ); + DBG_ASSERT( !mpOutputDevice, "VCLXGraphics::Init already has pOutDev !" ); mpOutputDevice = pOutDev; initAttrs(); diff --git a/toolkit/source/awt/vclxtabcontrol.cxx b/toolkit/source/awt/vclxtabcontrol.cxx index b609abaa75bd..68dcb613f60f 100644 --- a/toolkit/source/awt/vclxtabcontrol.cxx +++ b/toolkit/source/awt/vclxtabcontrol.cxx @@ -430,7 +430,7 @@ awt::Size SAL_CALL VCLXTabControl::getMinimumSize() if ( !pTabControl ) return requestedSize; - // calculate size to accomodate all children + // calculate size to accommodate all children unsigned i = 0; for ( std::list<Box_Base::ChildData *>::const_iterator it = maChildren.begin(); it != maChildren.end(); it++, i++ ) diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 0a2b0db836ed..fb680124ae9f 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -981,7 +981,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, ::com::sun::star::uno::Any anyHandle = xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE); - // use sal_Int64 here to accomodate all int types + // use sal_Int64 here to accommodate all int types // uno::Any shift operator whill upcast if necessary sal_Int64 nWindowHandle = 0; sal_Bool bXEmbed = sal_False; @@ -1193,7 +1193,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( Window* pChildWindow = NULL; if ( nSystemType == SYSTEM_DEPENDENT_TYPE ) { - // use sal_Int64 here to accomodate all int types + // use sal_Int64 here to accommodate all int types // uno::Any shift operator whill upcast if necessary sal_Int64 nWindowHandle = 0; sal_Bool bXEmbed = sal_False; diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 039e7102a564..b59a250bab07 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -1368,7 +1368,7 @@ void VCLXWindow::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds, bool bWithDe for( iter = rIds.begin(); iter != rIds.end(); iter++) { if( *iter == BASEPROPERTY_FONTDESCRIPTOR ) { - // some properties are not included in the FontDescriptor, but everytime + // some properties are not included in the FontDescriptor, but every time // when we have a FontDescriptor we want to have these properties too. // => Easier to register the here, istead everywhere where I register the FontDescriptor... diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx index ef29b3e7ba54..5d047ed638c0 100644 --- a/toolkit/source/awt/vclxwindow1.cxx +++ b/toolkit/source/awt/vclxwindow1.cxx @@ -58,7 +58,7 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle ) throw pException; } - // use sal_Int64 here to accomodate all int types + // use sal_Int64 here to accommodate all int types // uno::Any shift operator whill upcast if necessary sal_Int64 nHandle = 0; sal_Bool bXEmbed = sal_False; diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 5f81ac520a74..08ca54ccdbd1 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -336,7 +336,7 @@ throw (::com::sun::star::uno::RuntimeException) OSL_ENSURE( xDialogDevice.is(), "UnoDialogControl::windowResized: no peer, but a windowResized event?" ); // #i87592 In design mode the drawing layer works with sizes with decoration. - // Therefore we have to substract them before writing back to the properties (model). + // Therefore we have to subtract them before writing back to the properties (model). if ( xDialogDevice.is() && mbDesignMode ) { DeviceInfo aDeviceInfo( xDialogDevice->getInfo() ); diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 32aaddec7388..868c302dbb96 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -686,7 +686,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent VCLXWindow* pPeer = pVclPeer ? pVclPeer->GetWindowPeer() : NULL; VclListenerLock aNoVclEventMultiplexing( pPeer ); - // setting peer properties may result in an attemp to acquire the solar mutex, 'cause the peers + // setting peer properties may result in an attempt to acquire the solar mutex, 'cause the peers // usually don't have an own mutex but use the SolarMutex instead. // To prevent deadlocks resulting from this, we do this without our own mutex locked // 2000-11-03 - fs@openoffice.org @@ -1323,7 +1323,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer // this is necessary as our peer may lock the SolarMutex (actually, all currently known peers do), so calling // into the peer with our own mutex locked may cause deadlocks // (We _really_ need peers which do not use the SolarMutex. It's really pissing me off that from time to - // time deadlocks pop up because the low-level components like our peers use a mutex which ususally + // time deadlocks pop up because the low-level components like our peers use a mutex which usually // is locked at the top of the stack (it protects the global message looping). This is always dangerous, and // can not always be solved by tampering with other mutexes. // Unfortunately, the VCL used in the peers is not threadsafe, and by definition needs a locked SolarMutex.) diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 13dcd5eb5140..99ee8c193f07 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -467,7 +467,7 @@ void UnoControlModel::ImplRegisterProperty( sal_uInt16 nPropId ) if ( nPropId == BASEPROPERTY_FONTDESCRIPTOR ) { - // some properties are not included in the FontDescriptor, but everytime + // some properties are not included in the FontDescriptor, but every time // when we have a FontDescriptor we want to have these properties too. // => Easier to register the here, istead everywhere where I register the FontDescriptor... diff --git a/toolkit/src2xml/source/srcparser.py b/toolkit/src2xml/source/srcparser.py index 4ce04f537c88..c7f9b0ca5113 100644 --- a/toolkit/src2xml/source/srcparser.py +++ b/toolkit/src2xml/source/srcparser.py @@ -326,7 +326,7 @@ handler. if len(self.tokenBuf) == 0: pass elif scope == 0: - # We are not supposed to have any statment in global scope. + # We are not supposed to have any statement in global scope. # Just ignore this statement. pass else: diff --git a/toolkit/test/accessibility/AccTreeNode.java b/toolkit/test/accessibility/AccTreeNode.java index 55290167d8d5..8704f6e1c07c 100644 --- a/toolkit/test/accessibility/AccTreeNode.java +++ b/toolkit/test/accessibility/AccTreeNode.java @@ -338,7 +338,7 @@ class AccTreeNode /** Update the specified handlers. @return - The returned array containes the indices of the updated children + The returned array contains the indices of the updated children and can be used to create a TreeModelEvent. */ public Vector updateChildren (java.lang.Class class1) diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index f0b58048d2d8..624a6d78c93e 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -426,7 +426,7 @@ public class AccessibilityTreeModel /** - * broadcast a tree event in a seperate Thread + * broadcast a tree event in a separate Thread * must override fire method */ class EventRunner implements Runnable diff --git a/toolkit/test/accessibility/Canvas.java b/toolkit/test/accessibility/Canvas.java index 1241058bd692..e4b69a1c0cf5 100644 --- a/toolkit/test/accessibility/Canvas.java +++ b/toolkit/test/accessibility/Canvas.java @@ -228,7 +228,7 @@ class Canvas mnVOffset, mnScale*aScreenSize.getWidth(), mnScale*aScreenSize.getHeight()); - // Fill the screen rectangle and draw a frame arround it to increase its visibility. + // Fill the screen rectangle and draw a frame around it to increase its visibility. g2.setColor (new Color (250,240,230)); g2.fill (aScreen); g2.setColor (Color.BLACK); diff --git a/toolkit/test/accessibility/EventQueue.java b/toolkit/test/accessibility/EventQueue.java index bf2ccf12cc55..aca96b86c72c 100644 --- a/toolkit/test/accessibility/EventQueue.java +++ b/toolkit/test/accessibility/EventQueue.java @@ -28,7 +28,7 @@ import java.util.LinkedList; applications in a thread separate from the AWB main thread. The queue of event objects, LinkedList<Runnable> The queue object will - also serve as lock for the consumer/producer type syncronization. + also serve as lock for the consumer/producer type synchronization. */ class EventQueue implements Runnable diff --git a/toolkit/test/accessibility/OfficeConnection.java b/toolkit/test/accessibility/OfficeConnection.java index 1d304f4997f4..cfeafcb6dc7e 100644 --- a/toolkit/test/accessibility/OfficeConnection.java +++ b/toolkit/test/accessibility/OfficeConnection.java @@ -117,7 +117,7 @@ public class OfficeConnection private XMultiServiceFactory maServiceManager = null; /** A value of true just indicates that it has been tried to establish a connection, - not that that has been successfull. + not that that has been successful. */ private boolean mbInitialized = false; } diff --git a/toolkit/test/accessibility/QueuedTopWindowListener.java b/toolkit/test/accessibility/QueuedTopWindowListener.java index 4d3681ed62c5..8c59b4df8f91 100644 --- a/toolkit/test/accessibility/QueuedTopWindowListener.java +++ b/toolkit/test/accessibility/QueuedTopWindowListener.java @@ -83,7 +83,7 @@ class QueuedTopWindowListener public void windowActivated (final com.sun.star.lang.EventObject aEvent) throws RuntimeException { - System.out.println ("QueuedTopWindowListener: Top window actived: " + aEvent); + System.out.println ("QueuedTopWindowListener: Top window activated: " + aEvent); } public void windowDeactivated (final com.sun.star.lang.EventObject aEvent) diff --git a/toolkit/workben/layout/editor.cxx b/toolkit/workben/layout/editor.cxx index 66e92bd77bd8..b985d40bd4e5 100644 --- a/toolkit/workben/layout/editor.cxx +++ b/toolkit/workben/layout/editor.cxx @@ -698,7 +698,7 @@ bool moveWidget( Widget *pWidget, bool up /*or down*/ ) unsigned int childPos = pContainer->getChildPos( pSibling ); if ( pContainer->addChild( pWidget, childPos + (up ? 0 : 1) ) ) - return true; // should always be succesful + return true; // should always be successful } // go through parents -- try to get prepended to them else |