diff options
60 files changed, 83 insertions, 83 deletions
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx index 2800887e9f11..63c7f43d1b20 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx @@ -191,7 +191,7 @@ private: /** the XAccessible which creates/returns an AccessibleBrowseBox <p>The instance holds its XAccessibleContext with a hard reference, while - the contxt holds this instance weak.</p> + the context holds this instance weak.</p> */ typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible > AccessibleBrowseBoxAccess_Base; diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx index f3caab6cf5a6..bf431f55b72e 100644 --- a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx @@ -179,7 +179,7 @@ private: /** the XAccessible which creates/returns an AccessibleGridControl <p>The instance holds its XAccessibleContext with a hard reference, while - the contxt holds this instance weak.</p> + the context holds this instance weak.</p> */ typedef ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessible > AccessibleGridControlAccess_Base; diff --git a/basegfx/qa/mkpolygons.pl b/basegfx/qa/mkpolygons.pl index 2c8f1ff67216..714031775eea 100644 --- a/basegfx/qa/mkpolygons.pl +++ b/basegfx/qa/mkpolygons.pl @@ -43,7 +43,7 @@ sub open_file { my $filename = pop @_; - # Create base directory of temporary directory tree if not alreay + # Create base directory of temporary directory tree if not already # present. if ($TempDir eq "") { diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index f551af16b9ad..f06076fbbb32 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -3630,7 +3630,7 @@ RTLFUNC(Shell) } else if( aCmdLine.isEmpty() ) { - // avaoid special treatment (empty list) + // avoid special treatment (empty list) aCmdLine += " "; } sal_Int32 nLen = aCmdLine.getLength(); diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index e387dc4d88f4..b4ba5a7a371c 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -2480,7 +2480,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name ) "basic", "couldn't open library element stream - attempted to" " open library \"" << Name << '"'); - throw RuntimeException("couln't open library element stream", *this); + throw RuntimeException("couldn't open library element stream", *this); } } else diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index dd2a93bf0518..04beebad5385 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -761,7 +761,7 @@ public class OOoBean com.sun.star.lang.IllegalArgumentException, com.sun.star.util.CloseVetoException { - // wrap byte arrray into UNO stream + // wrap byte array into UNO stream com.sun.star.io.XInputStream xStream = new com.sun.star.lib.uno.adapter.ByteArrayToXInputStreamAdapter( aInBuffer ); @@ -896,7 +896,7 @@ public class OOoBean java.io.IOException, com.sun.star.lang.IllegalArgumentException { - // wrap byte arrray into UNO stream + // wrap byte array into UNO stream com.sun.star.lib.uno.adapter.XOutputStreamToByteArrayAdapter aStream = new com.sun.star.lib.uno.adapter.XOutputStreamToByteArrayAdapter( aOutBuffer); diff --git a/chart2/source/controller/dialogs/ResourceIds.hrc b/chart2/source/controller/dialogs/ResourceIds.hrc index 7c6dc042ce97..16cda856279a 100644 --- a/chart2/source/controller/dialogs/ResourceIds.hrc +++ b/chart2/source/controller/dialogs/ResourceIds.hrc @@ -21,7 +21,7 @@ #define _CHART2_RESOURCE_IDS_HRC //for strings see Strings.hrc -//for Bimaps see Bimaps.hrc +//for Bitmaps see Bitmaps.hrc //TabPage Ids: #define TP_LEGEND_POS 900 diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index 5b906b6a084a..1921fd3dae7d 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -42,7 +42,7 @@ typedef tPointVecType::size_type lcl_tSizeType; class lcl_SplineCalculation { public: - /** @descr creates an object that calculates cublic splines on construction + /** @descr creates an object that calculates cubic splines on construction @param rSortedPoints the points for which splines shall be calculated, they need to be sorted in x values @param fY1FirstDerivation the resulting spline should have the first @@ -57,7 +57,7 @@ public: double fY1FirstDerivation, double fYnFirstDerivation ); - /** @descr creates an object that calculates cublic splines on construction + /** @descr creates an object that calculates cubic splines on construction for the special case of periodic cubic spline @param rSortedPoints the points for which splines shall be calculated, diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index a050730acb95..798691129bf1 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -627,7 +627,7 @@ uno::Reference<drawing::XShape> "com.sun.star.drawing.Shape3DLatheObject" ), uno::UNO_QUERY ); xTarget->add(xShape); - double fWidth = rSize.DirectionX/2.0; //The depth will be corrrected within Matrix + double fWidth = rSize.DirectionX/2.0; //The depth will be corrected within Matrix double fRadius = fWidth; //!!!!!!!! problem in drawing layer: rotation object calculates wrong needed size -> wrong camera (it's a problem with bounding boxes) double fHeight = rSize.DirectionY; diff --git a/connectivity/source/drivers/mysql/YTable.cxx b/connectivity/source/drivers/mysql/YTable.cxx index 74a8744072d9..9dd2cd7a778d 100644 --- a/connectivity/source/drivers/mysql/YTable.cxx +++ b/connectivity/source/drivers/mysql/YTable.cxx @@ -222,7 +222,7 @@ void SAL_CALL OMySQLTable::alterColumnByName( const OUString& colName, const Ref || bOldAutoIncrement != bAutoIncrement || sOldDesc != sNewDesc ) { - // special handling because they change dthe type names to distinguish + // special handling because they changed the type names to distinguish // if a column should be an auto_incmrement one if ( bOldAutoIncrement != bAutoIncrement ) { diff --git a/connectivity/source/inc/hsqldb/HTools.hxx b/connectivity/source/inc/hsqldb/HTools.hxx index 9d42b69bfd7e..1c568ccc30cf 100644 --- a/connectivity/source/inc/hsqldb/HTools.hxx +++ b/connectivity/source/inc/hsqldb/HTools.hxx @@ -29,7 +29,7 @@ namespace connectivity { namespace hsqldb class HTools { public: - /** appens a proper WHERE clause to the given buffer, which filters + /** appends a proper WHERE clause to the given buffer, which filters for a given table name @param _bShortForm diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 199b53b2ccc3..4bec611b9de5 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -469,7 +469,7 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons return; // don't fire vetoable events. This method is called with our mutex locked, so calling into listeners would not be - // a good idea. The caler is responsible for not invoking this for constrained properties. + // a good idea. The caller is responsible for not invoking this for constrained properties. OSL_ENSURE( ( nAttributes & PropertyAttribute::CONSTRAINED ) == 0, "OPropertySetHelper::setDependentFastPropertyValue: not to be used for constrained properties!" ); (void)nAttributes; diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 5b79a08ad60a..3a0bd9ebfaa7 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -574,7 +574,7 @@ IMPL_LINK(SvxEditDictionaryDialog, SelectHdl, SvTabListBox*, pBox) { SvTreeListEntry* pEntry = pBox->FirstSelected(); OUString sTmpShort(SvTabListBox::GetEntryText(pEntry, 0)); - // without this the curser is always at the beginning of a word, if the text + // without this the cursor is always at the beginning of a word, if the text // is set over the ModifyHdl, although you're editing there at the moment if(pWordED->GetText() != sTmpShort) pWordED->SetText(sTmpShort); diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index f1723a96f4fe..c4dbac9ec259 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -875,7 +875,7 @@ void SAL_CALL ORowSet::updateNumericObject( sal_Int32 columnIndex, const Any& x, void SAL_CALL ORowSet::insertRow( ) throw(SQLException, RuntimeException, std::exception) { ::connectivity::checkDisposed(ORowSet_BASE1::rBHelper.bDisposed); - // insertRow is not allowd when + // insertRow is not allowed when // standing not on the insert row nor // when the row isn't modified // or the concurency is read only diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx index bc4e19c96630..6e0adefc5573 100644 --- a/dbaccess/source/core/dataaccess/datasource.hxx +++ b/dbaccess/source/core/dataaccess/datasource.hxx @@ -99,7 +99,7 @@ public: data source actually *is* registered at the database context. Normally, this name is passed at time of creation of the ODatabaseModelImpl instance, - but if a newly creaed data source is registered, then it must be possible to propagate + but if a newly created data source is registered, then it must be possible to propagate the new trgistration name. */ static void setName( diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index 27c5f95a1830..27fe3d799dbe 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -74,7 +74,7 @@ namespace dbaui @param _nColId the column id SOURCE_COLUMN or DEST_COLUMN - @return the current column id eihter SOURCE_COLUMN or DEST_COLUMN depends on the connection data + @return the current column id either SOURCE_COLUMN or DEST_COLUMN depends on the connection data */ sal_uInt16 getColumnIdent( sal_uInt16 _nColId ) const; public: diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx index 2cdfdbab4792..fcaf4375f181 100644 --- a/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/dbaccess/source/ui/inc/JoinTableView.hxx @@ -310,7 +310,7 @@ namespace dbaui void InitColors(); bool ScrollWhileDragging(); - /** opens the context menu to delate a connection + /** opens the context menu to delete a connection @param _aPos the position where the popup menu should appear @param _pSelConnection the connection which should be deleted */ diff --git a/dbaccess/source/ui/inc/TableCopyHelper.hxx b/dbaccess/source/ui/inc/TableCopyHelper.hxx index ceba0c89c35e..1e921ab34c03 100644 --- a/dbaccess/source/ui/inc/TableCopyHelper.hxx +++ b/dbaccess/source/ui/inc/TableCopyHelper.hxx @@ -173,7 +173,7 @@ namespace dbaui const SharedConnection& _xDestConnection ); - /** insert a table into the data source. The source can eihter be a table or a query + /** insert a table into the data source. The source can either be a table or a query */ void insertTable( const OUString& i_rSourceDataSource, diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 35349f5803c7..24ae4e5e1506 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -1550,7 +1550,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs) if ( !xViewProps.is() ) // correct name and try again m_sName = ::dbtools::composeTableName( getMetaData(), xQuery, ::dbtools::eInDataManipulation, false, false, false ); - OSL_ENSURE( xElements->hasByName( m_sName ), "OQueryController::doSaveAsDoc: newly creaed view does not exist!" ); + OSL_ENSURE( xElements->hasByName( m_sName ), "OQueryController::doSaveAsDoc: newly created view does not exist!" ); if ( xElements->hasByName( m_sName ) ) m_xAlterView.set( xElements->getByName( m_sName ), UNO_QUERY ); diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 882399de4b16..154cb9fb3035 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2200,10 +2200,10 @@ void Desktop::OpenClients() // Disable AutoSave feature in case "--norestore" or a similar command line switch is set on the command line. // The reason behind: AutoSave/EmergencySave/AutoRecovery share the same data. // But the require that all documents, which are saved as backup should exists inside - // memory. May be this mechanism will be inconsistent if the configuration exists ... + // memory. May be this mechanism will be inconsistent if the configuration exists... // but no document inside memory corrspond to this data. - // Furter it's not acceptable to recover such documents without any UI. It can - // need some time, where the user wont see any results and wait for finishing the office startup ... + // Further it's not acceptable to recover such documents without any UI. It can + // need some time, where the user wont see any results and wait for finishing the office startup... bool bAllowRecoveryAndSessionManagement = ( !rArgs.IsNoRestore() ) && ( !rArgs.IsHeadless() ); if ( ! bAllowRecoveryAndSessionManagement ) diff --git a/drawinglayer/source/primitive2d/embedded3dprimitive2d.cxx b/drawinglayer/source/primitive2d/embedded3dprimitive2d.cxx index 44965b2f1c5c..d3538f45b9ed 100644 --- a/drawinglayer/source/primitive2d/embedded3dprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/embedded3dprimitive2d.cxx @@ -128,7 +128,7 @@ namespace drawinglayer aNewRange.expand(basegfx::B2DPoint(a3DRange.getMaxX(), a3DRange.getMaxY())); aNewRange.transform(getObjectTransformation()); - // cehck for 3D shadows and their 2D projections. If those exist, they need to be + // check for 3D shadows and their 2D projections. If those exist, they need to be // taken into account if(impGetShadow3D(rViewInformation)) { diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx index 8cb12e69d1da..b80f6ce2c89b 100644 --- a/dtrans/source/win32/dnd/target.cxx +++ b/dtrans/source/win32/dnd/target.cxx @@ -342,7 +342,7 @@ HRESULT DropTarget::DragEnter( IDataObject *pDataObj, fire_dragEnter( e); // Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set // by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set - // in pdwEffect. The listener notification is asynchron, that is we cannot expext that the listener + // in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener // has already reacted to the notification. // If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed // then getDropEffect returns DROPEFFECT_MOVE which is the default value if no other modifier is pressed. @@ -390,7 +390,7 @@ HRESULT DropTarget::DragOver( DWORD grfKeyState, fire_dragOver( e); // Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set // by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set - // in pdwEffect. The listener notification is asynchron, that is we cannot expext that the listener + // in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener // has already reacted to the notification. // If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed // then getDropEffect returns DROPEFFECT_MOVE which is the default value if no other modifier is pressed. diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 2331196d67eb..f473c8a14f0c 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1941,7 +1941,7 @@ void ImpEditView::dragOver(const ::com::sun::star::datatransfer::dnd::DropTarget { long nScrollX = 0; long nScrollY = 0; - // Chech if in the sensitive area + // Check if in the sensitive area if ( ( (aMousePos.X()-pDragAndDropInfo->nSensibleRange) < GetOutputArea().Left() ) && ( ( aMousePos.X() + pDragAndDropInfo->nSensibleRange ) > GetOutputArea().Left() ) ) nScrollX = GetOutputArea().GetWidth() / SCRLRANGE; else if ( ( (aMousePos.X()+pDragAndDropInfo->nSensibleRange) > GetOutputArea().Right() ) && ( ( aMousePos.X() - pDragAndDropInfo->nSensibleRange ) < GetOutputArea().Right() ) ) diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 8795dc0ec3c6..574c12abfd8e 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -1525,7 +1525,7 @@ EditSelection ImpEditEngine::SelectWord( const EditSelection& rCurSel, sal_Int16 i18n::Boundary aBoundary = _xBI->getWordBoundary( aPaM.GetNode()->GetString(), aPaM.GetIndex(), aLocale, nWordType, true); - // don't select when curser at end of word + // don't select when cursor at end of word if ( ( aBoundary.endPos > aPaM.GetIndex() ) && ( ( aBoundary.startPos < aPaM.GetIndex() ) || ( bAcceptStartOfWord && ( aBoundary.startPos == aPaM.GetIndex() ) ) ) ) { diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index 230652bcd3ed..1db99c6a2918 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -54,7 +54,7 @@ namespace extensions { namespace resource @return the required resource @precond - the caler checked via <code>_resourceManager.IsAvailable( getResourceType(), _resourceId )</code> + the caller checked via <code>_resourceManager.IsAvailable( getResourceType(), _resourceId )</code> that the required resource really exists */ virtual Any getResource( SimpleResMgr& _resourceManager, sal_Int32 _resourceId ) const = 0; diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 6c44583c078a..a44e8d5086b8 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -1223,7 +1223,7 @@ void FilterCache::impl_validateAndOptimize() // Note: of course the default loader must be ignored here. // Because we replace its registration later completely with all // types, which are not referenced by any other loader. - // So we can avaoid our code against the complexity of a diff! + // So we can avoid our code against the complexity of a diff! OUString sLoader = pIt->first; if (sLoader.equals(sDefaultFrameLoader)) continue; @@ -1872,7 +1872,7 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName // special handling for flags! Convert it from an integer flag field back // to a list of names ... // But note: because we work directly on a reference to the cache item, - // its not allowd to change the value here. We must work on a copy! + // its not allowed to change the value here. We must work on a copy! pIt = aItem.find(PROPNAME_FLAGS); if (pIt != aItem.end()) { diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 4943d3c37f50..cd7f92877897 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4430,7 +4430,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r // mso_sptArc special treating: // sj: since we actually can't render the arc because of its weird SnapRect settings, // we will create a new CustomShape, that can be saved/loaded without problems. - // We will change the shape type, so this code applys only if importing arcs from msoffice. + // We will change the shape type, so this code applies only if importing arcs from msoffice. if ( aObjData.eShapeType == mso_sptArc ) { const OUString sAdjustmentValues( "AdjustmentValues" ); diff --git a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl index ec2edea76a95..10c189fd243c 100644 --- a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl +++ b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl @@ -697,7 +697,7 @@ <xsl:when test="$command = 't' "> <!-- relative moveto --> <xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' M ' ) "/> - <!--####maybe this is not crect because t r and v hasn't direct image in enhaced-path--> + <!--####maybe this is not created because t r and v haven't direct image in enhanced-path--> <xsl:variable name="num-and-pos"> <xsl:call-template name="get-number-after"> <xsl:with-param name="vml-path" select="$vml-path"/> @@ -716,7 +716,7 @@ </xsl:when> <xsl:when test="$command = 'r' "> <!-- relative lineto --> - <!--####maybe this is not crect because 't' 'r' and 'v' hasn't direct image in enhaced-path--> + <!--####maybe this is not created because 't' 'r' and 'v' haven't direct image in enhanced-path--> <!-- 'l' command is not supported currently, so we use 'L' --> <xsl:message>'l' command is not supported currently, so we use 'L'. This may case problem.</xsl:message> <xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' L ' ) "/> @@ -742,7 +742,7 @@ </xsl:when> <xsl:when test="$command = 'v' "> <!-- relative curveto --> - <!--####maybe this is not crect because 't' 'r' and 'v' hasn't direct image in enhaced-path--> + <!--####maybe this is not created because 't' 'r' and 'v' haven't direct image in enhanced-path--> <xsl:variable name="new-enhanced-path" select="concat($enhanced-path ,' C ' ) "/> <!--<xsl:variable name="control-and-pos"> <xsl:call-template name="get-number-after"> diff --git a/forms/qa/integration/forms/CellBinding.java b/forms/qa/integration/forms/CellBinding.java index f4258a82260f..342fd0f9d6cc 100644 --- a/forms/qa/integration/forms/CellBinding.java +++ b/forms/qa/integration/forms/CellBinding.java @@ -101,7 +101,7 @@ public class CellBinding extends complexlib.ComplexTestCase final String otherText = "something else"; final String yetAnotherText = "yet another text"; - // cretae a normal text control + // create a normal text control XPropertySet controlModel = m_formLayer.createControlAndShape( "DatabaseTextField", 30, 9, 30, 6 ); // bind it to cell A1 diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx index 1b28085c02e7..6f0ed999beac 100644 --- a/fpicker/source/win32/filepicker/dibpreview.cxx +++ b/fpicker/source/win32/filepicker/dibpreview.cxx @@ -86,7 +86,7 @@ CDIBPreview::CDIBPreview(HINSTANCE instance,HWND parent,sal_Bool bShowWindow) : if (!IsWindow(m_Hwnd)) { - SAL_WARN("fpicker","Coud not create preview window"); + SAL_WARN("fpicker","Could not create preview window"); UnregisterDibPreviewWindowClass(); throw std::runtime_error("Could not create preview window"); } diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 99bf5b2b0f7c..32bd408ebdec 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -441,7 +441,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame /** @short search for a registered protocol handler and ask him for a dispatch object - @descr Wes earch a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler. + @descr We search a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler. If we found anyone, we create and initialize it. Initialize means: we set our owner frame on it as context information. He can use it or leave it. Of course - we are aware of handler implementations, which doesn't support initialization. It's an optional feature. diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index f99a4f155dec..743e45bdd65e 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -1639,7 +1639,7 @@ Mutex& AddonsOptions::GetOwnStaticMutex() // ... we must create a new one. Protect follow code with the global mutex - // It must be - we create a static variable! MutexGuard aGuard( Mutex::getGlobalMutex() ); - // We must check our pointer again - because it can be that another instance of our class will be fastr then these! + // We must check our pointer again - because it can be that another instance of our class will be faster than these! if( pMutex == NULL ) { // Create the new mutex and set it for return on static variable. diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index d680bea4f458..5eef5841daf1 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -303,7 +303,7 @@ public: */ void startLoading(); - /** @short wait for an alreay running load request (started by calling + /** @short wait for an already running load request (started by calling startLoading() before). @descr The timeout parameter can be used to wait some times only diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 1d6c55b75464..15f00d4cf489 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -2504,9 +2504,9 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame // classify the used application module, which is used by this document. implts_specifyAppModuleAndFactory(aNew); - // Hack! Check for "illegal office documents" ... as e.g. the Basic IDE + // Hack! Check for "illegal office documents"... as e.g. the Basic IDE // Its not really a full featured office document. It doesn't provide an URL, any filter, a factory URL etcpp. - // TODO file bug to Basci IDE developers. They must remove the office document API from its service. + // TODO file bug to Basic IDE developers. They must remove the office document API from its service. if ( (aNew.OrgURL.isEmpty()) && (aNew.FactoryURL.isEmpty()) @@ -2598,8 +2598,8 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra } /* SAFE */ /* This method is called within disposing() of the document too. But there it's not a good idea to - deregister us as listener. Furter it make no sense - because the broadcaster dies. - So we suppress deregistration in such case ... + deregister us as listener. Further it make no sense - because the broadcaster dies. + So we suppress deregistration in such case... */ if (bStopListening) implts_stopModifyListeningOnDoc(aInfo); diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 58a890f68ba7..a3f7bd700584 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1738,14 +1738,14 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnership ) throw( css::util::Close { TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); - // At the end of this method may we must dispose ourself ... - // and may nobody from outside hold a reference to us ... + // At the end of this method may we must dispose ourself... + // and may nobody from outside hold a reference to us... // then it's a good idea to do that by ourself. css::uno::Reference< css::uno::XInterface > xSelfHold( static_cast< ::cppu::OWeakObject* >(this) ); // Check any close listener before we look for currently running internal processes. - // Because if a listener disagree with this close() request - we hace time to finish this - // internal operations too ... + // Because if a listener disagree with this close() request - we have time to finish this + // internal operations too... // Note: container is threadsafe himself. css::lang::EventObject aSource (static_cast< ::cppu::OWeakObject*>(this)); ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::util::XCloseListener>::get()); diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx index ec9f63097b78..142ec98e7364 100644 --- a/i18npool/source/breakiterator/xdictionary.cxx +++ b/i18npool/source/breakiterator/xdictionary.cxx @@ -361,7 +361,7 @@ WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBou sal_Int32 i = 0; // loop variable while (rCache.wordboundary[i] < rCache.length) { len = 0; - // look the continuous white space as one word and cashe it + // look the continuous white space as one word and cache it while (u_isWhitespace((sal_uInt32)text[wordBoundary.startPos + rCache.wordboundary[i] + len])) len ++; diff --git a/i18npool/source/characterclassification/cclass_unicode.cxx b/i18npool/source/characterclassification/cclass_unicode.cxx index da317a84237d..495cd2139a79 100644 --- a/i18npool/source/characterclassification/cclass_unicode.cxx +++ b/i18npool/source/characterclassification/cclass_unicode.cxx @@ -134,7 +134,7 @@ cclass_Unicode::getCharacterDirection( const OUString& Text, sal_Int32 nPos ) th sal_Int16 SAL_CALL cclass_Unicode::getScript( const OUString& Text, sal_Int32 nPos ) throw(RuntimeException, std::exception) { if ( nPos < 0 || Text.getLength() <= nPos ) return 0; - // ICU Unicode script type UBlockCode starts from 1 for Basci Latin, + // ICU Unicode script type UBlockCode starts from 1 for Basic Latin, // while OO.o enum UnicideScript starts from 0. // To map ICU UBlockCode to OO.o UnicodeScript, it needs to shift 1. return (sal_Int16) ublock_getCode(Text.iterateCodePoints(&nPos, 0))-1; diff --git a/include/basegfx/curve/b2dcubicbezier.hxx b/include/basegfx/curve/b2dcubicbezier.hxx index 72715eda698f..b76dfe3deb6f 100644 --- a/include/basegfx/curve/b2dcubicbezier.hxx +++ b/include/basegfx/curve/b2dcubicbezier.hxx @@ -160,7 +160,7 @@ namespace basegfx // extract snippet from fStart to fEnd from this bezier B2DCubicBezier snippet(double fStart, double fEnd) const; - // get range including conrol points + // get range including control points B2DRange getRange() const; /** Get the minimum extremum position t diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 4ead58f533c9..5c95c4d53077 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -358,7 +358,7 @@ public: Point GetDocPos( const Point& rPaperPos ) const; bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder = 0 ); - // StartDocPos corrresponds to VisArea.TopLeft(). + // StartDocPos corresponds to VisArea.TopLeft(). void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect ); void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos ); void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos, bool bClip ); diff --git a/include/framework/framelistanalyzer.hxx b/include/framework/framelistanalyzer.hxx index 3c1b7f4648ec..43d2b28c13a0 100644 --- a/include/framework/framelistanalyzer.hxx +++ b/include/framework/framelistanalyzer.hxx @@ -157,10 +157,10 @@ class FWE_DLLPUBLIC FrameListAnalyzer public: - /** starts analyze phase and fille all members with valid information. + /** starts analyze phase and fill all members with valid information. @param xSupplier - Must be a valid reference to a frames supplier, which provies + Must be a valid reference to a frames supplier, which provides access to the frame list for analyzing. @param xReferenceFrame diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index e3237ff29afd..1aeecc0ca0a2 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -1400,7 +1400,7 @@ public: Returns the first character from this string. @return the first character from this string or 0, if this string - is emptry. + is empty. */ sal_Char toChar() const { diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index d5142afc4139..9b0cfb45cc19 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -2134,7 +2134,7 @@ public: Returns the first character from this string. @return the first character from this string or 0, if this string - is emptry. + is empty. */ sal_Unicode toChar() const { diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index df4391f2c37a..b22aeef4ff0f 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -717,7 +717,7 @@ public: value. Tries to match a rSymbol with rExtension first, then with eFormatLanguage, then rSymbol only. This is because a currency entry might have been constructed using I18N locale data where a used locale - of a currrency format code must not necessarily match the locale of + of a currency format code must not necessarily match the locale of the locale data itself, e.g. [$HK$-40C] (being "zh_HK" locale) in zh_CN locale data. Here the rExtension would have the value 0x40c but eFormatLanguage of the number format would have the value of zh_CN diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index baa02a0198d1..1fc1c9786837 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -187,7 +187,7 @@ public: /* Window-Bits: - WB_ICON // Text beneth the icon + WB_ICON // Text beneath the icon WB_SMALL_ICON // Text right to the icon, position does not mind WB_DETAILS // Text right to the icon, limited positioning WB_BORDER @@ -201,7 +201,7 @@ public: WB_NODRAGSELECTION // No selection with tracking rectangle WB_NOCOLUMNHEADER // No Headerbar in Details view (Headerbar not implemented) WB_NOPOINTERFOCUS // No GrabFocus at MouseButtonDown - WB_HIGHLIGHTFRAME // The entry beneth the mouse willbe highlighted + WB_HIGHLIGHTFRAME // The entry beneath the mouse will be highlighted WB_NOASYNCSELECTHDL // Do not collect events -> Selection handlers will be called synchronously */ diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index b47181012c84..97394d23f72c 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -173,7 +173,7 @@ protected: m_pEmbeddedHelper; // helper for embedded objects to get rid of the SfxObjectShell SdrOutliner* pDrawOutliner; // an Outliner for outputting text SdrOutliner* pHitTestOutliner;// an Outliner for the HitTest - sal_uIntPtr nDefTextHgt; // Default text heigth in logical units + sal_uIntPtr nDefTextHgt; // Default text height in logical units VclPtr<OutputDevice> pRefOutDev; // ReferenceDevice for the EditEngine /// Set if we are doing tiled rendering. bool mbTiledRendering; @@ -354,7 +354,7 @@ public: void libreOfficeKitCallback(int nType, const char* pPayload) const; // If a new MapMode is set on the RefDevice (or similar) void RefDeviceChanged(); // not yet implemented - // default font heigth in logical units + // default font height in logical units void SetDefaultFontHeight(sal_uIntPtr nVal); sal_uIntPtr GetDefaultFontHeight() const { return nDefTextHgt; } // default tabulator width for the EditEngine diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 3e6d5662883a..4580a6a59203 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -750,9 +750,9 @@ void LwpTableLayout::RegisterStyle() // Parse table ParseTable(); - //Comment:The old code doesn't check if the LwpFoundry pointer is NULL, - // So the NULL pointer cause sodc frozee. Add code to check the - // the pointer. + //Comment: the old code doesn't check if the LwpFoundry pointer is NULL, + // so the NULL pointer cause sodc freeze. Add code to check the + // the pointer. //New Code if( GetFoundry() && GetTable() ) diff --git a/odk/examples/OLE/vbscript/readme.txt b/odk/examples/OLE/vbscript/readme.txt index 082a4dff340b..45a982a13db4 100644 --- a/odk/examples/OLE/vbscript/readme.txt +++ b/odk/examples/OLE/vbscript/readme.txt @@ -1,4 +1,4 @@ Run the script in WriterDemo.vbs with Windows Script Host. -Commmand line: +Command line: cscript WriterDemo.vbs diff --git a/odk/examples/java/DocumentHandling/DocumentConverter.java b/odk/examples/java/DocumentHandling/DocumentConverter.java index 35002fb5de1b..fe0460cd6a34 100644 --- a/odk/examples/java/DocumentHandling/DocumentConverter.java +++ b/odk/examples/java/DocumentHandling/DocumentConverter.java @@ -135,7 +135,7 @@ public class DocumentConverter { // Storing and converting the document xStorable.storeAsURL(sStoreUrl, propertyValues); - // Closing the converted document. Use XCloseable.clsoe if the + // Closing the converted document. Use XCloseable.close if the // interface is supported, otherwise use XComponent.dispose com.sun.star.util.XCloseable xCloseable = UnoRuntime.queryInterface( diff --git a/odk/examples/java/Text/StyleInitialization.java b/odk/examples/java/Text/StyleInitialization.java index ea5191ebb227..db0b8e1d866e 100644 --- a/odk/examples/java/Text/StyleInitialization.java +++ b/odk/examples/java/Text/StyleInitialization.java @@ -173,7 +173,7 @@ public class StyleInitialization { // BEGIN: 'Finding a suitable style' Section from the Tutorial - // craete a supplier to get the styles-collection + // create a supplier to get the styles-collection com.sun.star.style.XStyleFamiliesSupplier xSupplier = null; xSupplier = UnoRuntime.queryInterface( com.sun.star.style.XStyleFamiliesSupplier.class, xTextDocument ); diff --git a/qadevOOo/runner/helper/BuildEnvTools.java b/qadevOOo/runner/helper/BuildEnvTools.java index f4c96e84a92f..9222757304d0 100644 --- a/qadevOOo/runner/helper/BuildEnvTools.java +++ b/qadevOOo/runner/helper/BuildEnvTools.java @@ -24,7 +24,7 @@ import share.LogWriter; import util.*; /** - * This class support you to execute some shell commands in a buld environment. At every call of commands + * This class support you to execute some shell commands in a build environment. At every call of commands * a build environment was created and the commands will be executed. * */ diff --git a/qadevOOo/runner/helper/OfficeProvider.java b/qadevOOo/runner/helper/OfficeProvider.java index d2dd45997764..731814420b96 100644 --- a/qadevOOo/runner/helper/OfficeProvider.java +++ b/qadevOOo/runner/helper/OfficeProvider.java @@ -655,7 +655,7 @@ public class OfficeProvider implements AppProvider /** * If the office is connected but the <CODE>AppExecutionCommand</CODE> is not set, * this function asks the office for its location and fill the - * <CODE>AppExecutionCommand</CODE> with valid contet. + * <CODE>AppExecutionCommand</CODE> with valid contest. * This function was only called if parameter <CODE>AutoRestart</CODE> is set. * @param msf the <CODE>MultiServiceFactory</CODE> * @param param the <CODE>TestParameters</CODE> diff --git a/qadevOOo/runner/util/DynamicClassLoader.java b/qadevOOo/runner/util/DynamicClassLoader.java index 380bcec0c92c..e2bab1f9dd5c 100644 --- a/qadevOOo/runner/util/DynamicClassLoader.java +++ b/qadevOOo/runner/util/DynamicClassLoader.java @@ -61,7 +61,7 @@ public class DynamicClassLoader { /** * Get an instance of a class. The constructor matching to the - * given calss types is used and the instance is created using the arguments + * given calls types is used and the instance is created using the arguments * for the constructor. * @param className The class to instantiate. * @param ctorClassTypes The class types matching to the constructor. diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java index ea4a4fcd6ce6..768236a1333d 100644 --- a/qadevOOo/runner/util/XMLTools.java +++ b/qadevOOo/runner/util/XMLTools.java @@ -210,7 +210,7 @@ public class XMLTools { * If any collisions found appropriate error message is * output into a stream specified. No XML data output, i.e. * no output will be performed if no errors occur.<p> - * After document is completed there is a way to cehck + * After document is completed there is a way to check * if the XML data and structure was valid. */ private static class XMLWellFormChecker extends XMLWriter { diff --git a/qadevOOo/tests/java/ifc/awt/_XWindow.java b/qadevOOo/tests/java/ifc/awt/_XWindow.java index 8ec136ba2ced..2638cb7bd000 100644 --- a/qadevOOo/tests/java/ifc/awt/_XWindow.java +++ b/qadevOOo/tests/java/ifc/awt/_XWindow.java @@ -200,7 +200,7 @@ public class _XWindow extends MultiMethodTest { * performed depending on 'XWindow.ControlShape' existence. If this * relation exists then the size and position of container control * shape is changed, else the position and size of window itself is - * chaged<p> + * changed<p> * * Has <b> OK </b> status if methods of wListener were called when * corresponding events occurred. <p> diff --git a/qadevOOo/tests/java/ifc/container/_XEnumeration.java b/qadevOOo/tests/java/ifc/container/_XEnumeration.java index dfa2d52a84be..86dd4cbbcfec 100644 --- a/qadevOOo/tests/java/ifc/container/_XEnumeration.java +++ b/qadevOOo/tests/java/ifc/container/_XEnumeration.java @@ -36,7 +36,7 @@ import com.sun.star.lang.WrappedTargetException; * <ul> * <li> <code>'ENUM'</code> (of type <code>XEnumerationAccess</code>): * This test creates its own oObj because the method nextElement() -* will be modified this Object directly so other threads may be faild. +* will be modified this Object directly so other threads may be failed. * </li> * <ul> <p> * Test is multithread compliant. <p> diff --git a/qadevOOo/tests/java/ifc/container/_XNameReplace.java b/qadevOOo/tests/java/ifc/container/_XNameReplace.java index b5214bf9032f..f9b3283aadc8 100644 --- a/qadevOOo/tests/java/ifc/container/_XNameReplace.java +++ b/qadevOOo/tests/java/ifc/container/_XNameReplace.java @@ -38,7 +38,7 @@ import com.sun.star.uno.UnoRuntime; * for more information.</li> * <li> <code>'NAMEREPLACE'</code> <b>optional</b>: <code>String</code> * relation which represents element name to be replaced. -* Some Objects can't replace the firsr that comes along, i.e. +* Some Objects can't replace the first that comes along, i.e. * SwXStyleFamily. It has some pool styles which can't be replaced. * So the test need a special object to replace it by name. </li> * <li> <code>'XNameReplaceINDEX'</code> : For internal test @@ -109,7 +109,7 @@ public class _XNameReplace extends MultiMethodTest { XNameAccess oNameAccess = UnoRuntime.queryInterface( XNameAccess.class, oObj); oNames = oNameAccess.getElementNames(); - /* Some Objects can't replace the firsr that comes along, i.e. + /* Some Objects can't replace the first that comes along, i.e. SwXStyleFamily. It has some pool styles which can't be replaced. So the test need a special object to replace it by name. */ diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java index 5b946e75697b..1edec3b1c9e8 100644 --- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java +++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java @@ -90,9 +90,9 @@ public class _TableAutoFormatField extends MultiPropertyTest { } /** - * Locale values are predefined and can't be chaged arbitrary. + * Locale values are predefined and can't be arbitrary changed. * In this property value is changed from ('de', 'DE', '') - * to ('es', 'ES', '') and vise versa. + * to ('es', 'ES', '') and vice versa. */ public void _CharLocale() { testProperty("CharLocale", new PropertyTester() { diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java index bc8129f6e1ed..de0c327af736 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java +++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java @@ -137,7 +137,7 @@ public class _XCellRangesQuery extends MultiMethodTest { } /** - * Tested method returns all cells of a given type, defind in + * Tested method returns all cells of a given type, defined in * CellFlags * @see com.sun.star.sheet.CellFlags */ @@ -191,7 +191,7 @@ public class _XCellRangesQuery extends MultiMethodTest { } /** - * Tested method returns all cells of a given type, defind in + * Tested method returns all cells of a given type, defined in * FormulaResult * @see com.sun.star.sheet.FormulaResult */ @@ -297,4 +297,4 @@ public class _XCellRangesQuery extends MultiMethodTest { disposeEnvironment(); } } -}
\ No newline at end of file +} diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java index 59134280eeae..b22489ac34a9 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java @@ -110,7 +110,7 @@ public class _XAutoTextContainer extends MultiMethodTest { result &= true; } catch (com.sun.star.container.NoSuchElementException e) { result = false; - log.println("removeByName(): " + e + " -> FAILD"); + log.println("removeByName(): " + e + " -> FAILED"); } log.println("2nd removeByName()"); diff --git a/qadevOOo/tests/java/ifc/text/_XText.java b/qadevOOo/tests/java/ifc/text/_XText.java index b34374ac1167..eb1df0c5c72e 100644 --- a/qadevOOo/tests/java/ifc/text/_XText.java +++ b/qadevOOo/tests/java/ifc/text/_XText.java @@ -124,7 +124,7 @@ public class _XText extends MultiMethodTest { /** - * Removes the text contet added before. <p> + * Removes the text contest added before. <p> * Has <b> OK </b> status if the method successfully returns * and no exceptions were thrown. <p> * The following method tests are to be completed successfully before : |