diff options
250 files changed, 321 insertions, 332 deletions
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx index 9869678409fd..5654a12f77e5 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx @@ -102,7 +102,7 @@ public: virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - /** The returned string is assoicated with resource + /** The returned string is associated with resource <const>RID_STR_ACC_ACTION_TOGGLEPOPUP</const>. */ virtual OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex) diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index c4334cda4486..caa9720142e3 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -1116,7 +1116,7 @@ Document::retrieveCharacterAttributes( for( i = 0; i < nLength; i++ ) pIndices[i] = i; std::sort( &pIndices[0], &pIndices[nLength], IndexCompare(pPairs) ); - // create sorted sequences accoring to index array + // create sorted sequences according to index array ::css::uno::Sequence< ::css::beans::PropertyValue > aNewValues( nLength ); ::css::beans::PropertyValue* pNewValues = aNewValues.getArray(); for( i = 0; i < nLength; i++ ) diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx index 541b21dc95b7..2201b7a367de 100644 --- a/avmedia/source/framework/soundhandler.cxx +++ b/avmedia/source/framework/soundhandler.cxx @@ -210,7 +210,7 @@ SoundHandler::~SoundHandler() @short try to load audio file @descr This method try to load given audio file by URL and play it. We use vcl/Sound class to do that. - Playing of sound is asynchron everytime. + Playing of sound is asynchron every time. @attention We must hold us alive by ourself ... because we use async. vcl sound player ... but playing is started in async interface call "dispatch()" too. And caller forget us immediately. But then our uno ref count diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 709a2f156626..3b4958014a38 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -3037,7 +3037,7 @@ namespace basegfx } } - // substract length of current edge + // subtract length of current edge fPositionInEdge -= fEdgeLength; } diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 8eec134c0ca1..c4cb856186f2 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -233,7 +233,7 @@ namespace basegfx nY += nLastY; } - // ensure existance of start point + // ensure existence of start point if(!aCurrPoly.count()) { aCurrPoly.append(B2DPoint(nLastX, nLastY)); @@ -297,7 +297,7 @@ namespace basegfx nY += nLastY; } - // ensure existance of start point + // ensure existence of start point if(!aCurrPoly.count()) { aCurrPoly.append(B2DPoint(nLastX, nLastY)); @@ -348,7 +348,7 @@ namespace basegfx const double nX2Prime((nX1 * 2.0 + nX) / 3.0); const double nY2Prime((nY1 * 2.0 + nY) / 3.0); - // ensure existance of start point + // ensure existence of start point if(!aCurrPoly.count()) { aCurrPoly.append(B2DPoint(nLastX, nLastY)); @@ -388,7 +388,7 @@ namespace basegfx nY += nLastY; } - // ensure existance of start point + // ensure existence of start point if(!aCurrPoly.count()) { aCurrPoly.append(B2DPoint(nLastX, nLastY)); diff --git a/basegfx/source/raster/rasterconvert3d.cxx b/basegfx/source/raster/rasterconvert3d.cxx index 5ea062a0e95b..5132ade1cc52 100644 --- a/basegfx/source/raster/rasterconvert3d.cxx +++ b/basegfx/source/raster/rasterconvert3d.cxx @@ -111,7 +111,7 @@ namespace basegfx // sort current scanline using comparator. Only X is used there // since all entries are already in one processed line. This needs to be done - // everytime since not only new spans may have benn added or old removed, + // every time since not only new spans may have benn added or old removed, // but incrementing may also have changed the order ::std::sort(aCurrentLine.begin(), aCurrentLine.end(), lineComparator()); diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 0acfc92a7c1d..902ad6a17155 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1037,7 +1037,7 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic ) /************************************************************************** * -* Creation/Managment of modules +* Creation/Management of modules * **************************************************************************/ diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index 93ca51ef9aaf..bba9e88a8b35 100644 --- a/basic/source/comp/exprgen.cxx +++ b/basic/source/comp/exprgen.cxx @@ -269,7 +269,7 @@ void SbiExpression::Gen( RecursiveMode eRecMode ) sal_uInt16 uBase = pParser->nBase; if( pParser->IsCompatible() ) { - uBase |= 0x8000; // #109275 Flag compatiblity + uBase |= 0x8000; // #109275 Flag compatibility } pParser->aGen.Gen( _BASED, uBase ); pParser->aGen.Gen( _ARGV ); diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java index 02a08d0b83b5..368a3b1d57ba 100644 --- a/bean/com/sun/star/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/beans/LocalOfficeConnection.java @@ -102,7 +102,7 @@ public class LocalOfficeConnection * pipev := local_office_connection_pipe_name * </pre> * - * @param url This is UNO URL which discribes the type of a connection. + * @param url This is UNO URL which describes the type of a connection. */ public void setUnoUrl(String url) throws java.net.MalformedURLException @@ -604,9 +604,9 @@ public class LocalOfficeConnection } /** - * Retrieves the ammount of time to wait for the startup. + * Retrieves the amount of time to wait for the startup. * - * @return The ammount of time to wait in seconds(?). + * @return The amount of time to wait in seconds(?). */ public int getStartupTime() { diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index 3511161b2c2a..74a60e4d8e11 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -158,7 +158,7 @@ public class LocalOfficeConnection * pipev := local_office_connection_pipe_name * </pre> * - * @param url This is UNO URL which discribes the type of a connection. + * @param url This is UNO URL which describes the type of a connection. */ public void setUnoUrl(String url) throws java.net.MalformedURLException diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index ff11b608b03a..1da6646d6daa 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -474,7 +474,7 @@ public class OOoBean // @requirement FUNC.PAR.RWL/0.4 // @estimation 16h /** This method must be called when the OOoBean before the - sytem window may be released by its parent AWT/Swing component. + system window may be released by its parent AWT/Swing component. This is the case when java.awt.Component.isDisplayable() returns true. This is definitely the case when the OOoBean is removed diff --git a/bean/com/sun/star/comp/beans/SystemWindowException.java b/bean/com/sun/star/comp/beans/SystemWindowException.java index 9341b0545b34..ef8d8a8a4cb5 100644 --- a/bean/com/sun/star/comp/beans/SystemWindowException.java +++ b/bean/com/sun/star/comp/beans/SystemWindowException.java @@ -19,7 +19,7 @@ package com.sun.star.comp.beans; /** indicates that an operation needed a system window, - but no system window was aquired yet. + but no system window was acquired yet. @see com.sun.star.comp.beans.OOoBean.aquireSystemWindow diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java index fb0b5cc4b946..734923cff76f 100644 --- a/bean/qa/complex/bean/OOoBeanTest.java +++ b/bean/qa/complex/bean/OOoBeanTest.java @@ -454,7 +454,7 @@ public class OOoBeanTest } /** Tests focus problem just like test6, but the implementation is a little - * different. The bean is added and removed from withing the event dispatch + * different. The bean is added and removed from within the event dispatch * thread. Using Thread.sleep at various points (#1, #2, #3) seems to workaround * the problem. * @throws Exception diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx index 46198b96a56a..5ecdaf95b329 100644 --- a/binaryurp/source/writer.cxx +++ b/binaryurp/source/writer.cxx @@ -117,7 +117,7 @@ void Writer::queueReply( void Writer::unblock() { // Assumes that osl::Condition::set works as a memory barrier, so that - // changes made by preceeding sendDirectRequest/Reply calls are visible to + // changes made by preceding sendDirectRequest/Reply calls are visible to // subsequent sendRequest/Reply calls: unblocked_.set(); } diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx index c0b01636b88f..7bea1874314e 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_mips/cpp2uno.cxx @@ -678,7 +678,7 @@ namespace 40: 00000000 nop be careful, we use the argument space reserved by the caller to - write down regs. This can avoid the need to make use of arbitary far away + write down regs. This can avoid the need to make use of arbitrary far away stack space or to allocate a function frame for this code snippet itself. Since only functions with variable arguments will overwrite the space, cpp_vtable_call should be safe. diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx index b452343aeae7..fd488c82e27f 100644 --- a/canvas/source/cairo/cairo_canvasfont.cxx +++ b/canvas/source/cairo/cairo_canvasfont.cxx @@ -60,7 +60,7 @@ namespace cairocanvas maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false)); - // adjust to stretched/shrinked font + // adjust to stretched/shrunk font if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) ) { OutputDevice* pOutDev( mpRefDevice->getOutputDevice() ); diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index 0612c235c943..f8b851df6652 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -623,7 +623,7 @@ namespace cairocanvas aColor = pBitmapReadAcc->GetColor( nY, nX ); // cairo need premultiplied color values - // TODO(rodo) handle endianess + // TODO(rodo) handle endianness #ifdef OSL_BIGENDIAN if( pAlphaReadAcc ) nAlpha = data[ nOff++ ]; diff --git a/canvas/source/cairo/cairo_quartz_cairo.cxx b/canvas/source/cairo/cairo_quartz_cairo.cxx index 9c3d5a065a07..07951eeba94c 100644 --- a/canvas/source/cairo/cairo_quartz_cairo.cxx +++ b/canvas/source/cairo/cairo_quartz_cairo.cxx @@ -317,7 +317,7 @@ namespace cairo } /** - * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData + * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData * @param OutputDevice (not used) * @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx) * @param rSize width and height of the new surface diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx index 48b0d522b0ef..33b687c2da35 100644 --- a/canvas/source/cairo/cairo_textlayout.cxx +++ b/canvas/source/cairo/cairo_textlayout.cxx @@ -305,7 +305,7 @@ namespace cairocanvas /** * TextLayout::isCairoRenderable * - * Features currenly not supported by Cairo (VCL rendering is used as fallback): + * Features currently not supported by Cairo (VCL rendering is used as fallback): * - vertical glyphs * * @return true, if text/font can be rendered with cairo diff --git a/canvas/source/cairo/cairo_win32_cairo.cxx b/canvas/source/cairo/cairo_win32_cairo.cxx index 89b786cbfb28..a70add9500a2 100644 --- a/canvas/source/cairo/cairo_win32_cairo.cxx +++ b/canvas/source/cairo/cairo_win32_cairo.cxx @@ -77,7 +77,7 @@ namespace cairo } /** - * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData + * Surface::Surface: Create platform native Canvas surface from BitmapSystemData * @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx) * * Create a surface based on image data on pBmpData @@ -247,7 +247,7 @@ namespace cairo /** - * cairo::createBitmapSurface: Create platfrom native Canvas surface from BitmapSystemData + * cairo::createBitmapSurface: Create platform native Canvas surface from BitmapSystemData * @param OutputDevice (not used) * @param rData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx) * @param rSize width and height of the new surface diff --git a/canvas/source/cairo/cairo_xlib_cairo.cxx b/canvas/source/cairo/cairo_xlib_cairo.cxx index e5bb189e54f5..9b49c7e88cbc 100644 --- a/canvas/source/cairo/cairo_xlib_cairo.cxx +++ b/canvas/source/cairo/cairo_xlib_cairo.cxx @@ -171,7 +171,7 @@ namespace cairo } /** - * Surface::Surface: Create platfrom native Canvas surface from BitmapSystemData + * Surface::Surface: Create platform native Canvas surface from BitmapSystemData * @param pSysData Platform native system environment data (struct SystemEnvData in vcl/inc/sysdata.hxx) * @param pBmpData Platform native image data (struct BitmapSystemData in vcl/inc/bitmap.hxx) * @param width width of the new surface diff --git a/canvas/source/directx/dx_vcltools.cxx b/canvas/source/directx/dx_vcltools.cxx index 401c13fbab46..99432576fdd5 100644 --- a/canvas/source/directx/dx_vcltools.cxx +++ b/canvas/source/directx/dx_vcltools.cxx @@ -110,7 +110,7 @@ namespace dxcanvas !aBmpSysData.pDIB ) { // first of all, ensure that Bitmap contains a DIB, by - // aquiring a read access + // acquiring a read access BitmapReadAccess* pReadAcc = rBmp.AcquireReadAccess(); // TODO(P2): Acquiring a read access can actually diff --git a/canvas/source/tools/pagemanager.cxx b/canvas/source/tools/pagemanager.cxx index d6ae95fc61a9..aacf8a471e33 100644 --- a/canvas/source/tools/pagemanager.cxx +++ b/canvas/source/tools/pagemanager.cxx @@ -165,7 +165,7 @@ namespace canvas PageContainer_t::iterator it(maPages.begin()); while(it != aEnd) { - // if the page at hand takes the fragment, we immediatelly + // if the page at hand takes the fragment, we immediately // call select() to pull the information from the associated // image to the hardware surface. if((*it)->nakedFragment(pFragment)) diff --git a/canvas/source/tools/surface.hxx b/canvas/source/tools/surface.hxx index 4b73eea6e252..2b61b5ae3742 100644 --- a/canvas/source/tools/surface.hxx +++ b/canvas/source/tools/surface.hxx @@ -39,7 +39,7 @@ namespace canvas // Surface - /** surfaces denote occupied areas withing pages. + /** surfaces denote occupied areas within pages. pages encapsulate the hardware buffers that contain image data which can be used for texturing. diff --git a/canvas/source/tools/surfaceproxy.hxx b/canvas/source/tools/surfaceproxy.hxx index 4ec88e89903d..4b5862bf0967 100644 --- a/canvas/source/tools/surfaceproxy.hxx +++ b/canvas/source/tools/surfaceproxy.hxx @@ -37,7 +37,7 @@ namespace canvas Surface proxies are the connection between *one* source image and *one or more* hardware surfaces (or textures). in a - logical structure surface proxies represent soley this + logical structure surface proxies represent solely this dependeny plus some simple cache management. */ class SurfaceProxy : public ISurfaceProxy diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx index ec4f670afbc0..98fe92d2a3fb 100644 --- a/canvas/source/vcl/canvasfont.cxx +++ b/canvas/source/vcl/canvasfont.cxx @@ -62,7 +62,7 @@ namespace vclcanvas maFont->SetLanguage( LanguageTag::convertToLanguageType( rFontRequest.Locale, false)); - // adjust to stretched/shrinked font + // adjust to stretched/shrunk font if( !::rtl::math::approxEqual( rFontMatrix.m00, rFontMatrix.m11) ) { OutputDevice& rOutDev( rOutDevProvider->getOutDev() ); diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index 15acb1a17b10..2d5fa092c8c5 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -462,7 +462,7 @@ class DemoRenderer //begin hacks //This stuff doesn't belong here, but probably in curves //This stuff doesn't work in VCL b/c vcl doesn't do beziers - //Hah! Everytime the window redraws, we do this + //Hah! Every time the window redraws, we do this double ax; double ay; double bx; diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx index 675147362b8a..c2310d3372b2 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx @@ -87,7 +87,7 @@ public: */ ::com::sun::star::awt::Size GetPageSize() const; - /** calculates the current axes title sizes and substract that space them from the given recangle + /** calculates the current axes title sizes and subtract that space them from the given recangle */ ::com::sun::star::awt::Rectangle SubstractAxisTitleSizes( const ::com::sun::star::awt::Rectangle& rPositionRect ); diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 5e27717b8dc2..1f598f75fda4 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -997,7 +997,7 @@ void ChartDocumentWrapper::impl_resetAddIn() { try { - //make sure that the add-in does not hold a refernce to us anymore: + //make sure that the add-in does not hold a references to us anymore: Reference< lang::XComponent > xComp( xAddIn, uno::UNO_QUERY ); if( xComp.is()) xComp->dispose(); diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx index 8ce7e2889535..724c078ae30a 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.cxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx @@ -404,7 +404,7 @@ void DataBrowserModel::insertDataSeries( sal_Int32 nAfterColumnIndex ) } if( nSeriesNumberFormat != 0 ) { - //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immidiately + //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immediately Reference< beans::XPropertySet > xNewSeriesProps( xNewSeries, uno::UNO_QUERY ); if( xNewSeriesProps.is() ) xNewSeriesProps->setPropertyValue( "NumberFormat" , uno::makeAny( nSeriesNumberFormat ) ); diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index e04418c16092..d04d3b06215b 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -355,7 +355,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize ) lcl_ensureScaleValue(fScaleX); } else - fScaleX = 1.0;//looking from top or bottom hieght is irrelevant + fScaleX = 1.0;//looking from top or bottom height is irrelevant } else { @@ -399,7 +399,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize ) lcl_ensureScaleValue(fScaleX); } else - fScaleX = 1.0;//looking from top or bottom hieght is irrelevant + fScaleX = 1.0;//looking from top or bottom height is irrelevant } else { diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 77db5f99ade1..88c31039b7e6 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -883,7 +883,6 @@ void SeriesPlotterContainer::setScalesFromCooSysToPlotter() void SeriesPlotterContainer::setNumberFormatsFromAxes() { //set numberformats to plotter to enable them to display the data labels in the numberformat of the axis - ::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin(); const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end(); for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; ++aPlotterIter ) diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 707cfc042702..35202af6cdf3 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1548,10 +1548,10 @@ bool EmbeddedObjectContainer::StoreChildren(bool _bOasisFormat,bool _bObjectsOnl } else { - //do nothing.embeded model is not modified, no need to persist. + //do nothing. Embedded model is not modified, no need to persist. } } - else //the embeded object is in active status, always store back it. + else //the embedded object is in active status, always store back it. { xPersist->storeOwn(); } diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 9771003366d5..13859f83b3b5 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -184,7 +184,7 @@ namespace dbtools } // we need to map the parameter names (which is all we get from the 's - // MasterFields property) to indicies, which are needed by the XParameters + // MasterFields property) to indices, which are needed by the XParameters // interface of the row set) Reference<XPropertySet> xParam; for ( sal_Int32 i = 0; i < m_nInnerCount; ++i ) diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx index 34418e05aadc..8f89338b8dc5 100644 --- a/connectivity/source/cpool/ZConnectionPool.hxx +++ b/connectivity/source/cpool/ZConnectionPool.hxx @@ -68,7 +68,7 @@ namespace connectivity typedef struct { TPooledConnections aConnections; - sal_Int32 nALiveCount; // will be decremented everytime a time says to, when will reach zero the pool will be deleted + sal_Int32 nALiveCount; // will be decremented every time a time says to, when will reach zero the pool will be deleted } TConnectionPool; struct TDigestHolder diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx index aa3e84fea447..2242941bdaab 100644 --- a/connectivity/source/cpool/ZPoolCollection.hxx +++ b/connectivity/source/cpool/ZPoolCollection.hxx @@ -53,7 +53,7 @@ namespace connectivity ::com::sun::star::beans::XPropertyChangeListener > OPoolCollection_Base; - /// OPoolCollection: controll the whole connection pooling for oo + /// OPoolCollection: control the whole connection pooling for oo class OPoolCollection : public OPoolCollection_Base { diff --git a/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx index 36caa9a53f3e..de43945b8bfa 100644 --- a/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx +++ b/connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx @@ -149,7 +149,7 @@ Reference< ::com::sun::star::io::XInputStream > SAL_CALL ODatabaseMetaDataResult WpADOField aField = ADOS::getField(m_pRecordSet,columnIndex); if((aField.GetAttributes() & adFldLong) == adFldLong) { - //Copy the data only upto the Actual Size of Field. + //Copy the data only up to the Actual Size of Field. sal_Int32 nSize = aField.GetActualSize(); Sequence<sal_Int8> aData(nSize); long index = 0; diff --git a/connectivity/source/drivers/ado/AResultSet.cxx b/connectivity/source/drivers/ado/AResultSet.cxx index 44967fbd136b..11552cbf12aa 100644 --- a/connectivity/source/drivers/ado/AResultSet.cxx +++ b/connectivity/source/drivers/ado/AResultSet.cxx @@ -179,7 +179,7 @@ Reference< ::com::sun::star::io::XInputStream > SAL_CALL OResultSet::getBinarySt if((aField.GetAttributes() & adFldLong) == adFldLong) { - //Copy the data only upto the Actual Size of Field. + //Copy the data only up to the Actual Size of Field. sal_Int32 nSize = aField.GetActualSize(); Sequence<sal_Int8> aData(nSize); long index = 0; diff --git a/connectivity/source/inc/TSkipDeletedSet.hxx b/connectivity/source/inc/TSkipDeletedSet.hxx index 048936212473..4bc6e10564d7 100644 --- a/connectivity/source/inc/TSkipDeletedSet.hxx +++ b/connectivity/source/inc/TSkipDeletedSet.hxx @@ -52,7 +52,7 @@ namespace connectivity /** skipDeleted moves the resultset to the position defined by the parameters - it garantees that the row isn't deleted + it guarantees that the row isn't deleted @param IResultSetHelper::Movement _eCursorPosition in which direction the resultset should be moved sal_Int32 _nOffset the position relativ to the movement diff --git a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx index c4f51768a7a4..82d2c4544507 100644 --- a/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/ado/ADatabaseMetaDataResultSet.hxx @@ -55,7 +55,7 @@ namespace connectivity public ::cppu::OPropertySetHelper, public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet> { - ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime + ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time ::std::map<sal_Int32, TInt2IntMap > m_aValueRange; ::std::map<sal_Int32, TInt2IntMap >::iterator m_aValueRangeIter; diff --git a/connectivity/source/inc/file/FNumericFunctions.hxx b/connectivity/source/inc/file/FNumericFunctions.hxx index 6421f41a3b4e..8b80c6b858ac 100644 --- a/connectivity/source/inc/file/FNumericFunctions.hxx +++ b/connectivity/source/inc/file/FNumericFunctions.hxx @@ -169,7 +169,7 @@ namespace connectivity > SELECT LOG(-2); -> NULL - If called with two parameters, this function returns the logarithm of X for an arbitary base B: + If called with two parameters, this function returns the logarithm of X for an arbitrary base B: > SELECT LOG(2,65536); -> 16.000000 diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx index 064531b3c1d5..74b046dae24c 100644 --- a/connectivity/source/inc/file/FResultSet.hxx +++ b/connectivity/source/inc/file/FResultSet.hxx @@ -70,7 +70,7 @@ namespace connectivity protected: ::std::vector<void*> m_aBindVector; - ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime + ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time ::std::vector<sal_Int32> m_aOrderbyColumnNumber; ::std::vector<TAscendingOrder> m_aOrderbyAscending; diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index 6cc8bf1482bb..1abb479b236c 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -62,7 +62,7 @@ namespace connectivity { protected: - ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime + ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time ::std::vector<sal_Int32> m_aParameterIndexes; // maps the parameter index to column index ::std::vector<sal_Int32> m_aOrderbyColumnNumber; ::std::vector<TAscendingOrder> m_aOrderbyAscending; diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx index 51f75a7b6a84..d8da9dd22841 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx @@ -58,7 +58,7 @@ namespace connectivity public ::cppu::OPropertySetHelper, public ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet> { - ::connectivity::TIntVector m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime + ::connectivity::TIntVector m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time ::std::map<sal_Int32, ::connectivity::TInt2IntMap > m_aValueRange; ::std::map<sal_Int32, ::connectivity::TString2IntMap > m_aStrValueRange; diff --git a/connectivity/workben/skeleton/SResultSet.hxx b/connectivity/workben/skeleton/SResultSet.hxx index 4b70366be345..f305393d188d 100644 --- a/connectivity/workben/skeleton/SResultSet.hxx +++ b/connectivity/workben/skeleton/SResultSet.hxx @@ -70,7 +70,7 @@ namespace connectivity protected: TVoidVector m_aBindVector; ::std::vector<sal_Int32> m_aLengthVector; - ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 everytime + ::std::vector<sal_Int32> m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time ::std::vector< ORowSetValue> m_aRow; // only used when SQLGetData can't be called in any order OStatement_Base* m_pStatement; ::com::sun::star::uno::WeakReferenceHelper m_aStatement; diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx index 926146b9497d..a7d0de7688bc 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -232,7 +232,7 @@ void LogProbe( SAL_INFO("cppu", "} LogBridge () " << sTemp.getStr()); if ( ppException && *ppException ) { - SAL_INFO("cppu", " exception occurred : "); + SAL_INFO("cppu", " exception occurred : "); typelib_TypeDescription * pElementTypeDescr = 0; TYPELIB_DANGER_GET( &pElementTypeDescr, (*ppException)->pType ); const ::rtl::OString sValue( ::rtl::OUStringToOString(pElementTypeDescr->pTypeName,osl_getThreadTextEncoding())); diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index 6c90e5516c13..ae2a9f00ba56 100644 --- a/cppuhelper/source/bootstrap.cxx +++ b/cppuhelper/source/bootstrap.cxx @@ -178,7 +178,7 @@ Reference< XComponentContext > SAL_CALL bootstrap() case osl_Process_E_NotFound: throw BootstrapException( "image not found!" ); case osl_Process_E_TimedOut: - throw BootstrapException( "timout occurred!" ); + throw BootstrapException( "timeout occurred!" ); case osl_Process_E_NoPermission: throw BootstrapException( "permission denied!" ); case osl_Process_E_Unknown: diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index 15bcc6f08c47..85f0316daf32 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -573,7 +573,7 @@ Any ComponentContext::lookupMap( OUString const & rName ) #if OSL_DEBUG_LEVEL > 0 ::fprintf( stderr, - "### omitting context for service instanciation!\n" ); + "### omitting context for service instantiation!\n" ); #endif xInstance = args.getLength() ? xFac2->createInstanceWithArguments( args ) @@ -594,11 +594,11 @@ Any ComponentContext::lookupMap( OUString const & rName ) } } } - catch (RuntimeException &) + catch (const RuntimeException &) { throw; } - catch (Exception & exc) + catch (const Exception & exc) { SAL_WARN( "cppuhelper", diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 0bf1dfff78e6..68124b579af9 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -379,7 +379,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent { //initially or after the last error of a sentence MarkNextError will fail //then GetNextSentence() has to be called followed again by MarkNextError() - //MarkNextError is not initally called if the UndoEdit mode is active + //MarkNextError is not initially called if the UndoEdit mode is active bool bNextSentence = false; if((!m_pSentenceED->IsUndoEditMode() && m_pSentenceED->MarkNextError( bIgnoreCurrentError, xSpell )) || true == ( bNextSentence = GetNextSentence_Impl(bUseSavedSentence, m_pSentenceED->IsUndoEditMode()) && m_pSentenceED->MarkNextError( false, xSpell ))) diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx index d6ca568ea174..f32bc7147959 100644 --- a/cui/source/inc/cuihyperdlg.hxx +++ b/cui/source/inc/cuihyperdlg.hxx @@ -60,7 +60,7 @@ public : class SvxHpLinkDlg : public IconChoiceDialog { private: - SvxHlinkCtrl maCtrl; ///< Controler + SvxHlinkCtrl maCtrl; ///< Controller SfxBindings* mpBindings; SfxItemSet* mpItemSet; diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 161a675ce304..72a4e3dec2c9 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -124,7 +124,7 @@ private: bool mbSizeDisabled; bool mbAdjustDisabled; - // frome size + // from size // #i75273# double mfOldWidth; double mfOldHeight; diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index b69560550ba6..452fa7a4c22b 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -1750,6 +1750,7 @@ IMPL_LINK( SvxLineTabPage, GraphicHdl_Impl, MenuButton *, pButton ) SymbolSelected(pButton); return 0; } + IMPL_LINK( SvxLineTabPage, SizeHdl_Impl, MetricField *, pField) { bNewSize = true; diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx index 33ff986f73f8..520ddb0f7532 100644 --- a/dbaccess/source/core/api/RowSetBase.hxx +++ b/dbaccess/source/core/api/RowSetBase.hxx @@ -358,7 +358,7 @@ namespace dbaccess private: ::std::auto_ptr<ORowSetNotifierImpl> m_pImpl; ORowSetBase* m_pRowSet; - // not aquired! This is not necessary because this class here is to be used on the stack within + // not acquired! This is not necessary because this class here is to be used on the stack within // a method of ORowSetBase (or derivees) bool m_bWasNew; bool m_bWasModified; diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx index 5908d2c3a518..f6bdd98a1a59 100644 --- a/dbaccess/source/core/api/definitioncolumn.cxx +++ b/dbaccess/source/core/api/definitioncolumn.cxx @@ -319,7 +319,7 @@ OColumnWrapper::OColumnWrapper( const Reference< XPropertySet > & rCol, const bo ,m_nColTypeID(-1) { // which type of aggregate property do we have? - // we distingish the properties by the containment of optional properties + // we distinguish the properties by the containment of optional properties m_nColTypeID = 0; if ( m_xAggregate.is() ) { diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx index 88f21841b4bc..d96b6d8d867d 100644 --- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx +++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx @@ -291,7 +291,7 @@ void OComponentDefinition::columnAppended( const Reference< XPropertySet >& _rxS // but xColDesc will live longer than this. So effectively, the setParent call was pretty useless. // // The intention for this parenting was that the column descriptor is able to find the data source, - // by traveling up the parent hierachy until there's an XDataSource. This didn't work (which + // by traveling up the parent hierarchy until there's an XDataSource. This didn't work (which // for instance causes #i65023#). We need another way to properly ensure this. notifyDataSourceModified(); diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx index e162cca1a611..ffb139d1db42 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.hxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx @@ -253,7 +253,7 @@ public: /** stores the embedded storage ("database") @param _bPreventRootCommits - Normally, committing the embedded storage results in also commiting the root storage + Normally, committing the embedded storage results in also committing the root storage - this is an automatism for data safety reasons. If you pass <TRUE/> here, committing the root storage is prevented for this particular call. diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index 1af1083f5504..0802c16344e0 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -286,7 +286,7 @@ OConnection::OConnection(ODatabaseSource& _rDB , const Reference< XComponentContext >& _rxORB) :OSubComponent(m_aMutex, static_cast< OWeakObject* >(&_rDB)) // as the queries reroute their refcounting to us, this m_aMutex is okey. If the queries - // container would do it's own refcounting, it would have to aquire m_pMutex + // container would do it's own refcounting, it would have to acquire m_pMutex // same for tables ,m_aTableFilter(_rDB.m_pImpl->m_aTableFilter) ,m_aTableTypeFilter(_rDB.m_pImpl->m_aTableTypeFilter) diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index a55911465e8c..b448319fe53b 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -1023,7 +1023,7 @@ void ODatabaseDocument::impl_storeAs_throw( const OUString& _rURL, const ::comph // if we're in the process of initializing the document (which effectively means it is an implicit // initialization triggered in storeAsURL), the we do not notify events, since to an observer, the SaveAs - // should not be noticable + // should not be noticeable bool bIsInitializationProcess = impl_isInitializing(); if ( !bIsInitializationProcess ) diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx index 4dff3fcf911e..73096e5b1d5c 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.hxx +++ b/dbaccess/source/core/dataaccess/databasedocument.hxx @@ -497,7 +497,7 @@ private: /** closes the frames of all connected controllers @param _bDeliverOwnership - determines if the ownership should be transfered to the component which + determines if the ownership should be transferred to the component which possibly vetos the closing @raises ::com::sun::star::util::CloseVetoException diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index cd27afa8e8c2..a533fa6c68cc 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -1161,7 +1161,7 @@ Reference< XConnection > SAL_CALL ODatabaseSource::connectWithCompletion( const if (bNewPasswordGiven) { m_pImpl->m_sFailedPassword = m_pImpl->m_aPassword; - // assume that we had an authentication problem. Without this we may, after an unsucessful connect, while + // assume that we had an authentication problem. Without this we may, after an unsuccessful connect, while // the user gave us a password an the order to remember it, never allow an password input again (at least // not without restarting the session) m_pImpl->m_aPassword = OUString(); @@ -1317,8 +1317,8 @@ void SAL_CALL ODatabaseSource::flushed( const EventObject& /*rEvent*/ ) throw (R // // Since this is a conceptual problem as long as we do use those ZIP packages (in fact, we *cannot* // provide the desired functionality as long as we do not have a package format which allows O(1) writes), - // we cannot completely fix this. However, we can relax the problem by commiting more often - often - // enough so that data loss is more seldom, and seldom enough so that there's no noticable performance + // we cannot completely fix this. However, we can relax the problem by committing more often - often + // enough so that data loss is more seldom, and seldom enough so that there's no noticeable performance // decrease. // // For this, we introduced a few places which XFlushable::flush their connections, and register as diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index a8701814b32a..ad56c3a29206 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -329,7 +329,7 @@ namespace dbaui const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& _xDefinition ); - /** Inserts a new object into the hierachy given be the type. + /** Inserts a new object into the hierarchy given be the type. @param _eType Where to insert the new item. @param _sParentFolder diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx index ec9edb0ffa14..a58b77b52e60 100644 --- a/dbaccess/source/ui/app/AppControllerDnD.cxx +++ b/dbaccess/source/ui/app/AppControllerDnD.cxx @@ -155,7 +155,7 @@ void OApplicationController::deleteTables(const ::std::vector< OUString>& _rList if(e.TargetException >>= aSql) aErrorInfo = aSql; else - OSL_FAIL("OApplicationController::implDropTable: something strange happended!"); + OSL_FAIL("OApplicationController::implDropTable: something strange happened!"); } catch( const Exception& ) { diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx index 16ff6de6acd9..d4a971c48c2c 100644 --- a/dbaccess/source/ui/app/AppDetailView.cxx +++ b/dbaccess/source/ui/app/AppDetailView.cxx @@ -418,7 +418,6 @@ void OTasksWindow::setHelpText(sal_uInt16 _nId) if ( _nId ) { OUString sText = ModuleRes(_nId); - m_aHelpText.SetText(sText); } else diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 1790b90779e4..1fd968578621 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -971,7 +971,7 @@ Reference< XPropertySet > SbaGridControl::getField(sal_uInt16 nModelPos) else OSL_FAIL("SbaGridControl::getField getColumns returns NULL or ModelPos is > than count!"); } - catch(Exception&) + catch (const Exception&) { OSL_FAIL("SbaGridControl::getField Exception occurred!"); } diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index b076da07ff76..2a85ef3ddb16 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -1996,7 +1996,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue { aDescriptor[daSelection] <<= aSelection; aDescriptor[daBookmarkSelection] <<= sal_False; - // these are selection indicies + // these are selection indices // before we change this, all clients have to be adjusted // so that they recognize the new BookmarkSelection property! } diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx index 05e3cd7427ae..624c95180e59 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.cxx +++ b/dbaccess/source/ui/dlg/advancedsettings.cxx @@ -141,7 +141,7 @@ namespace dbaui { OSL_PRECOND( m_aBooleanSettings.empty(), "SpecialSettingsPage::impl_initBooleanSettings: called twice!" ); - // for easier maintainance, write the table in this form, then copy it to m_aBooleanSettings + // for easier maintenance, write the table in this form, then copy it to m_aBooleanSettings BooleanSettingDesc aSettings[] = { { &m_pIsSQL92Check, "usesql92", DSID_SQL92CHECK, false }, { &m_pAppendTableAlias, "append", DSID_APPEND_TABLE_ALIAS, false }, diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx index 8a39db161eb5..4c38561879f6 100644 --- a/dbaccess/source/ui/dlg/dbadmin.cxx +++ b/dbaccess/source/ui/dlg/dbadmin.cxx @@ -444,7 +444,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp void ODbAdminDialog::destroyItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults) { - // _first_ delete the set (refering the pool) + // _first_ delete the set (referring the pool) if (_rpSet) { delete _rpSet; diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx index 54ea0be095eb..dd54e145788d 100644 --- a/dbaccess/source/ui/dlg/generalpage.hxx +++ b/dbaccess/source/ui/dlg/generalpage.hxx @@ -51,7 +51,7 @@ namespace dbaui SPECIAL_MESSAGE m_eLastMessage; Link m_aTypeSelectHandler; /// to be called if a new type is selected - bool m_bDisplayingInvalid : 1; // the currently displayed data source is deleted + bool m_bDisplayingInvalid : 1; /// the currently displayed data source is deleted bool m_bInitTypeList : 1; bool approveDatasourceType( const OUString& _sURLPrefix, OUString& _inout_rDisplayName ); void insertDatasourceTypeEntryData( const OUString& _sType, const OUString& sDisplayName ); diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx index db1112943b91..a0e20f7bb968 100644 --- a/dbaccess/source/ui/inc/UITools.hxx +++ b/dbaccess/source/ui/inc/UITools.hxx @@ -368,7 +368,7 @@ namespace dbaui */ const SfxFilter* getStandardDatabaseFilter(); - /** opens a save dialog to store a form or report folder in the current hierachy. + /** opens a save dialog to store a form or report folder in the current hierarchy. @param _pParent The parent of the dialog. @param _rxContext diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index b8bc4439641d..d0e69379d20e 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -1185,7 +1185,7 @@ TOTypeInfoSP queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo) for(;aIter != aEnd;++aIter) { // OJ: we don't want to set an autoincrement column to be key - // because we don't have the possiblity to know how to create + // because we don't have the possibility to know how to create // such auto increment column later on // so until we know how to do it, we create a column without autoincrement // if ( !aIter->second->bAutoIncrement ) diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index 798937674198..68b05500691d 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -542,7 +542,7 @@ void OQueryTableView::AddTabWin(const OUString& _rComposedName, const OUString& case KeyType::PRIMARY: { - // we have a primary key so look in our list if there exsits a key which this is refered to + // we have a primary key so look in our list if there exists a key which this is referred to OTableWindowMap::const_iterator aIter = pTabWins->begin(); OTableWindowMap::const_iterator aEnd = pTabWins->end(); for(;aIter != aEnd;++aIter) diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 785d92abffa4..e11ba9580613 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -1118,11 +1118,11 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou sal_Int32 nCount = xMeta->getColumnCount(); ::std::vector< sal_Int32 > aSourceColTypes; aSourceColTypes.reserve( nCount + 1 ); - aSourceColTypes.push_back( -1 ); // just to avoid a everytime i-1 call + aSourceColTypes.push_back( -1 ); // just to avoid a every time i-1 call ::std::vector< sal_Int32 > aSourcePrec; aSourcePrec.reserve( nCount + 1 ); - aSourcePrec.push_back( -1 ); // just to avoid a everytime i-1 call + aSourcePrec.push_back( -1 ); // just to avoid a every time i-1 call for ( sal_Int32 k=1; k <= nCount; ++k ) { diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 03c436eb0138..377afc7f85c2 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1487,7 +1487,7 @@ int Desktop::Main() pExecGlobals->xGlobalBroadcaster = Reference < css::document::XEventListener > ( css::frame::theGlobalEventBroadcaster::get(xContext), UNO_QUERY_THROW ); - /* ensure existance of a default window that messages can be dispatched to + /* ensure existence of a default window that messages can be dispatched to This is for the benefit of testtool which uses PostUserEvent extensively and else can deadlock while creating this window from another tread while the main thread is not yet in the event loop. @@ -1645,7 +1645,7 @@ int Desktop::Main() // Post user event to startup first application component window // We have to send this OpenClients message short before execute() to - // minimize the risk that this message overtakes type detection contruction!! + // minimize the risk that this message overtakes type detection construction!! Application::PostUserEvent( LINK( this, Desktop, OpenClients_Impl ) ); // Post event to enable acceptors diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx index f6718fee79df..8a25df838cd2 100644 --- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx +++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx @@ -104,7 +104,7 @@ public: If the platform element is present but does not specify a platform then an empty sequence is returned. Examples for invalid platform elements: <pre> - <platform />, <platform value="" />, <platfrom value=","> + <platform />, <platform value="" />, <platform value=","> </pre> The value attribute can contain various platform tokens. They must be separated by diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx index 097ff34d451e..73c11f34075d 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.cxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx @@ -527,9 +527,9 @@ ExtensionManager::getSupportedPackageTypes() return getUserRepository()->getSupportedPackageTypes(); } //Do some necessary checks and user interaction. This function does not -//aquire the extension manager mutex and that mutex must not be aquired +//acquire the extension manager mutex and that mutex must not be acquired //when this function is called. doChecksForAddExtension does synchronous -//user interactions which may require aquiring the solar mutex. +//user interactions which may require acquiring the solar mutex. //Returns true if the extension can be installed. bool ExtensionManager::doChecksForAddExtension( Reference<css::deployment::XPackageManager> const & xPackageMgr, diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx index 8bd756e9d0d7..14e2c4c52ddb 100644 --- a/desktop/source/deployment/misc/dp_misc.cxx +++ b/desktop/source/deployment/misc/dp_misc.cxx @@ -407,7 +407,7 @@ oslProcess raiseProcess( case osl_Process_E_NotFound: throw RuntimeException( "image not found!", 0 ); case osl_Process_E_TimedOut: - throw RuntimeException( "timout occurred!", 0 ); + throw RuntimeException( "timeout occurred!", 0 ); case osl_Process_E_NoPermission: throw RuntimeException( "permission denied!", 0 ); case osl_Process_E_Unknown: diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx index f88743abb222..4f4a30099d48 100644 --- a/desktop/source/deployment/misc/dp_resource.cxx +++ b/desktop/source/deployment/misc/dp_resource.cxx @@ -73,7 +73,6 @@ OUString getResourceString( sal_uInt16 id ) return ret.replaceAll("%PRODUCTNAME", utl::ConfigManager::getProductName()); } - const LanguageTag & getOfficeLanguageTag() { return OfficeLocale::get(); diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index ca3585f67388..12cb3c22c4e0 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -281,7 +281,7 @@ bool BackendImpl::PackageImpl::extensionContainsCompiledHelp() if ( helpFolder.open() == ::osl::File::E_None) { //iterate over the contents of the help folder - //We assume that all folders withing the help folder contain language specific + //We assume that all folders within the help folder contain language specific //help files. If just one of them does not contain compiled help then this //function returns false. ::osl::DirectoryItem item; diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx index 6c8091fc31dc..f740af3b9323 100644 --- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx +++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx @@ -107,7 +107,7 @@ protected: OUString const & sListTagName, OUString const & sMemberTagName); - /* returns the values of one particulary child element of all key elements. + /* returns the values of one particularly child element of all key elements. */ ::std::list< OUString> getOneChildFromAllEntries( OUString const & sElementName); diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx index b0f031a9068b..8c61a3ccfcee 100644 --- a/desktop/win32/source/applauncher/launcher.cxx +++ b/desktop/win32/source/applauncher/launcher.cxx @@ -40,7 +40,7 @@ extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) #endif { - // Retreive startup info + // Retrieve startup info STARTUPINFO aStartupInfo; diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 8a19cbedea64..836d72e95478 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -961,7 +961,7 @@ namespace // This ClipPolyPolygon is identical to the current one, so there is no need to // create a MaskPrimitive2D containing the up-to-now created primitives, but // this was done before. While this does not lead to wrong primitive - // representations of the metafile data, it creates unneccesarily expensive + // representations of the metafile data, it creates unnecessarily expensive // representations. Just detecting when no really 'new' ClipPolyPolygon gets set // solves the problem. diff --git a/drawinglayer/source/processor2d/contourextractor2d.cxx b/drawinglayer/source/processor2d/contourextractor2d.cxx index 249c2915d82f..62896bb13331 100644 --- a/drawinglayer/source/processor2d/contourextractor2d.cxx +++ b/drawinglayer/source/processor2d/contourextractor2d.cxx @@ -137,7 +137,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess content + // process content process(rTransformCandidate.getChildren()); // restore transformations @@ -152,13 +152,13 @@ namespace drawinglayer const primitive2d::Primitive2DSequence xExtracted2DSceneGeometry(rScenePrimitive2DCandidate.getGeometry2D()); const primitive2d::Primitive2DSequence xExtracted2DSceneShadow(rScenePrimitive2DCandidate.getShadow2D(getViewInformation2D())); - // proccess content + // process content if(xExtracted2DSceneGeometry.hasElements()) { process(xExtracted2DSceneGeometry); } - // proccess content + // process content if(xExtracted2DSceneShadow.hasElements()) { process(xExtracted2DSceneShadow); diff --git a/drawinglayer/source/processor2d/hittestprocessor2d.cxx b/drawinglayer/source/processor2d/hittestprocessor2d.cxx index 7e412e006fe2..3c0fe379c1e7 100644 --- a/drawinglayer/source/processor2d/hittestprocessor2d.cxx +++ b/drawinglayer/source/processor2d/hittestprocessor2d.cxx @@ -221,7 +221,7 @@ namespace drawinglayer // // if(xExtracted2DSceneShadow.hasElements()) // { - // // proccess extracted 2D content + // // process extracted 2D content // process(xExtracted2DSceneShadow); // } // } @@ -246,7 +246,7 @@ namespace drawinglayer // // if(xExtracted2DSceneGeometry.hasElements() || xExtracted2DSceneShadow.hasElements()) // { - // // proccess extracted 2D content + // // process extracted 2D content // process(xExtracted2DSceneGeometry); // process(xExtracted2DSceneShadow); // } @@ -289,7 +289,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess child content recursively + // process child content recursively process(rTransformCandidate.getChildren()); // restore transformations diff --git a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx index 7ef3a0473f21..baa987ddb69c 100644 --- a/drawinglayer/source/processor2d/linegeometryextractor2d.cxx +++ b/drawinglayer/source/processor2d/linegeometryextractor2d.cxx @@ -99,7 +99,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess content + // process content process(rTransformCandidate.getChildren()); // restore transformations diff --git a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx index a698902cbf16..1805d23a05c0 100644 --- a/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx +++ b/drawinglayer/source/processor2d/textaspolygonextractor2d.cxx @@ -188,7 +188,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess content + // process content process(rTransformCandidate.getChildren()); // restore transformations diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 1230ce5cd5c4..4ea56e581c59 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -2126,7 +2126,7 @@ namespace drawinglayer mpPDFExtOutDevData->BeginStructureElement(rTagElement); } - // proccess children normally + // process children normally process(rStructureTagCandidate.getChildren()); if(mpPDFExtOutDevData && bTagUsed) diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index d23e5b5a908a..7c538ed67bb2 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -1024,7 +1024,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess content + // process content process(rTransformCandidate.getChildren()); // restore transformations @@ -1048,7 +1048,7 @@ namespace drawinglayer getViewInformation2D().getExtendedInformationSequence()); updateViewInformation(aViewInformation2D); - // proccess decomposed content + // process decomposed content process(rPagePreviewCandidate.get2DDecomposition(getViewInformation2D())); // restore transformations diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx index 6870052c6b0f..3059324b6f31 100644 --- a/dtrans/source/win32/clipb/WinClipboard.cxx +++ b/dtrans/source/win32/clipb/WinClipboard.cxx @@ -63,7 +63,7 @@ CWinClipboard::CWinClipboard( const Reference< XComponentContext >& rxContext, c // XClipboard // getContent -// to avoid unecessary traffic we check first if there is a clipboard +// to avoid unnecessary traffic we check first if there is a clipboard // content which was set via setContent, in this case we don't need // to query the content from the clipboard, create a new wrapper object // and so on, we simply return the orignial XTransferable instead of our diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 31885e2c0e88..fc7f689111c9 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -1339,7 +1339,7 @@ namespace accessibility for( i = 0; i < nLength; i++ ) pIndices[i] = i; sort( &pIndices[0], &pIndices[nLength], IndexCompare(pPairs) ); - // create sorted sequences accoring to index array + // create sorted sequences according to index array uno::Sequence<beans::PropertyValue> aNewValues( nLength ); beans::PropertyValue* pNewValues = aNewValues.getArray(); for( i = 0; i < nLength; i++ ) diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 901d77f9de14..d2db1644d0ce 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -272,7 +272,7 @@ void EditEngine::Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const P // Always use the Intersect method, it is a must for Metafile! if ( bClip ) { - // Clip only if neccesary... + // Clip only if necessary... if ( !rStartDocPos.X() && !rStartDocPos.Y() && ( rOutRect.GetHeight() >= (long)GetTextHeight() ) && ( rOutRect.GetWidth() >= (long)CalcTextWidth() ) ) diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 9a4cd2c80dcd..b363d1f98f95 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -97,7 +97,7 @@ LanguageType EditView::CheckLanguage( if (rAppLocaleTag.getLanguage() == aGuessTag.getLanguage()) nLang = rAppLocaleTag.getLanguageType(); } - if (nLang == LANGUAGE_NONE) // language not found by looking up the sytem language... + if (nLang == LANGUAGE_NONE) // language not found by looking up the system language... nLang = aGuessTag.makeFallback().getLanguageType(); // best known locale match if (nLang == LANGUAGE_SYSTEM) nLang = Application::GetSettings().GetLanguageTag().getLanguageType(); diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index 62b463c75f67..40e8e1d1d1fc 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -54,7 +54,7 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const OUString& rBaseURL, SvKeyVa DBG_ASSERT( RTL_TEXTENCODING_DONTKNOW == GetSrcEncoding( ), "EditHTMLParser::EditHTMLParser: Where does the encoding come from?" ); DBG_ASSERT( !IsSwitchToUCS2(), "EditHTMLParser::::EditHTMLParser: Switch to UCS2?" ); - // Altough the real default encoding is ISO8859-1, we use MS-1252 + // Although the real default encoding is ISO8859-1, we use MS-1252 // als default encoding. SetSrcEncoding( GetExtendedCompatibilityTextEncoding( RTL_TEXTENCODING_ISO_8859_1 ) ); diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index d17b138b6e2a..50715a1e21b5 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -1650,7 +1650,7 @@ void ImpEditEngine::InitScriptTypes( sal_Int32 nPara ) if ( ( nScriptType == i18n::ScriptType::WEAK ) || ( nScriptType == rTypes.back().nScriptType ) ) { - // Expand last ScriptTypePosInfo, don't create weak or unecessary portions + // Expand last ScriptTypePosInfo, don't create weak or unnecessary portions rTypes.back().nEndPos = nEndPos; } else diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index d9e0c64fb865..2881a81cae52 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -1294,7 +1294,7 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY ) for ( sal_Int32 nP = pLine->GetStartPortion(); nP <= pLine->GetEndPortion(); nP++ ) { const TextPortion* pTP = pParaPortion->GetTextPortions()[nP]; - // problem with hard font height attribute, when everthing but the line break has this attribute + // problem with hard font height attribute, when everything but the line break has this attribute if ( pTP->GetKind() != PORTIONKIND_LINEBREAK ) { SeekCursor( pNode, nTPos+1, aTmpFont ); diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index a7c062290619..99a696e0cb00 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1976,7 +1976,7 @@ bool ImpEditEngine::SpellSentence(EditView& rEditView, //make sure that the sentence is never smaller than the error range! if(aSentencePaM.Max().GetIndex() < aCurSel.Max().GetIndex()) aSentencePaM.Max() = aCurSel.Max(); - //add the portion preceeding the error + //add the portion preceding the error EditSelection aStartSelection(aSentencePaM.Min(), aCurSel.Min()); if(aStartSelection.HasRange()) AddPortionIterated(rEditView, aStartSelection, 0, rToFill); @@ -2982,7 +2982,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection, if (rData.nLen != rData.aNewText.getLength()) bLenChanged = true; - // Change text without loosing the attributes + // Change text without losing the attributes const sal_Int32 nDiffs = ReplaceTextOnly( rData.aSelection.Min().GetNode(), rData.nStart, rData.nLen, rData.aNewText, rData.aOffsets ); @@ -3028,7 +3028,7 @@ short ImpEditEngine::ReplaceTextOnly( { (void) nLen; - // Change text without loosing the attributes + // Change text without losing the attributes sal_Int32 nCharsAfterTransliteration = rOffsets.getLength(); const sal_Int32* pOffsets = rOffsets.getConstArray(); short nDiffs = 0; diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index 269e80b2a61b..2c1460009d36 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -726,7 +726,7 @@ namespace editeng } } - // the proper indicies (the wrapper implementation needs indicies relative to the + // the proper indices (the wrapper implementation needs indices relative to the // previous replacement) DBG_ASSERT( ( m_nReplacementBaseIndex <= m_nCurrentStartIndex ) && ( m_nReplacementBaseIndex <= m_nCurrentEndIndex ), "HangulHanjaConversion_Impl::implChange: invalid replacement base!" ); diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx index cdeab464ebaa..10a9de957afc 100644 --- a/embeddedobj/source/inc/commonembobj.hxx +++ b/embeddedobj/source/inc/commonembobj.hxx @@ -92,7 +92,7 @@ protected: bool m_bClosed; sal_Int32 m_nObjectState; - sal_Int32 m_nTargetState; // should be -1 exept during state changing + sal_Int32 m_nTargetState; // should be -1 except during state changing sal_Int32 m_nUpdateMode; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index eb248ec1a946..e8d65883f85d 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -670,7 +670,6 @@ sal_Bool OleComponent::InitializeObject_Impl() if ( FAILED( hr ) || !m_pNativeImpl->m_pViewObject2 ) return sal_False; - // remove all the caches IOleCache* pIOleCache = NULL; if ( SUCCEEDED( m_pNativeImpl->m_pObj->QueryInterface( IID_IOleCache, (void**)&pIOleCache ) ) && pIOleCache ) diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 800166167746..36d73243208c 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -388,7 +388,7 @@ bool OleEmbeddedObject::TryToConvertToOOo() close( sal_True ); } catch( const uno::Exception& ) {} - m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without commiting! + m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without committing! throw uno::RuntimeException(); // the repairing is not possible } case 2: diff --git a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx index e696aaa25616..8a4cde521d19 100644 --- a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx +++ b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx @@ -77,7 +77,7 @@ uno::Any SAL_CALL UNOMainThreadExecutor::execute( const uno::Sequence< beans::Na // while( !pExecutor->isExecuted() ) // ::osl::Thread::yield(); - // TODO: implement transfering of the return values and exceptions + // TODO: implement transferring of the return values and exceptions return uno::Any(); } diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 12923dc02d39..4d3059dbb220 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1387,7 +1387,7 @@ void UnoConversionUtilities<T>::createUnoObjectWrapper(const Any & rObj, VARIANT } } // Is the object a COM wrapper ( either XInvocation, or Adapter object) - // or does it suppy an IDispatch by its own ? + // or does it supply an IDispatch by its own ? else { Reference<XInterface> xIntComWrapper = xInt; diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index 4a5fe58c0583..d8c20de59568 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -321,7 +321,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::GetIDsOfNames(REFIID /*riid*/, // can easily find out that a param is such an object by queriing for the // IJScriptValue interface. By this interface one the type and kind ( out, in/out) // can be determined and the right conversion can be applied. -// Using ValueObjects we spare us the effort of aquiring and examining type information +// Using ValueObjects we spare us the effort of acquiring and examining type information // in order to figure out what the an IDispatch parameter is meant for. // Normal JScript object parameter can be mixed with JScriptValue object. If an @@ -1622,7 +1622,7 @@ static HRESULT mapCannotConvertException(const CannotConvertException &e, unsign // is VT_DISPATCH. The function is used from o2u_createUnoObjectWrapper // and the result is put into the constructor of the uno - wrapper // object. If a client asks the object for DISPID_VALUE and this -// funtion returned VT_DISPATCH then the IDispatch of the same +// function returned VT_DISPATCH then the IDispatch of the same // object is being returned. // See InterfaceOleWrapper_Impl::Invoke, InterfaceOleWrapper_Impl::m_defaultValueType const VARTYPE getVarType( const Any& value) diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx index d29d73a567db..588a4a4129f8 100644 --- a/extensions/source/propctrlr/cellbindinghandler.hxx +++ b/extensions/source/propctrlr/cellbindinghandler.hxx @@ -80,7 +80,7 @@ namespace pcr However, it can also result in a more complex change: The current (UI) state might depend on the value of more than one other property. Those dependent properties (their - UI, more precisly) are updated in this method. + UI, more precisely) are updated in this method. @param _nPropid the ->PropertyId of the dependent property whose UI state is to be updated diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx index 5d7750d6ea9c..5d01e16f2847 100644 --- a/extensions/source/propctrlr/fontdialog.cxx +++ b/extensions/source/propctrlr/fontdialog.cxx @@ -559,7 +559,7 @@ namespace pcr const SvxFontListItem& rFontListItem = static_cast<const SvxFontListItem&>(_rpPool->GetDefaultItem(CFID_FONTLIST)); const FontList* pFontList = rFontListItem.GetFontList(); - // _first_ delete the set (refering the pool) + // _first_ delete the set (referring the pool) if (_rpSet) { delete _rpSet; diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index aa59f0bac750..c631e9d2f510 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2427,7 +2427,7 @@ namespace pcr OSL_FAIL( "FormComponentPropertyHandler::impl_ensureRowsetConnection_nothrow: caught an exception during error handling!" ); DBG_UNHANDLED_EXCEPTION(); } - // additional info about what happended + // additional info about what happened INetURLObject aParser( sDataSourceName ); if ( aParser.GetProtocol() != INET_PROT_NOT_VALID ) sDataSourceName = aParser.getBase( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ); diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index c25d17abfe78..6b4ff90b1127 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -399,7 +399,7 @@ namespace pcr However, it can also result in a more complex change: The current (UI) state might depend on the value of more than one other property. Those dependent properties (their - UI, more precisly) are updated in this method. + UI, more precisely) are updated in this method. @param _nPropid the ->PropertyId of the dependent property whose UI state is to be updated diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index fa3ea2a4b7f3..4df311a8b686 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -248,7 +248,7 @@ bool curl_run(const OUString& rURL, OutData& out, const OString& aProxyHost, sal curl_easy_setopt(pCURL, CURLOPT_WRITEDATA, &out); curl_easy_setopt(pCURL, CURLOPT_WRITEFUNCTION, &write_function); - // progress handler - Condition::check unfortunatly is not defined const + // progress handler - Condition::check unfortunately is not defined const curl_easy_setopt(pCURL, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(pCURL, CURLOPT_PROGRESSFUNCTION, &progress_callback); curl_easy_setopt(pCURL, CURLOPT_PROGRESSDATA, &out); diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 1d7337b70a05..8bbdc02735cc 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -786,7 +786,7 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues, if( nDownloadSize > 0 ) { - if ( nDownloadSize <= nFileSize ) // we have already downloaded everthing + if ( nDownloadSize <= nFileSize ) // we have already downloaded everything { bContinueDownload = false; bDownloadAvailable = true; diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index bcec8111209f..fd9374afe302 100644 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -207,7 +207,7 @@ T getValue( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Name { for( sal_Int32 n=0; n < rNamedValues.getLength(); n++ ) { - // Unfortunatly gcc-3.3 does not like Any.get<T>(); + // Unfortunately gcc-3.3 does not like Any.get<T>(); if( rNamedValues[n].Name.equalsAscii( pszName ) ) { T value = T(); diff --git a/extensions/test/ole/OleConverterVar1/convTest.cxx b/extensions/test/ole/OleConverterVar1/convTest.cxx index a9d9580a680c..726a17c78c8d 100644 --- a/extensions/test/ole/OleConverterVar1/convTest.cxx +++ b/extensions/test/ole/OleConverterVar1/convTest.cxx @@ -151,7 +151,7 @@ HRESULT doTest() varParam1.vt= VT_I1 | VT_BYREF; varParam1.plVal= &value; - // Testing the caching of DISPIDs and the process of aquiring member information + // Testing the caching of DISPIDs and the process of acquiring member information // on demand in IDispatch::Invoke // Step through the corresponding IDispatch implementation of the ole bridge hr= oletest.Invoke1(static_cast<LPCOLESTR>(L"testinout_methodByte"), &varParam1, &varRet); diff --git a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl index da3c5f92c309..015e1a69e09f 100644 --- a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl index 31148b5f26fb..4353ad59502a 100644 --- a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl index 8ed547a65260..cbb376b3f6f9 100644 --- a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl index ae395ae9bd8f..2ac3d00511c2 100644 --- a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/layout.xsl b/extras/source/misc_config/wizard/web/layouts/layout.xsl index a7a40584d6b1..6cda1be13042 100644 --- a/extras/source/misc_config/wizard/web/layouts/layout.xsl +++ b/extras/source/misc_config/wizard/web/layouts/layout.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... @@ -60,7 +60,7 @@ places... ================================== --> - <!-- this tempaltes gives the + <!-- this templates gives the relative href of the document. To use with the <a href="..."> attribute--> diff --git a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl b/extras/source/misc_config/wizard/web/layouts/layoutF.xsl index d649f1eca980..997e06e5a262 100644 --- a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl +++ b/extras/source/misc_config/wizard/web/layouts/layoutF.xsl @@ -25,7 +25,7 @@ the frameset. Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl index 3f9aec094d7a..abf13fcc124b 100644 --- a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl +++ b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl @@ -154,7 +154,7 @@ ================================== --> - <!-- this tempaltes gives the + <!-- this templates gives the relative href of the document. To use with the <a href="..."> attribute--> diff --git a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl index 2bbd0514122e..d188b2d29682 100644 --- a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl index 08aaa1ccac1b..5b81b3b0baba 100644 --- a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl @@ -21,7 +21,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... ====================================================== --> diff --git a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl index c939b64b216b..7d806b70650f 100644 --- a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl @@ -21,7 +21,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... ====================================================== --> diff --git a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl index ccdcab684b39..90ea959570a0 100644 --- a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl +++ b/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl @@ -22,7 +22,7 @@ This template is a skeleton for single level TOC pages Do not overwrite this ! copy it and complete the missing code. -I use the @ character whereever there is a missing code, so +I use the @ character wherever there is a missing code, so you can use a simple find to navigate and find the places... diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index cb5aef0cbcf6..60e2ecd752aa 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -425,4 +425,4 @@ class FileAliasNotFoundException extends java.lang.Exception{ public FileAliasNotFoundException(String fileAlias){ super("Could not get '"+fileAlias +"'"); } -}
\ No newline at end of file +} diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 1f914d8fc66f..97091b003a3f 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -82,7 +82,7 @@ class BaseContainer : public BaseLock /** @short local filter cache, which is used to collect changes on the filter configuration first and flush it later. - @descr Normaly this member isnt used nor initialized. Thats true, + @descr Normally this member isn't used nor initialized. Thats true, if this container is used for reading only. The first write access (e.g. by calling insertByName()) creates a copy of the current global cache m_rCache to initialize the m_pFlushCache member. diff --git a/filter/source/config/cache/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx index 5533800c2b91..0244786cd829 100644 --- a/filter/source/config/cache/contenthandlerfactory.cxx +++ b/filter/source/config/cache/contenthandlerfactory.cxx @@ -73,7 +73,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea #ifdef _FILTER_CONFIG_MIGRATION_Q_ /* -> TODO - HACK - check if the given handler name really exist ... + check if the given handler name really exists ... Because our old implementation worked with an internal type name instead of a handler name. For a small migration time we must simulate this old feature :-( */ diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 39e556c94dc1..7eebb6267eb4 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -375,7 +375,7 @@ CacheItem FilterCache::getItem( EItemType eType, /* Workaround for #137955# Draw types and filters are installed ... but draw was disabled during setup. - We must supress accessing these filters. Otherwise the office can crash. + We must suppress accessing these filters. Otherwise the office can crash. Solution for the next major release: do not install those filters ! */ if (eType == E_FILTER) @@ -695,7 +695,7 @@ void FilterCache::detectFlatForURL(const css::util::URL& aURL , // i) Step over all well known URL pattern // and add registered types to the return list too // Do it as first one - because: if a type match by a - // pattern a following deep detection can be supressed! + // pattern a following deep detection can be suppressed! // Further we can stop after first match ... for (CacheItemRegistration::const_iterator pPattReg = m_lURLPattern2Types.begin(); pPattReg != m_lURLPattern2Types.end() ; @@ -2259,7 +2259,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe aItem[PROPNAME_NAME] <<= sItem; // Installed flag ... - // Isnt used any longer! + // Isn't used any longer! // UIName impl_readPatchUINames(xItem, aItem); diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 3302612607d5..c7aa95ffa913 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -260,7 +260,7 @@ class FilterCache : public BaseLock /** @short standard ctor @descr Its not allowed to do anything here ... - especialy is forbidden to start operations, + especially is forbidden to start operations, which needs a FilterCache instance too! Why? Because thie FilterCache instance will be used as a singleton! And if during this ctor any @@ -484,7 +484,7 @@ class FilterCache : public BaseLock /** @short return an item, which match the specified type and name. @descr Because this cache can be used inside multithreaded environments - the caller must be aware of some exceptions - especialy a "NoSuchElementExcepotion". + the caller must be aware of some exceptions - especially a "NoSuchElementExcepotion". May another thread already removed the required item before ... @param eType @@ -914,7 +914,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short specify, which save operation is necessary for the specified item. @desrc If an item of this cache will be added/removed or modified it will diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 76db2bc48c07..f937f5b7a25b 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -419,7 +419,7 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css:: // verify every flat detected (or preselected!) type // by calling its registered deep detection service. // But break this loop if a type match to the given descriptor - // by an URL pattern(!) or if deep detection isnt allowed from + // by an URL pattern(!) or if deep detection isn't allowed from // outside (bAllowDeep=sal_False) or break the whole detection by // throwing an exception if creation of the might needed input // stream failed by e.g. an IO exception ... @@ -629,7 +629,7 @@ void TypeDetection::impl_checkResultsAndAddBestFilter(utl::MediaDescriptor& rDes bool TypeDetection::impl_getPreselectionForType( const OUString& sPreSelType, const util::URL& aParsedURL, FlatDetection& rFlatTypes, bool bDocService) { - // Can be used to supress execution of some parts of this method + // Can be used to suppress execution of some parts of this method // if its already clear that detected type is valid or not. // Its necessary to use shared code at the end, which update // all return parameters constistency! @@ -678,7 +678,7 @@ bool TypeDetection::impl_getPreselectionForType( sExtension = sExtension.toAsciiLowerCase(); // otherwise we must know, if it matches to the given URL really. - // especialy if it matches by its extension or pattern registration. + // especially if it matches by its extension or pattern registration. OUStringList lExtensions(aType[PROPNAME_EXTENSIONS]); OUStringList lURLPattern(aType[PROPNAME_URLPATTERN]); @@ -886,7 +886,7 @@ OUString TypeDetection::impl_detectTypeFlatAndDeep( utl::MediaDescriptor& r // solutions: // a) no types => no detection // b) deep detection not allowed => return first valid type of list (because its the preferred or the first valid one) - // or(!) match by URLPattern => in such case a deep detection will be supressed! + // or(!) match by URLPattern => in such case a deep detection will be suppressed! // c) type has no detect service => safe the first occurred type without a detect service // as "last chance"(!). It will be used outside of this method // if no further type could be detected. diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge b/filter/source/config/tools/merge/pyAltFCFGMerge index d33d634b422f..fee3f2b48712 100755 --- a/filter/source/config/tools/merge/pyAltFCFGMerge +++ b/filter/source/config/tools/merge/pyAltFCFGMerge @@ -494,7 +494,7 @@ class Merger: self.m_aCfg.getValue(PROP_XMLPACKAGE ),\ self.m_aCfg.getValueWithDefault(PROP_LANGUAGEPACK, False)) - # counts all transfered fragments + # counts all transferred fragments # Can be used later to decide, if a generated package file # contains "nothing"! nItemCount = 0 diff --git a/filter/source/config/tools/split/FCFGSplit.java b/filter/source/config/tools/split/FCFGSplit.java index 90c8028334c4..e1902ba48157 100644 --- a/filter/source/config/tools/split/FCFGSplit.java +++ b/filter/source/config/tools/split/FCFGSplit.java @@ -461,7 +461,7 @@ public class FCFGSplit sTimes.append(" ms\n" ); m_aDebug.setDetailedInfo(sTimes.toString()); - // everyting seems to be ok. + // everything seems to be ok. // Return "OK" to calli. m_aDebug.setGlobalInfo("Finish."); System.exit(0); diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx index 89dcfaf6d05b..e13fc4bd03b2 100644 --- a/filter/source/flash/swfdialog.cxx +++ b/filter/source/flash/swfdialog.cxx @@ -152,7 +152,7 @@ Dialog* SWFDialog::createDialog( Window* pParent ) if (mxSrcDoc.is()) { -/* TODO: From the controler we may get information what page is visible and what shapes +/* TODO: From the controller we may get information what page is visible and what shapes are selected, if we optionaly want to limit output to that Any aSelection; diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index 40d787cd4b17..1a7e62f83c1b 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -722,7 +722,6 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const sal } } - // AS: Because JPEGs require the alpha channel provided separately (JPEG does not // natively support alpha channel, but SWF lets you provide it separately), we // extract the alpha channel into a separate array here. @@ -1047,7 +1046,7 @@ void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal nLength = 2 + (pJpgSearch[2]<<8) + pJpgSearch[3]; } - // AS: I'm refering to libjpeg for a list of what these + // AS: I'm referring to libjpeg for a list of what these // markers are. See jdmarker.c for a list. // AS: I'm ignoring application specific markers 0xE1...0xEF // and comments 0xFE. I don't know what diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index ddabb5f1323c..26a2025594a9 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -164,7 +164,7 @@ static oslProcessError runProcessWithPathSearch(const OUString &rProgName, * * Because one of our programs is called "convert" and there is a convert * in the windows system directory, we want to explicitly search the PATH - * to avoid picking up on that one if ImageMagick's convert preceeds it in + * to avoid picking up on that one if ImageMagick's convert precedes it in * PATH. * */ diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index ab401ac0d8d1..dc72ec7bbfea 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -3461,7 +3461,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB ); } break; - case 0x04 : // substract grey level RGB(p,p,p) + case 0x04 : // subtract grey level RGB(p,p,p) { sal_Int16 nR = (sal_Int16)aColor.GetRed() - (sal_Int16)nParameter; sal_Int16 nG = (sal_Int16)aColor.GetGreen() - (sal_Int16)nParameter; @@ -3475,7 +3475,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB ); } break; - case 0x05 : // substract from gray level RGB(p,p,p) + case 0x05 : // subtract from gray level RGB(p,p,p) { sal_Int16 nR = (sal_Int16)nParameter - (sal_Int16)aColor.GetRed(); sal_Int16 nG = (sal_Int16)nParameter - (sal_Int16)aColor.GetGreen(); diff --git a/filter/source/xslt/common/math.xsl b/filter/source/xslt/common/math.xsl index 0f35645dcebd..02298962b8b7 100644 --- a/filter/source/xslt/common/math.xsl +++ b/filter/source/xslt/common/math.xsl @@ -30,7 +30,7 @@ Public Functions abs(x) max(x1,x2) min(x1,x2) - power(x,power(interger only), rounding-factor=100) + power(x,power(integer only), rounding-factor=100) sqrt(x, rounding-factor=100) convert2radian(x,rounding-factor=100) convert2degree(x,rounding-factor=100) diff --git a/filter/source/xslt/export/spreadsheetml/table.xsl b/filter/source/xslt/export/spreadsheetml/table.xsl index 53387a71c8cb..cc12281c3d70 100644 --- a/filter/source/xslt/export/spreadsheetml/table.xsl +++ b/filter/source/xslt/export/spreadsheetml/table.xsl @@ -466,7 +466,7 @@ <xsl:param name="calculatedCellPosition" select="1" /><!-- the later table position of the current cell --> <xsl:param name="calculatedRowPosition" /><!-- the later table position of the current row --> <xsl:param name="setIndex" select="false()" /> <!-- if not '0' @ss:Index used for neglecting repeteated empty cells --> - <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit writen out cells --> + <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit written out cells --> <xsl:param name="repetitionCellPosition" select="$calculatedCellPosition" /><!-- during repetition formula needs exact cell positioning --> <xsl:param name="nextMatchedCellPosition"><!-- the later table position of the next cell --> <xsl:choose> diff --git a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl index cdb9ebf8e8a8..f1d17b9ca29f 100644 --- a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl +++ b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl @@ -42,7 +42,7 @@ </xsl:variable> <xsl:choose> <!-- - deal with captions and frames first. draw:text-box is a powerfull element in OOo, its GUI name is frame. And OOo use it to contain Captions + deal with captions and frames first. draw:text-box is a powerful element in OOo, its GUI name is frame. And OOo use it to contain Captions Since there is not a corresponding object in word, so we draw the text-box itself and its children separately. If it look like a Caption only frame we'll adjust the text-box position to make it look pretty --> diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl index 88f0d8addbd6..a5875c2068b9 100644 --- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl +++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl @@ -4253,7 +4253,7 @@ <xsl:when test="ss:Alignment/@ss:Vertical = 'Center'">middle</xsl:when> <xsl:when test="ss:Alignment/@ss:Vertical = 'Bottom'">bottom</xsl:when> <xsl:when test="ss:Alignment/@ss:Vertical = 'Automatic'">middle</xsl:when> - <!-- actually for vertical writen characters, not supported by StarOffice/OpenOffice now yet --> + <!-- actually for vertical written characters, not supported by StarOffice/OpenOffice now yet --> <xsl:otherwise>middle</xsl:otherwise> </xsl:choose> </xsl:variable> diff --git a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl index 8c950154f7f5..3677352aba15 100644 --- a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl +++ b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl @@ -61,7 +61,7 @@ <xsl:param name="allTableColumns" /> <!-- Some Office Calc documents simulate a background by repeating one of the later cells until end of used space - (The value of "table:number-columns-repeated" is enourmous). Writing out all these cells would be fatal in time + (The value of "table:number-columns-repeated" is enormous). Writing out all these cells would be fatal in time and output size. Therefore, this global variable shows us the longest row with content. --> <xsl:variable name="maxRowLength" select="count($allTableColumns/table:table-column)" /> <xsl:if test="$debugEnabled"> diff --git a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl index 24b90a5dc589..d299c912955f 100644 --- a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl +++ b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl @@ -447,7 +447,7 @@ Scenarios unmatched: </xsl:choose> </xsl:template> - <!-- As the span width will be mapped to column width, the preceding span widths have to be substracted --> + <!-- As the span width will be mapped to column width, the preceding span widths have to be subtracted --> <xsl:template name="create-cell-width"> <xsl:param name="width"/> <xsl:param name="unit"/> diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 23655f8afb4a..3ecde5e377c0 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -792,7 +792,7 @@ <xsl:when test="$createDiv and normalize-space(.) != ''"> <!-- every following frame sibling till the next draw:frame have to be incapuslated within a div with left indent. - To be moved alltogether arcording the indent (usually right) --> + To be moved altogether arcording the indent (usually right) --> <xsl:comment>Next 'div' added for floating.</xsl:comment> <xsl:element name="div"> <xsl:attribute name="style"> diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx index 649c32fa3db7..8c504a6a73d6 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx @@ -344,7 +344,7 @@ void XMLFilterTestDialog::onExportBrowse() if( (nFound == 15) && (!aType.isEmpty() && aService == m_pFilterInfo->maDocumentService) ) { - // see if this filter is not supressed in dialog + // see if this filter is not suppressed in dialog if( (nFlags & 0x1000) == 0 ) { aAny = xTypeDetection->getByName( aType ); diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java index 62b97c9d9e70..b1f4bbadf022 100644 --- a/forms/qa/complex/forms/CheckOGroupBoxModel.java +++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java @@ -114,15 +114,15 @@ public class CheckOGroupBoxModel } catch (com.sun.star.beans.PropertyVetoException e) { - fail("Exception occured while trying to change the properties."); + fail("Exception occurred while trying to change the properties."); } catch (com.sun.star.lang.IllegalArgumentException e) { - fail("Exception occured while trying to change the properties."); + fail("Exception occurred while trying to change the properties."); } catch (com.sun.star.lang.WrappedTargetException e) { - fail("Exception occured while trying to change the properties."); + fail("Exception occurred while trying to change the properties."); } // end of try-catch assertTrue("Listener was not called.", ml.wasListenerCalled()); diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx index 9140f0816a22..bc5c53af6e5d 100644 --- a/forms/source/component/Columns.cxx +++ b/forms/source/component/Columns.cxx @@ -177,7 +177,7 @@ Sequence<Type> SAL_CALL OGridColumn::getTypes() throw(RuntimeException, std::exc Any SAL_CALL OGridColumn::queryAggregation( const Type& _rType ) throw (RuntimeException, std::exception) { Any aReturn; - // some functionality at our aggregate cannot be reasonably fullfilled here. + // some functionality at our aggregate cannot be reasonably fulfilled here. if ( _rType.equals(::getCppuType(static_cast< Reference< XFormComponent >* >(NULL))) || _rType.equals(::getCppuType(static_cast< Reference< XServiceInfo >* >(NULL))) || _rType.equals(::getCppuType(static_cast< Reference< XBindableValue >* >(NULL))) diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index c288991b1bb3..3994979f63b8 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -84,7 +84,7 @@ #include <ctype.h> #include <boost/unordered_map.hpp> -// compatiblity: DatabaseCursorType is dead, but for compatiblity reasons we still have to write it ... +// compatibility: DatabaseCursorType is dead, but for compatibility reasons we still have to write it ... namespace com { namespace sun { namespace star { @@ -3068,7 +3068,7 @@ void SAL_CALL ODatabaseForm::rowSetChanged(const EventObject& /*event*/) throw( // if our parent is an ODatabaseForm, too, then after this rowSetChanged we'll get a "reloaded" // or a "loaded" event. // If somebody gave us another parent which is an XRowSet but doesn't handle an execute as - // "load" respectivly "reload" ... can't do anything .... + // "load" respectively "reload" ... can't do anything .... } diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx index 7bdde1c9a717..9eb8ba82ff5b 100644 --- a/forms/source/component/RadioButton.hxx +++ b/forms/source/component/RadioButton.hxx @@ -73,7 +73,7 @@ protected: private: /** sets the given value as new State at the aggregate @precond - our mutex is aquired exactly once + our mutex is acquired exactly once */ void setNewAggregateState( const ::com::sun::star::uno::Any& _rValue ); diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx index 890109092000..a81f8589cc01 100644 --- a/forms/source/component/propertybaghelper.cxx +++ b/forms/source/component/propertybaghelper.cxx @@ -116,7 +116,7 @@ namespace frm if ( ( nHandle != -1 ) && rPropInfo.fillPropertyMembersByHandle( NULL, NULL, nHandle ) ) nHandle = -1; - // seach a free handle in <math>F_1009</math> + // search a free handle in <math>F_1009</math> if ( nHandle == -1 ) { sal_Int32 nPrime = 1009; diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index b06168e15e83..85863203aa27 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -664,7 +664,7 @@ private: const sal_Bool m_bSupportsExternalBinding : 1; // do we support XBindableValue? const sal_Bool m_bSupportsValidation : 1; // do we support XValidatable? sal_Bool m_bForwardValueChanges : 1; // do we currently handle changes in the bound database field? - sal_Bool m_bTransferingValue : 1; // true if we're currently transfering our value to an external binding + sal_Bool m_bTransferingValue : 1; // true if we're currently transferring our value to an external binding sal_Bool m_bIsCurrentValueValid : 1; // flag specifying whether our current value is valid, relative to our external validator sal_Bool m_bBindingControlsRO : 1; // is our ReadOnly property currently controlled by our external binding? sal_Bool m_bBindingControlsEnable : 1; // is our Enabled property currently controlled by our external binding? diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 44829c67fafc..f18fec8a8eca 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -216,7 +216,7 @@ namespace frm DBG_ASSERT( pPeer, "ORichTextControl::createPeer: invalid peer returned!" ); if ( pPeer ) { - // by definition, the returned component is aquired once + // by definition, the returned component is acquired once pPeer->release(); // announce the peer to the base class @@ -316,7 +316,7 @@ namespace frm // the peer itself ORichTextPeer* pPeer = new ORichTextPeer; - pPeer->acquire(); // by definition, the returned object is aquired once + pPeer->acquire(); // by definition, the returned object is acquired once // the VCL control for the peer RichTextControl* pRichTextControl = new RichTextControl( pEngine, _pParentWindow, _nStyle, NULL, pPeer ); diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index ba719cb949cc..e6853916d8db 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -100,7 +100,7 @@ namespace frm public: /** factory method @return - a new ORichTextPeer instance, which has been aquired once! + a new ORichTextPeer instance, which has been acquired once! */ static ORichTextPeer* Create( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxModel, diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index bc875876e0d3..d9816e8a0b7e 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -146,7 +146,7 @@ namespace frm ONavigationBarPeer* pPeer = ONavigationBarPeer::Create( m_xContext, pParentWin, getModel() ); DBG_ASSERT( pPeer, "ONavigationBarControl::createPeer: invalid peer returned!" ); if ( pPeer ) - // by definition, the returned component is aquired once + // by definition, the returned component is acquired once pPeer->release(); // announce the peer to the base class @@ -240,7 +240,7 @@ namespace frm // the peer itself ONavigationBarPeer* pPeer = new ONavigationBarPeer( _rxORB ); - pPeer->acquire(); // by definition, the returned object is aquired once + pPeer->acquire(); // by definition, the returned object is acquired once // the VCL control for the peer Reference< XModel > xContextDocument( getXModel( _rxModel ) ); diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index 962cda8945a0..365d81fe9cfb 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -94,7 +94,7 @@ namespace frm public: /** factory method @return - a new ONavigationBarPeer instance, which has been aquired once! + a new ONavigationBarPeer instance, which has been acquired once! */ static ONavigationBarPeer* Create( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB, diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index e83667d379db..09fa2b6a6adc 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -81,7 +81,7 @@ namespace frm then the states of the features are updated @param _pDispatcher - the new (or old) dispatcher. The caller is reponsible for + the new (or old) dispatcher. The caller is responsible for ensuring the life time of the object does exceed the life time of the tool bar instance. */ diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 4f40daeb9f30..4e9c1741b64f 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -214,7 +214,7 @@ namespace xforms The normalization must respect the "<" and "==" relations on the value space. That is, if two values are equal, their normalizations must be equal, too. - Similarily, if <code>foo</code> is less than <code>bar</code>, the same + Similarly, if <code>foo</code> is less than <code>bar</code>, the same must hold for their normalizations. @param _rValue diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 0ce8aefcf3af..a17158ec176f 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -234,8 +234,6 @@ void Model::dbg_assertInvariant() const // MIP management - - void Model::addMIP( void* pTag, const XNode_t& xNode, const MIP& rMIP ) { OSL_ENSURE( pTag != NULL, "empty tag?" ); diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx index 50e92260c27f..2f28c10e0915 100644 --- a/fpicker/source/office/fpinteraction.cxx +++ b/fpicker/source/office/fpinteraction.cxx @@ -80,7 +80,7 @@ namespace svt // intercept some interesting interactions - // The "does not exist" interaction will be supressed here completely. + // The "does not exist" interaction will be suppressed here completely. if (m_eInterceptions & OFilePickerInteractionHandler::E_DOESNOTEXIST) { InteractiveIOException aIoException; diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 32facae77a07..60c00341e984 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2180,7 +2180,7 @@ short SvtFileDialog::PrepareExecute() UpdateControls( aObj.GetMainURL( INetURLObject::NO_DECODE ) ); - // Somebody might want to enable some controls acording to the current filter + // Somebody might want to enable some controls according to the current filter FilterSelect(); ViewHdl_Impl( this, NULL ); diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.cxx b/fpicker/source/win32/filepicker/PreviewCtrl.cxx index 80f7515c2813..e843182575de 100644 --- a/fpicker/source/win32/filepicker/PreviewCtrl.cxx +++ b/fpicker/source/win32/filepicker/PreviewCtrl.cxx @@ -400,8 +400,6 @@ sal_Bool SAL_CALL CFilePreview::show( sal_Bool bShow ) // preview of the given file will be shown // returns true on success or false if an error // occurred (the file in not there or not accessible etc.) - - sal_Bool SAL_CALL CFilePreview::update( const OUString& aFileName ) { OSL_PRECOND( IsWindow( m_hwnd ), "Preview window not initialized" ); diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx index 6a01e0ee7541..2b05cc54b333 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx @@ -245,7 +245,6 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex /// implementation of request E_ENABLE_CONTROL void impl_sta_EnableControl(const RequestRef& rRequest); - /** create all needed (optional!) UI controls addressed by the field nFeatures. * The given number nFeatures is used as a flag field. Use const values FEATURE_XXX * to address it. diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx index 859847ffabed..5a3861002eab 100644 --- a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx +++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx @@ -61,7 +61,7 @@ void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle) int cy_new = rcBuddy.bottom - rcBuddy.top; // keep the vertical position because - // the Windows dialog controler does + // the Windows dialog controller does // this job RECT rcMe; GetWindowRect(m_CustomControlHandle,&rcMe); diff --git a/fpicker/source/win32/filepicker/helppopupwindow.hxx b/fpicker/source/win32/filepicker/helppopupwindow.hxx index e8fcd27801c7..ec6351f4231b 100644 --- a/fpicker/source/win32/filepicker/helppopupwindow.hxx +++ b/fpicker/source/win32/filepicker/helppopupwindow.hxx @@ -78,7 +78,7 @@ public: /* Shows the window with the text that was last set. - The posistion is the preferred position. The window + The position is the preferred position. The window may itself show at a slightly different position if it fits not at the preferred position. */ diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx index 444fbb564fc1..6f70eb12bb77 100644 --- a/framework/inc/classes/filtercachedata.hxx +++ b/framework/inc/classes/filtercachedata.hxx @@ -439,7 +439,7 @@ class DataContainer /** @short identifies different sets of the TypeDetection configuration package. @descr Most functions on top of this configuration package are the same ... - but must be executed on different places inside ths configuration structures. + but must be executed on different places inside this configuration structures. These enum values can be used ate some interface methods to specify, which configuration set should be used. Further it must be possible to start the same action for more then one cfg type. diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index e2169c14084c..642462142be2 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -209,7 +209,7 @@ class InterceptionHelper : public ::cppu::WeakImplHelper3< @descr It capsulate more then one queryDispatch() requests and return a lits of dispatch objects as result. Because both lists (in and out) coreespond together, it's not allowed to - pack it - means supress NULL references! + pack it - means suppress NULL references! @param lDescriptor a list of queryDispatch() arguments. diff --git a/framework/inc/general.h b/framework/inc/general.h index 1fe4955a39d5..018eeae067da 100644 --- a/framework/inc/general.h +++ b/framework/inc/general.h @@ -22,7 +22,7 @@ #include <macros/generic.hxx> -/* Normaly XInterface isnt used here ... +/* Normaly XInterface isn't used here ... But we need it to be able to define namespace alias css to anything related to ::com::sun::star :-) */ #include <com/sun/star/uno/XInterface.hpp> diff --git a/framework/inc/interaction/quietinteraction.hxx b/framework/inc/interaction/quietinteraction.hxx index e5d623bef4ff..db2728f5a17a 100644 --- a/framework/inc/interaction/quietinteraction.hxx +++ b/framework/inc/interaction/quietinteraction.hxx @@ -87,7 +87,7 @@ class QuietInteraction : public ::cppu::WeakImplHelper1< @short return the handled interaction request @descr We saved any getted interaction request internally. May the outside user of this class is interessted - on that. Especialy we gotted an unknown interaction + on that. Especially we gotted an unknown interaction and aborted it hard. @return [com.sun.star.uno.Any] diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx index 0a4ddb1dfe46..45a8f97973e3 100644 --- a/framework/inc/jobs/helponstartup.hxx +++ b/framework/inc/jobs/helponstartup.hxx @@ -126,11 +126,11 @@ class HelpOnStartup : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XS /** @short tries to locate the open help module and return the url of the currently shown help content. - @descr It returns an empty string, if the help isnt still + @descr It returns an empty string, if the help isn't still open at calling time. @return The URL of the current shown help content; - or an empty value if the help isnt still open. + or an empty value if the help isn't still open. */ OUString its_getCurrentHelpURL(); diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx index 079b1d7313d7..6b5ff39c9b1d 100644 --- a/framework/inc/jobs/job.hxx +++ b/framework/inc/jobs/job.hxx @@ -118,7 +118,7 @@ class Job : public ::cppu::WeakImplHelper3< /** We are registered at this instance to listen for office shutdown events. - It's necessary supress it (if possible) or to react in the right way. + It's necessary suppress it (if possible) or to react in the right way. */ css::uno::Reference< css::frame::XDesktop2 > m_xDesktop; @@ -158,7 +158,7 @@ class Job : public ::cppu::WeakImplHelper3< indicates in which state the internal job currently exist. We can use this information to throw any suitable veto exception - to prevent the environment against dieing or supress superflous dispose() + to prevent the environment against dieing or suppress superflous dispose() calls at the job. */ ERunState m_eRunState; diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index f49ca0cdd431..88ad6b6b7f8c 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -55,7 +55,7 @@ class DispatchRecorderSupplier : public ::cppu::WeakImplHelper2< /** provided dispatch recorder of this supplier instance - @life Is controled from outside. Because this variable is setted + @life Is controlled from outside. Because this variable is setted from there and not created internally. But we release our reference to it if we die. */ diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx index ab7ff93e2716..ed08671f4ca4 100644 --- a/framework/inc/services/desktop.hxx +++ b/framework/inc/services/desktop.hxx @@ -151,7 +151,7 @@ class Desktop : private cppu::BaseMutex, Btw: Desktop.terminate() was designed in the past to be used within an UI based envrionment. So it's allowed e.g. to - call XController.suspend() here. If UI isnt an option ... please + call XController.suspend() here. If UI isn't an option ... please use XCloseable.close() at these desktop implementation. ... if it will be supported in the future .-)) diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index fe5be7cb01ef..25fc274da239 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -605,4 +605,4 @@ public class EventTest { private static final OfficeConnection connection = new OfficeConnection(); -}
\ No newline at end of file +} diff --git a/framework/qa/complex/dispatches/checkdispatchapi.java b/framework/qa/complex/dispatches/checkdispatchapi.java index 7ff945c915ea..946bbfa4a3b2 100644 --- a/framework/qa/complex/dispatches/checkdispatchapi.java +++ b/framework/qa/complex/dispatches/checkdispatchapi.java @@ -120,7 +120,7 @@ public class checkdispatchapi } catch (java.lang.Throwable ex) { - fail("Cant initialize test environment."); + fail("Can't initialize test environment."); } } diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index e79310408aea..352621bf7df7 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -33,7 +33,7 @@ import java.sql.*; * to stdout/stderr (if necessary at the same time!). * * TODO - * - implement filter, which e.g. supress showing of INFO data + * - implement filter, which e.g. suppress showing of INFO data */ public class Protocol extends JComponent { diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 6f00f4f8034d..4d326dc82582 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -461,7 +461,7 @@ public class RecoveryTest extends ComplexTestCase { } String tempURL = utils.getOfficeTempDir(xMSF); - log.println("the destination for saveing is: " + tempURL); + log.println("the destination for saving is: " + tempURL); try{ oUITools.setTextEditFiledText("Save to", tempURL); } catch (java.lang.Exception e){ diff --git a/framework/qa/complex/path_settings/PathSettingsTest.java b/framework/qa/complex/path_settings/PathSettingsTest.java index 6df3c8b00936..c05becb0705c 100644 --- a/framework/qa/complex/path_settings/PathSettingsTest.java +++ b/framework/qa/complex/path_settings/PathSettingsTest.java @@ -185,7 +185,7 @@ public class PathSettingsTest } /** - * Simple existance test, if this fails, the Lists must update + * Simple existence test, if this fails, the Lists must update */ @Test public void checkInternalListConsistence() @@ -875,7 +875,7 @@ public class PathSettingsTest */ private String changeToCorrectValue(String path) { - // the simplest possiblity + // the simplest possibility if (path == null || path.equals("")) { String sTempDir = System.getProperty("java.io.tmpdir"); diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 9a5cf7089a90..5dc8c25374f7 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -489,7 +489,7 @@ AcceleratorCache& XMLBasedAcceleratorConfiguration::impl_getCFG(bool bWriteAcces } // in case, we have a writeable cache, we use it for reading too! - // Otherwhise the API user can't find its own changes ... + // Otherwise the API user can't find its own changes ... if (m_pWriteCache) return *m_pWriteCache; else @@ -1011,7 +1011,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::changesOccurred(const css::util: // Only path of form "PrimaryKeys/Modules/Module['<module_name>']/Key['<command_url>']/Command[<locale>]" will // be interesting for use. Sometimes short path values are given also by the broadcaster ... but they must be ignored :-) - // So we try to split the path into 3 parts (module isnt important here, because we already know it ... because + // So we try to split the path into 3 parts (module isn't important here, because we already know it ... because // these instance is bound to a specific module configuration ... or it''s the global configuration where no module is given at all. OUString sOrgPath; @@ -1413,7 +1413,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred, } // in case, we have a writeable cache, we use it for reading too! - // Otherwhise the API user can't find its own changes ... + // Otherwise the API user can't find its own changes ... if (m_pPrimaryWriteCache) return *m_pPrimaryWriteCache; else @@ -1433,7 +1433,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred, } // in case, we have a writeable cache, we use it for reading too! - // Otherwhise the API user can't find its own changes ... + // Otherwise the API user can't find its own changes ... if (m_pSecondaryWriteCache) return *m_pSecondaryWriteCache; else diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index 6ae1ee2f9ca9..f9ce7d41f4d9 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -216,7 +216,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::getOrCreateRootStorag /* // TODO remove me! // Attention: This is temp. workaround ... We create a temp. storage file - // based of a sytem directory. This must be used so, till the storage implementation + // based of a system directory. This must be used so, till the storage implementation // can work on directories too. */ css::uno::Sequence< css::uno::Any > lArgs(2); diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx index cfa0ce8f91d4..62ceb09c6752 100644 --- a/framework/source/accelerators/storageholder.cxx +++ b/framework/source/accelerators/storageholder.cxx @@ -189,7 +189,7 @@ StorageHolder::TStorageList StorageHolder::getAllPathStorages(const OUString& sP if (pCheck == m_lStorages.end()) { // at least one path element was not found - // Seems that this path isnt open ... + // Seems that this path isn't open ... lStoragesOfPath.clear(); return lStoragesOfPath; } diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx index fbeb5f2633b9..636dd223e14c 100644 --- a/framework/source/classes/framecontainer.cxx +++ b/framework/source/classes/framecontainer.cxx @@ -179,7 +179,7 @@ css::uno::Reference< css::frame::XFrame > FrameContainer::operator[]( sal_uInt32 @short returns a snapshot of all currently existing frames inside this container @descr Should be used to replace the deprecated functions getCount()/operator[]! - @return a list of all frame refrences inside this container + @return a list of all frame references inside this container @threadsafe yes *****************************************************************************************************************/ diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx index e1ee79796aaa..afef22b867c3 100644 --- a/framework/source/dispatch/closedispatcher.cxx +++ b/framework/source/dispatch/closedispatcher.cxx @@ -189,7 +189,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL& // OK - URLs are the right ones. // But we can't execute synchronously :-) // May we are called from a generic key-input handler, - // which isnt aware that this call kill its own environment ... + // which isn't aware that this call kill its own environment ... // Do it asynchronous everytimes! // But dont forget to hold usself alive. @@ -279,7 +279,7 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback) FrameListAnalyzer aCheck1(xDesktop, xCloseFrame, FrameListAnalyzer::E_HELP | FrameListAnalyzer::E_BACKINGCOMPONENT); // a) If the curent frame (where the close dispatch was requested for) does not have - // any parent frame ... it will close this frame only. Such frame isnt part of the + // any parent frame ... it will close this frame only. Such frame isn't part of the // global desktop tree ... and such frames are used as "implementation details" only. // E.g. the live previews of our wizards doing such things. And then the owner of the frame // is responsible for closing the application or accepting closing of the application @@ -403,7 +403,7 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback) // We reached this method only, by using a reference to ourself :-) // Further this member is used to detect still running and not yet finished // ansynchronous operations. So its time now to release this reference. - // But hold it temp alive. Otherwhise we die before we can finish this method really :-)) + // But hold it temp alive. Otherwise we die before we can finish this method really :-)) css::uno::Reference< css::uno::XInterface > xTempHold = m_xSelfHold; m_xSelfHold.clear(); m_xResultListener.clear(); @@ -574,7 +574,7 @@ css::uno::Reference< css::frame::XFrame > CloseDispatcher::static_impl_searchRig { // b1) Note: Toolkit interface XTopWindow sometimes is used by real VCL-child-windows also .-) // Be sure that these window is really a "top system window". - // Attention ! Checking Window->GetParent() isnt the right approach here. + // Attention ! Checking Window->GetParent() isn't the right approach here. // Because sometimes VCL create "implicit border windows" as parents even we created // a simple XWindow using the toolkit only .-( SolarMutexGuard aSolarLock; diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx index 3abc72bdf4ac..83d510d89b70 100644 --- a/framework/source/dispatch/interceptionhelper.cxx +++ b/framework/source/dispatch/interceptionhelper.cxx @@ -238,7 +238,7 @@ void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent css::uno::Reference< css::frame::XDispatchProvider > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY_THROW); // We need a full copy of all currently registered interceptor objects. - // Otherwhise we can't iterate over this vector without the risk, that our iterator will be invalid. + // Otherwise we can't iterate over this vector without the risk, that our iterator will be invalid. // Because this vetor will be influenced by every deregistered interceptor. InterceptionHelper::InterceptorList aCopy = m_lInterceptionRegs; diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx index 7df716733c98..4e90a3a846ca 100644 --- a/framework/source/dispatch/loaddispatcher.cxx +++ b/framework/source/dispatch/loaddispatcher.cxx @@ -79,7 +79,7 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) { // Attention: May be nobody outside hold such temp. dispatch object alive (because - // the container in which we resists isnt implemented threadsafe but updated by a timer + // the container in which we resists isn't implemented threadsafe but updated by a timer // and clear our reference ...) we should hold us self alive! css::uno::Reference< css::uno::XInterface > xThis(static_cast< css::frame::XNotifyingDispatch* >(this), css::uno::UNO_QUERY); diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx index 17624c9cf794..44946c5e5d7a 100644 --- a/framework/source/dispatch/mailtodispatcher.cxx +++ b/framework/source/dispatch/mailtodispatcher.cxx @@ -170,7 +170,7 @@ void SAL_CALL MailToDispatcher::dispatchWithNotification( const css::util::URL& @return <TRUE/> if dispatch could be started successfully Note: Our internal used shell executor doesn't return any state value - so we must - belive that call was successfully. + believe that call was successfully. <FALSE/> if necessary resource couldn't be created or an exception was thrown. */ bool MailToDispatcher::implts_dispatch( const css::util::URL& aURL , diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx index ebacbf512246..b3e9bb3c81f9 100644 --- a/framework/source/dispatch/oxt_handler.cxx +++ b/framework/source/dispatch/oxt_handler.cxx @@ -78,7 +78,7 @@ Oxt_Handler::~Oxt_Handler() @short try to load audio file @descr This method try to load given audio file by URL and play it. We use vcl/Sound class to do that. - Playing of sound is asynchron everytime. + Playing of sound is asynchron every time. @attention We must hold us alive by ourself ... because we use async. vcl sound player ... but playing is started in async interface call "dispatch()" too. And caller forget us immediately. But then our uno ref count diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx index 21767273751d..6e5a12d35b91 100644 --- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx +++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx @@ -269,7 +269,7 @@ void SAL_CALL ActionTriggerPropertySet::getFastPropertyValue( if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx index 3090020fadcc..c1c220e74573 100644 --- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx +++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx @@ -214,7 +214,7 @@ void SAL_CALL ActionTriggerSeparatorPropertySet::getFastPropertyValue( if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index dbd71a12472d..8ff83174e1bf 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -57,7 +57,7 @@ FrameListAnalyzer::~FrameListAnalyzer() We try to get a snapshot of all opened frames, which are part of the desktop frame container. Of course we can't access frames, which stands outside of this tree. - But it's necessary to collect top frames here only. Otherwhise we interpret closing of last + But it's necessary to collect top frames here only. Otherwise we interpret closing of last frame wrong. Further we analyze this list and split into different parts. E.g. for "CloseDoc" we must know, which frames of the given list referr to the same model. These frames must be closed then. But all other frames must be untouched. @@ -93,7 +93,7 @@ void FrameListAnalyzer::impl_analyze() // ask for the model of the given reference frame. // It must be compared with the model of every frame of the container // to sort it into the list of frames with the same model. - // Supress this step, if right detect mode isn't set. + // Suppress this step, if right detect mode isn't set. css::uno::Reference< css::frame::XModel > xReferenceModel; if ((m_eDetectMode & E_MODEL) == E_MODEL ) { diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx index 894e7f11c25d..aa0d10cc7914 100644 --- a/framework/source/fwe/xml/saxnamespacefilter.cxx +++ b/framework/source/fwe/xml/saxnamespacefilter.cxx @@ -87,7 +87,7 @@ void SAL_CALL SaxNamespaceFilter::startElement( try { - // apply namespaces to all remaing attributes + // apply namespaces to all remaining attributes for ( ::std::vector< sal_Int16 >::const_iterator i( aAttributeIndexes.begin()); i != aAttributeIndexes.end(); ++i ) diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx index 00dd42f29bc7..87324dd1586a 100644 --- a/framework/source/fwi/uielement/constitemcontainer.cxx +++ b/framework/source/fwi/uielement/constitemcontainer.cxx @@ -376,7 +376,7 @@ throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index 3d52f89ef007..9ff376acd1a1 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -320,7 +320,7 @@ void SAL_CALL RootItemContainer::getFastPropertyValue( com::sun::star::uno::Any& if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx index 85b65cfc7c32..e357bdeab75e 100644 --- a/framework/source/helper/ocomponentaccess.cxx +++ b/framework/source/helper/ocomponentaccess.cxx @@ -177,7 +177,7 @@ css::uno::Reference< XComponent > OComponentAccess::impl_getFrameComponent( cons ATTENTION - If you miss a test for one of this parameters, contact the autor or add it himself !(?) + If you miss a test for one of this parameters, contact the author or add it himself !(?) But ... look for right testing! See using of this methods! -----------------------------------------------------------------------------------------------------------------*/ diff --git a/framework/source/helper/ocomponentenumeration.cxx b/framework/source/helper/ocomponentenumeration.cxx index 84d57565c9c1..6aa602d219e0 100644 --- a/framework/source/helper/ocomponentenumeration.cxx +++ b/framework/source/helper/ocomponentenumeration.cxx @@ -127,7 +127,7 @@ void OComponentEnumeration::impl_resetObject() ATTENTION - If you miss a test for one of this parameters, contact the autor or add it himself !(?) + If you miss a test for one of this parameters, contact the author or add it himself !(?) But ... look for right testing! See using of this methods! -----------------------------------------------------------------------------------------------------------------*/ diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx index 70b6a17304b4..3b0a628a2db7 100644 --- a/framework/source/helper/oframes.cxx +++ b/framework/source/helper/oframes.cxx @@ -343,7 +343,7 @@ void OFrames::impl_appendSequence( Sequence< css::uno::Reference< XFram ATTENTION - If you miss a test for one of this parameters, contact the autor or add it himself !(?) + If you miss a test for one of this parameters, contact the author or add it himself !(?) But ... look for right testing! See using of this methods! -----------------------------------------------------------------------------------------------------------------*/ diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index f0544ce329df..a2338d44c787 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -313,7 +313,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed() xParentWindow = xPluggWindow; // dont disturb user in case he put the loading document into the background! - // Supress any setVisible() or toFront() call in case the initial show was + // Suppress any setVisible() or toFront() call in case the initial show was // already made. css::uno::Reference< css::awt::XWindow2 > xVisibleCheck(xParentWindow, css::uno::UNO_QUERY); bool bIsVisible = false; @@ -367,7 +367,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed() return; // OK: The document was not opened in hidden mode ... - // and the window isnt already visible. + // and the window isn't already visible. // Show it and bring it to front. // But before we have to be sure, that our internal used helper progress // is visible too. diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx index 2ed6c60d2bc7..300d8c86e53b 100644 --- a/framework/source/helper/uiconfigelementwrapperbase.cxx +++ b/framework/source/helper/uiconfigelementwrapperbase.cxx @@ -389,7 +389,7 @@ void SAL_CALL UIConfigElementWrapperBase::getFastPropertyValue( com::sun::star:: if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx index df5f7a4300e2..6fade1148862 100644 --- a/framework/source/helper/uielementwrapperbase.cxx +++ b/framework/source/helper/uielementwrapperbase.cxx @@ -183,7 +183,7 @@ void SAL_CALL UIElementWrapperBase::getFastPropertyValue( com::sun::star::uno::A if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/helper/vclstatusindicator.cxx b/framework/source/helper/vclstatusindicator.cxx index ef84803b6e3f..3745beb11a19 100644 --- a/framework/source/helper/vclstatusindicator.cxx +++ b/framework/source/helper/vclstatusindicator.cxx @@ -32,7 +32,7 @@ VCLStatusIndicator::VCLStatusIndicator(const css::uno::Reference< css::awt::XWin { if (!m_xParentWindow.is()) throw css::uno::RuntimeException( - OUString("Cant work without a parent window!"), + OUString("Can't work without a parent window!"), static_cast< css::task::XStatusIndicator* >(this)); } diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx index c7724e893acd..156588b68be4 100644 --- a/framework/source/inc/accelerators/presethandler.hxx +++ b/framework/source/inc/accelerators/presethandler.hxx @@ -82,7 +82,7 @@ class PresetHandler private: /** @short because a concurrent access to the same storage from different implementations - isnt supported, we have to share it with others. + isn't supported, we have to share it with others. @descr This struct makes it possible to use any shared storage in combination with a SingletonRef<> template ... @@ -342,7 +342,7 @@ class PresetHandler @descr Note: Targets resist inside the user layer. Normaly they are opened in read/write mode. - But it will be opened readonly automatically if that isnt possible + But it will be opened readonly automatically if that isn't possible (may be the file is write protected on the system ...). @param sTarget diff --git a/framework/source/inc/accelerators/storageholder.hxx b/framework/source/inc/accelerators/storageholder.hxx index cdd292957ebf..5662e498aef2 100644 --- a/framework/source/inc/accelerators/storageholder.hxx +++ b/framework/source/inc/accelerators/storageholder.hxx @@ -147,7 +147,7 @@ class StorageHolder @descr First this method try to open the requested sub element using the given open mode. If it failed there is second step, which tries to do the same again ... but removing a might existing - WRITE flag from the open mode. The user can supress this fallback + WRITE flag from the open mode. The user can suppress this fallback handling by setting the parameter bAllowFallback to sal_False. @param xBaseStorage diff --git a/framework/source/inc/dispatch/loaddispatcher.hxx b/framework/source/inc/dispatch/loaddispatcher.hxx index f9b6fa0bb936..9be0adabc30d 100644 --- a/framework/source/inc/dispatch/loaddispatcher.hxx +++ b/framework/source/inc/dispatch/loaddispatcher.hxx @@ -80,7 +80,7 @@ class LoadDispatcher : public ::cppu::WeakImplHelper2< css::frame::XNotifyingDi which define such target. @param nSearchFlags - used in case sTargetFrame isnt a special one. + used in case sTargetFrame isn't a special one. */ LoadDispatcher(const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XFrame >& xOwnerFrame , diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx index 3dae225c81ba..e67a91f84dc0 100644 --- a/framework/source/inc/loadenv/loadenvexception.hxx +++ b/framework/source/inc/loadenv/loadenvexception.hxx @@ -77,7 +77,7 @@ class LoadEnvException /** @short TODO */ ID_COULD_NOT_REACTIVATE_CONTROLLER, - /** @short indicates an already running load operation. Of yourse the same + /** @short indicates an already running load operation. Of course the same instance can't be used for multiple load requests at the same time. */ ID_STILL_RUNNING, diff --git a/framework/source/inc/pattern/frame.hxx b/framework/source/inc/pattern/frame.hxx index ffba8acf26bb..9be9949bb9bd 100644 --- a/framework/source/inc/pattern/frame.hxx +++ b/framework/source/inc/pattern/frame.hxx @@ -50,8 +50,8 @@ inline css::uno::Reference< css::frame::XModel > extractFrameModel(const css::un @descr It try to close the given resource first. Delegating of the ownership can be influenced from - outside. If closing isnt possible (because the - needed interface isnt available) dispose() is tried instead. + outside. If closing isn't possible (because the + needed interface isn't available) dispose() is tried instead. Al possible exception are handled inside. So the user of this method has to look for the return value only. diff --git a/framework/source/interaction/quietinteraction.cxx b/framework/source/interaction/quietinteraction.cxx index 1bb35eeb344a..680fe0922e51 100644 --- a/framework/source/interaction/quietinteraction.cxx +++ b/framework/source/interaction/quietinteraction.cxx @@ -46,7 +46,7 @@ QuietInteraction::QuietInteraction() void SAL_CALL QuietInteraction::handle( const css::uno::Reference< css::task::XInteractionRequest >& xRequest ) throw( css::uno::RuntimeException, std::exception ) { - // safe the request for outside analyzing everytime! + // safe the request for outside analyzing every time! css::uno::Any aRequest = xRequest->getRequest(); { SolarMutexGuard g; @@ -89,7 +89,7 @@ void SAL_CALL QuietInteraction::handle( const css::uno::Reference< css::task::XI { if (xFilter.is()) { - // user selected filter wins everytime! + // user selected filter wins every time! xFilter->setFilter( aAmbigousFilterRequest.SelectedFilter ); xFilter->select(); } diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx index 897067dbfaa1..6f53eb69aa38 100644 --- a/framework/source/jobs/helponstartup.cxx +++ b/framework/source/jobs/helponstartup.cxx @@ -118,7 +118,7 @@ css::uno::Any SAL_CALL HelpOnStartup::execute(const css::uno::Sequence< css::bea return css::uno::Any(); // check current state of the help module - // a) help isnt open => show default page for the detected module + // a) help isn't open => show default page for the detected module // b) help shows any other default page(!) => show default page for the detected module // c) help shows any other content => do nothing (user travelled to any other content and leaved the set of default pages) OUString sCurrentHelpURL = its_getCurrentHelpURL(); diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 7822afb47bc7..8c38a3e6ad61 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -637,7 +637,7 @@ void SAL_CALL Job::jobFinished( /*IN*/ const css::uno::Reference< css::task::XAs } // And let the start method "execute()" finishing it's job. - // But do it everytime. So any outside blocking code can finish + // But do it every time. So any outside blocking code can finish // his work too. m_aAsyncWait.set(); } diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx index e208e8fe70b5..c0a31e8fe178 100644 --- a/framework/source/jobs/jobdata.cxx +++ b/framework/source/jobs/jobdata.cxx @@ -288,7 +288,7 @@ void JobData::setResult( const JobResult& aResult ) /** @short set a new environment descriptor for this job - @descr It must(!) be done everytime this container is initialized + @descr It must(!) be done every time this container is initialized with new job datas e.g.: setAlias()/setEvent()/setService() ... Otherwhise the environment will be unknown! */ @@ -405,7 +405,7 @@ bool JobData::hasConfig() const started any more ... till the administrator change his timestamp. That can be useful for post setup scenarios, which must run one time only. - Note: This method don't do anything, if ths represented job doesn't have a configuration! + Note: This method don't do anything, if this represented job doesn't have a configuration! */ void JobData::disableJob() { diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx index 1c3ee7471e79..e4dfbb06138c 100644 --- a/framework/source/jobs/jobexecutor.cxx +++ b/framework/source/jobs/jobexecutor.cxx @@ -192,7 +192,7 @@ void JobExecutor::disposing() { /** @short implementation of XJobExecutor interface @descr We use the given event to locate any registered job inside our configuration - and execute it. Further we control the lifetime of it and supress + and execute it. Further we control the lifetime of it and suppress shutdown of the office till all jobs was finished. @param sEvent @@ -209,7 +209,7 @@ void SAL_CALL JobExecutor::trigger( const OUString& sEvent ) throw(css::uno::Run // Optimization! // Check if the given event name exist inside configuration and reject wrong requests. - // This optimization supress using of the cfg api for getting event and job descriptions ... + // This optimization suppress using of the cfg api for getting event and job descriptions ... if (m_lEvents.find(sEvent) == m_lEvents.end()) return; @@ -262,7 +262,7 @@ void SAL_CALL JobExecutor::notifyEvent( const css::document::EventObject& aEvent // Optimization! // Check if the given event name exist inside configuration and reject wrong requests. - // This optimization supress using of the cfg api for getting event and job descriptions. + // This optimization suppress using of the cfg api for getting event and job descriptions. // see using of m_lEvents.find() below ... // retrieve event context from event source diff --git a/framework/source/jobs/jobresult.cxx b/framework/source/jobs/jobresult.cxx index eef4ff59b463..36fc63e8108b 100644 --- a/framework/source/jobs/jobresult.cxx +++ b/framework/source/jobs/jobresult.cxx @@ -168,7 +168,7 @@ void JobResult::operator=( const JobResult& rCopy ) @short checks for existing parts of the analyzed result @descr The internal flag mask was set after analyzing of the pure result. An user of us can check here, if the required part was really part - of this result. Otherwhise it would use invalid information ... + of this result. Otherwise it would use invalid information ... by using our other members! @param eParts diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx index 3f163e47cb76..fe487c9be41d 100644 --- a/framework/source/jobs/joburl.cxx +++ b/framework/source/jobs/joburl.cxx @@ -122,7 +122,7 @@ bool JobURL::isValid() const @return <TRUE/> if an event part of the job URL exist and the out parameter sEvent was filled. - @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>! + @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>! */ bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const { @@ -150,7 +150,7 @@ bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const @return <TRUE/> if an alias part of the job URL exist and the out parameter sAlias was filled. - @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>! + @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>! */ bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const { @@ -178,7 +178,7 @@ bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const @return <TRUE/> if an service part of the job URL exist and the out parameter sService was filled. - @attention The out parameter will be reseted everytime. Don't use it if method returns <FALSE/>! + @attention The out parameter will be reseted every time. Don't use it if method returns <FALSE/>! */ bool JobURL::getService( /*OUT*/ OUString& sService ) const { diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 9cde7d5a50ce..eb0103324595 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -1258,7 +1258,7 @@ void ToolbarLayoutManager::implts_reparentToolbars() Window* pWindow = VCLUnoHelper::GetWindow( xWindow ); if ( pWindow ) { - // Reparent our child windows acording to their current state. + // Reparent our child windows according to their current state. if ( pIter->m_bFloating ) pWindow->SetParent( pContainerWindow ); else diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index d058938c9b77..1d5178e97e3b 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -1608,8 +1608,8 @@ void SAL_CALL AutoRecovery::notifyEvent(const css::document::EventObject& aEvent implts_updateModifiedState(xDocument); } /* at least one document starts saving process => - Our application code isnt ready for multiple save requests - at the same time. So we have to supress our AutoSave feature + Our application code isn't ready for multiple save requests + at the same time. So we have to suppress our AutoSave feature for the moment, till this other save requests will be finished. */ else if ( @@ -2390,7 +2390,7 @@ IMPL_LINK_NOARG(AutoRecovery, implts_timerExpired) bool bAllowUserIdleLoop = true; AutoRecovery::ETimerType eSuggestedTimer = implts_saveDocs(bAllowUserIdleLoop, false); - // If timer isnt used for "short callbacks" (means polling + // If timer isn't used for "short callbacks" (means polling // for special states) ... reset the handle state of all // cache items. Such handle state indicates, that a document // was already saved during the THIS(!) AutoSave session. @@ -2601,7 +2601,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra /* 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 supress deregistration in such case ... + So we suppress deregistration in such case ... */ if (bStopListening) implts_stopModifyListeningOnDoc(aInfo); @@ -2878,7 +2878,7 @@ void AutoRecovery::implts_prepareSessionShutdown() So we have to check a second time, if this property is set .... Best place doing so is to check it immeditaly before saving and supressingd saving the document then. - Of course removing the corresponding cache entry isnt an option. + Of course removing the corresponding cache entry isn't an option. Because it would disturb iteration over the cache ! So we ignore such documents only ... Hopefully next time they are not inserted in our cache. @@ -3180,7 +3180,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString& rInfo.DocumentState |= AutoRecovery::E_INCOMPLETE; } - // make sure the progress isnt referred any longer + // make sure the progress isn't referred any longer impl_forgetProgress(rInfo, lNewArgs, css::uno::Reference< css::frame::XFrame >()); // try to remove the old temp file. diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 7352ede8bb3d..fddecae94bee 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -1163,7 +1163,7 @@ void SAL_CALL Desktop::disposing( const css::lang::EventObject& ) throw( css::un /*-************************************************************************************************************ @interface XInteractionHandler - @short callback for loadComponentFromURL for detected exceptions during load proccess + @short callback for loadComponentFromURL for detected exceptions during load process @descr In this case we must cancel loading and throw these detected exception again as result of our own called method. @@ -1454,7 +1454,7 @@ void SAL_CALL Desktop::getFastPropertyValue( css::uno::Any& aValue , if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index bbbfd2dd7336..89b1ce98da01 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1309,7 +1309,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException, std::exceptio // Deactivate sibling path and forward activation to parent ... if any parent exist! if( xParent.is() ) { - // Everytime set THIS frame as active child of parent and activate it. + // Every time set THIS frame as active child of parent and activate it. // We MUST have a valid path from bottom to top as active path! // But we must deactivate the old active sibling path first. @@ -3098,7 +3098,7 @@ void Frame::implts_checkSuicide() aReadLock.clear(); /* } SAFE */ // force close and deliver owner ship to source of possible throwed veto exception - // Attention: Because this method isn't designed to throw such exception we must supress + // Attention: Because this method isn't designed to throw such exception we must suppress // it for outside code! try { @@ -3124,7 +3124,7 @@ void Frame::implts_checkSuicide() void Frame::impl_setCloser( /*IN*/ const css::uno::Reference< css::frame::XFrame2 >& xFrame , /*IN*/ bool bState ) { - // Note: If start module isnt installed - no closer has to be shown! + // Note: If start module isn't installed - no closer has to be shown! if (!SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE)) return; diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx index 6c0836624c07..94e988b5824d 100644 --- a/framework/source/tabwin/tabwindow.cxx +++ b/framework/source/tabwin/tabwindow.cxx @@ -863,7 +863,7 @@ void SAL_CALL TabWindow::getFastPropertyValue( css::uno::Any& aValue , if( pInfoHelper == NULL ) { // Define static member to give structure of properties to baseclass "OPropertySetHelper". - // "impl_getStaticPropertyDescriptor" is a non exported and static funtion, who will define a static propertytable. + // "impl_getStaticPropertyDescriptor" is a non exported and static function, who will define a static propertytable. // "sal_True" say: Table is sorted by name. static ::cppu::OPropertyArrayHelper aInfoHelper( impl_getStaticPropertyDescriptor(), sal_True ); pInfoHelper = &aInfoHelper; diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 62e1bd78d6d2..6b5ca0768ab6 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -236,7 +236,7 @@ ConfigurationAccess_WindowState::ConfigurationAccess_WindowState( const OUString m_bConfigAccessInitialized( false ), m_bModified( false ) { - // Create configuration hierachical access name + // Create configuration hierarchical access name m_aConfigWindowAccess += aModuleName; m_aConfigWindowAccess += "/UIElements/States"; m_xConfigProvider = theDefaultProvider::get( rxContext ); diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index df569dc3e714..b324557ece7b 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -463,7 +463,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand ) If the given URL can be located as an action command of one menu item of the popup menu of this control, we return sal_True. Otherwhise we return sal_False. Further we return a fallback URL, in case we have to return sal_False. Because - the outside code must select a valid item of the popup menu everytime ... + the outside code must select a valid item of the popup menu every time ... and we define it here. By the way this m ethod was written to handle error situations gracefully. E.g. it can be called during creation time but then we have no valid menu. For this case we know another fallback URL. @@ -471,7 +471,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand ) @param rPopupMenu pounts to the popup menu, on which item we try to locate the given URL - Can be NULL! Search will be supressed then. + Can be NULL! Search will be suppressed then. @param sURL the URL for searching diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index 11ba44fa9bbb..344511f847e4 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -191,7 +191,7 @@ ConfigurationAccess_UICommand::ConfigurationAccess_UICommand( const OUString& aM m_bCacheFilled( false ), m_bGenericDataRetrieved( false ) { - // Create configuration hierachical access name + // Create configuration hierarchical access name m_aConfigCmdAccess += aModuleName; m_aConfigCmdAccess += CONFIGURATION_CMD_ELEMENT_ACCESS; diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx index 6bfe69a8c7ec..904417e7750b 100644 --- a/framework/source/xml/acceleratorconfigurationreader.cxx +++ b/framework/source/xml/acceleratorconfigurationreader.cxx @@ -99,7 +99,7 @@ void SAL_CALL AcceleratorConfigurationReader::startElement(const OUString& if (eElement == E_ELEMENT_ITEM) { if (!m_bInsideAcceleratorList) - THROW_PARSEEXCEPTION("An element \"accel:item\" must be embeded into 'accel:acceleratorlist'.") + THROW_PARSEEXCEPTION("An element \"accel:item\" must be embedded into 'accel:acceleratorlist'.") if (m_bInsideAcceleratorItem) THROW_PARSEEXCEPTION("An element \"accel:item\" is not a container.") m_bInsideAcceleratorItem = true; diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index 4bf44ee84c2e..89dd9d98427b 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -292,7 +292,7 @@ void SAL_CALL OReadImagesDocumentHandler::startElement( case IMG_ELEMENT_ENTRY: { - // Check that image:entry is embeded into image:images! + // Check that image:entry is embedded into image:images! if ( !m_bImagesStartFound ) { delete m_pImages; @@ -369,7 +369,7 @@ void SAL_CALL OReadImagesDocumentHandler::startElement( case IMG_ELEMENT_EXTERNALIMAGES: { - // Check that image:externalimages is embeded into image:imagecontainer + // Check that image:externalimages is embedded into image:imagecontainer if ( !m_bImageContainerStartFound ) { delete m_pImages; @@ -380,7 +380,7 @@ void SAL_CALL OReadImagesDocumentHandler::startElement( throw SAXException( aErrorMessage, Reference< XInterface >(), Any() ); } - // Check that image:externalentry is NOT embeded into image:externalentry + // Check that image:externalentry is NOT embedded into image:externalentry if ( m_bExternalImagesStartFound ) { delete m_pImages; diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx index 04f20d2d6a6b..4e5fc5124318 100644 --- a/include/basegfx/polygon/b2dpolygontools.hxx +++ b/include/basegfx/polygon/b2dpolygontools.hxx @@ -397,7 +397,7 @@ namespace basegfx @param fEnd The maximum distance for the last point. No more points behind this distance will be created. - Use 0.0 to proccess the whole polygon. Negative values are truncated to 0.0. It also + Use 0.0 to process the whole polygon. Negative values are truncated to 0.0. It also needs to be more or equal to fStart, else it is truncated to fStart. @return diff --git a/include/basegfx/tools/keystoplerp.hxx b/include/basegfx/tools/keystoplerp.hxx index bef358784b4d..bccfa3ab13bb 100644 --- a/include/basegfx/tools/keystoplerp.hxx +++ b/include/basegfx/tools/keystoplerp.hxx @@ -53,7 +53,7 @@ namespace basegfx @param rKeyStops Vector of stops, must contain at least two elements - (though preferrably more, otherwise you probably don't + (though preferably more, otherwise you probably don't need key stop lerping in the first place). All elements must be of monotonically increasing value. */ @@ -64,7 +64,7 @@ namespace basegfx @param rKeyStops Sequence of stops, must contain at least two elements - (though preferrably more, otherwise you probably don't + (though preferably more, otherwise you probably don't need key stop lerping in the first place). All elements must be of monotonically increasing value. */ diff --git a/include/canvas/base/bitmapcanvasbase.hxx b/include/canvas/base/bitmapcanvasbase.hxx index 67fc273a4d13..d43efee2fa3f 100644 --- a/include/canvas/base/bitmapcanvasbase.hxx +++ b/include/canvas/base/bitmapcanvasbase.hxx @@ -44,7 +44,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Everytime one of the methods is + OBaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/bufferedgraphicdevicebase.hxx b/include/canvas/base/bufferedgraphicdevicebase.hxx index e6625e491443..9e66e43fe0f0 100644 --- a/include/canvas/base/bufferedgraphicdevicebase.hxx +++ b/include/canvas/base/bufferedgraphicdevicebase.hxx @@ -59,7 +59,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Everytime one of the methods is + OBaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index faf98ecfa48d..23d82bf8ad43 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -74,13 +74,13 @@ namespace canvas Canvas helper implementation for the backend in question. This object will be held as a member of this template class, and basically gets forwarded all XCanvas API calls. Furthermore, - everytime the canvas API semantically changes the content of + every time the canvas API semantically changes the content of the canvas, CanvasHelper::modifying() will get called (<em>before</em> the actual modification takes place). @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Everytime one of the methods is + OBaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/canvascustomspritebase.hxx b/include/canvas/base/canvascustomspritebase.hxx index e0ff27285e20..3e17319e53db 100644 --- a/include/canvas/base/canvascustomspritebase.hxx +++ b/include/canvas/base/canvascustomspritebase.hxx @@ -56,7 +56,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Everytime one of the methods is + OBaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/base/spritecanvasbase.hxx b/include/canvas/base/spritecanvasbase.hxx index c45b34fd4fb5..732098671705 100644 --- a/include/canvas/base/spritecanvasbase.hxx +++ b/include/canvas/base/spritecanvasbase.hxx @@ -48,7 +48,7 @@ namespace canvas @tpl Mutex Lock strategy to use. Defaults to using the - OBaseMutex-provided lock. Everytime one of the methods is + OBaseMutex-provided lock. Every time one of the methods is entered, an object of type Mutex is created with m_aMutex as the sole parameter, and destroyed again when the method scope is left. diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index 4e9c6064d92f..de5a76cfe217 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -381,7 +381,7 @@ namespace canvas /// Convert standard 8888 RGBA color to vcl color CANVASTOOLS_DLLPUBLIC ::com::sun::star::uno::Sequence<sal_Int8> colorToStdIntSequence( const ::Color& rColor ); - // Modeled closely after boost::numeric_cast, only that we + // Modelled closely after boost::numeric_cast, only that we // issue some trace output here and throw a RuntimeException /** Cast numeric value into another (numeric) data type @@ -400,7 +400,7 @@ namespace canvas #undef min #undef max - if( ( arg<0 && !TargetLimits::is_signed) || // loosing the sign here + if( ( arg<0 && !TargetLimits::is_signed) || // losing the sign here ( SourceLimits::is_signed && arg<TargetLimits::min()) || // underflow will happen ( arg>TargetLimits::max() ) ) // overflow will happen { diff --git a/include/comphelper/configurationhelper.hxx b/include/comphelper/configurationhelper.hxx index 7af48b51b946..9cd56e77a8f5 100644 --- a/include/comphelper/configurationhelper.hxx +++ b/include/comphelper/configurationhelper.hxx @@ -191,7 +191,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper * The cached configuration access must be provided here. * * @param xCFG - * the configuration root, where changes should be commited. + * the configuration root, where changes should be committed. * * @throw Any exceptions the underlying configuration can throw. * E.g. css::uno::Exception if the provided configuration diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx index 7a020ed85417..37260f9b0ba3 100644 --- a/include/comphelper/docpasswordhelper.hxx +++ b/include/comphelper/docpasswordhelper.hxx @@ -50,7 +50,7 @@ class COMPHELPER_DLLPUBLIC IDocPasswordVerifier public: virtual ~IDocPasswordVerifier(); - /** Will be called everytime a password needs to be verified. + /** Will be called every time a password needs to be verified. @param rPassword The password to be verified @@ -71,7 +71,7 @@ public: */ virtual DocPasswordVerifierResult verifyPassword( const OUString& rPassword, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& o_rEncryptionData ) = 0; - /** Will be called everytime an encryption data needs to be verified. + /** Will be called every time an encryption data needs to be verified. @param rEncryptionData The data will be validated @@ -82,7 +82,7 @@ public: - DocPasswordVerifierResult_WRONG_PASSWORD, if the encryption data is wrong. - DocPasswordVerifierResult_ABORT, if an unrecoverable error - occured while data verification. The password request loop + occurred while data verification. The password request loop will be aborted. */ virtual DocPasswordVerifierResult verifyEncryptionData( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& o_rEncryptionData ) = 0; diff --git a/include/comphelper/implementationreference.hxx b/include/comphelper/implementationreference.hxx index 4432c2e18272..fa35d6174476 100644 --- a/include/comphelper/implementationreference.hxx +++ b/include/comphelper/implementationreference.hxx @@ -52,7 +52,7 @@ namespace comphelper As this template is geared towards fast, internal pointer access, validity of the UNO reference is _not_ checked for every pointer access. The client of this template is - responsible to check that, whereever necessary, via the is() + responsible to check that, wherever necessary, via the is() method. @tpl CppType diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index f37ebd02f9c2..cd0ba95a44d0 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -40,7 +40,7 @@ namespace comphelper{ /** @short defines a collection of UNO components, where every component will get its own unique number. @descr Such number will be unique at runtime only ... but it supports fragmentation. - Note: This collection uses weak refrences only to know her components. + Note: This collection uses weak references only to know her components. So lifetime of thise components must be controlled outside. @threadsafe @@ -136,7 +136,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex /** @short trys to find an unique number not already used within this collection. - @descr It reuses the smalles number which isnt used by any component + @descr It reuses the smalles number which isn't used by any component of this collection. (fragmentation!) If collection is full (means there is no free number) the special value INVALID_NUMBER will be returned. diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index 5410d5d0ce34..a5c2659083de 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -70,7 +70,7 @@ class IPropertyInfoService public: /** get the preferred handle for the given property @param _rName the property name - @return the handle the property should be refered by, or -1 if there are no + @return the handle the property should be referred by, or -1 if there are no preferences for the given property */ virtual sal_Int32 getPreferredPropertyId(const OUString& _rName) = 0; @@ -107,7 +107,7 @@ public: aggregate properties get depend from the following two parameters. @param _pInfoService If not NULL, the object pointed to is used to calc handles which should be used - for refering the aggregate's properties from outside. + for referring the aggregate's properties from outside. If one of the properties returned from the info service conflict with other handles alread present (e.g. through _rProperties), the property is handled as if -1 was returned. If NULL (or, for a special property, a call to getPreferredPropertyId returns -1), diff --git a/include/comphelper/sequenceashashmap.hxx b/include/comphelper/sequenceashashmap.hxx index 63a409b1ebd7..38cf734d56ad 100644 --- a/include/comphelper/sequenceashashmap.hxx +++ b/include/comphelper/sequenceashashmap.hxx @@ -246,7 +246,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase does not already exist. @descr To check if the property already exists only - her name is used for compare. Its value isnt + her name is used for compare. Its value isn't checked! @param sKey diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx index 7e1ef9fd7c85..8b0dc6201269 100644 --- a/include/connectivity/FValue.hxx +++ b/include/connectivity/FValue.hxx @@ -310,7 +310,7 @@ namespace connectivity ORowSetValue& operator=(const OUString& _rRH); // the type isn't set it will be set to VARCHAR if the type is different change it ORowSetValue& operator=(const ::com::sun::star::uno::Sequence<sal_Int8>& _rRH); - // we the possiblity to save a any for bookmarks + // we the possibility to save a any for bookmarks ORowSetValue& operator=(const ::com::sun::star::uno::Any& _rAny); operator bool() const { return isNull() ? false : getBool(); } diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx index e592ebb9186c..1edd02bffe47 100644 --- a/include/connectivity/dbtools.hxx +++ b/include/connectivity/dbtools.hxx @@ -243,7 +243,7 @@ namespace dbtools If (and only if) <arg>CommandType</arg> is CommandType.COMMAND, the fields collection which is returned by this function here is a temporary object. It is kept alive by another object, which is to be created temporarily, too. To ensure that the fields you get are valid as long as you need them, - the owner which controls their life time is transfered to this parameter upon return.<br/> + the owner which controls their life time is transferred to this parameter upon return.<br/> Your fields live as long as this component lives.<br/> @@ -318,7 +318,7 @@ namespace dbtools const StandardSQLState _eSQLState = SQL_ERROR_UNSPECIFIED, const sal_Int32 _nErrorCode = 0); - /** search the parent hierachy for a data source. + /** search the parent hierarchy for a data source. */ OOO_DLLPUBLIC_DBTOOLS ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> findDataSource(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xParent); diff --git a/include/connectivity/parameters.hxx b/include/connectivity/parameters.hxx index 7695e9fdaf00..e1962b835253 100644 --- a/include/connectivity/parameters.hxx +++ b/include/connectivity/parameters.hxx @@ -78,7 +78,7 @@ namespace dbtools /// the column object for this parameter, as returned by the query composer ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xComposerColumn; - /// the indicies of inner parameters which need to be filled when this concrete parameter is set + /// the indices of inner parameters which need to be filled when this concrete parameter is set ::std::vector< sal_Int32 > aInnerIndexes; /// default ctor diff --git a/include/connectivity/virtualdbtools.hxx b/include/connectivity/virtualdbtools.hxx index 8474dc42b850..a19222a71166 100644 --- a/include/connectivity/virtualdbtools.hxx +++ b/include/connectivity/virtualdbtools.hxx @@ -88,7 +88,7 @@ namespace dbtools { instance, which is acquired <em>once</em>.</p> @return a pointer to an object implementing the IDataAccessToolsFactory interface, - aquired exactly <em>once</em>. + acquired exactly <em>once</em>. */ #if HAVE_FEATURE_DESKTOP extern "C" OOO_DLLPUBLIC_DBTOOLS void* SAL_CALL createDataAccessToolsFactory(); diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 856c3d31438e..53bfbba1e17a 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -84,13 +84,13 @@ namespace drawinglayer using this primitive and do not know it, may get the decomposition and process these instead. An example is e.g. a fat line, who's decomposition may contain the geometric representation of that line using filled polygon prmimitives. When - the renderer knows how to handle fat lines, he may proccess this primitive directly; + the renderer knows how to handle fat lines, he may process this primitive directly; if not he can use the decomposition. With this functionality, renderers may operate by knowing only a small set of primitives. When a primitive does not implement get2DDecomposition, it is called a 'Basic Primitive' and belongs to the set of primitives which a processor should be able to handle. Practice - will define this minimal sets of primitives. When defined and the concept is prooved, + will define this minimal sets of primitives. When defined and the concept is proved, unique UNO APIs may be defined/implemented for these set to allow more intense work with primitives using UNO. diff --git a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx index 7b75a21a441a..679f681fe74e 100644 --- a/include/drawinglayer/primitive2d/metafileprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/metafileprimitive2d.hxx @@ -37,7 +37,7 @@ namespace drawinglayer This is the MetaFile representing primitive. It's geometry is defined by MetaFileTransform. The content (defined by MetaFile) will be scaled - to the geometric definiton by using PrefMapMode and PrefSize of the + to the geometric definition by using PrefMapMode and PrefSize of the Metafile. It has shown that this not always guarantees that all Metafile content diff --git a/include/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx b/include/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx index 156a0ceb3873..cfb7e1a5c07c 100644 --- a/include/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx @@ -44,7 +44,7 @@ namespace drawinglayer For the possibilities of color modifications, please refer to the basegfx::BColorModifier definitions in basegfx. For processing there is tooling in basegfx to build a stack of - BColorModifierSharedPtrs to always be able to proccess the correct + BColorModifierSharedPtrs to always be able to process the correct colors. If a renderer does not handle this primitive, the content will diff --git a/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx b/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx index 9b01e4278057..2407a7f883c4 100644 --- a/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/pointarrayprimitive2d.hxx @@ -39,7 +39,7 @@ namespace drawinglayer the logic size of a 'pixel' depends on the view transformation. This is one of the non-decomposable primitives, so a renderer - should proccess it (Currently it is only used for grid visualisation, + should process it (Currently it is only used for grid visualisation, but this may change). */ class DRAWINGLAYER_DLLPUBLIC PointArrayPrimitive2D : public BasePrimitive2D diff --git a/include/drawinglayer/primitive2d/polygonprimitive2d.hxx b/include/drawinglayer/primitive2d/polygonprimitive2d.hxx index 53d86fc477ab..04bef93a4cd6 100644 --- a/include/drawinglayer/primitive2d/polygonprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/polygonprimitive2d.hxx @@ -43,7 +43,7 @@ namespace drawinglayer this primitive is view-dependent, too. This is one of the non-decomposable primitives, so a renderer - should proccess it. + should process it. */ class DRAWINGLAYER_DLLPUBLIC PolygonHairlinePrimitive2D : public BasePrimitive2D { diff --git a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx index 46579cb3b904..e65952250362 100644 --- a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx @@ -203,7 +203,7 @@ namespace drawinglayer This primitive defines a PolyPolygon filled with a single color. This is one of the non-decomposable primitives, so a renderer - should proccess it. + should process it. */ class DRAWINGLAYER_DLLPUBLIC PolyPolygonColorPrimitive2D : public BasePrimitive2D { diff --git a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx index 85670f97d9b2..a258eb1edcab 100644 --- a/include/drawinglayer/primitive3d/polygonprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/polygonprimitive3d.hxx @@ -40,7 +40,7 @@ namespace drawinglayer this primitive is view-dependent, too. This is one of the non-decomposable 3D primitives, so a renderer - should proccess it. + should process it. */ class DRAWINGLAYER_DLLPUBLIC PolygonHairlinePrimitive3D : public BasePrimitive3D { diff --git a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx index d9bebf964674..47ed330213c0 100644 --- a/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/polypolygonprimitive3d.hxx @@ -36,7 +36,7 @@ namespace drawinglayer This primitive defines a planar 3D PolyPolygon filled with a single color. This is one of the non-decomposable primitives, so a renderer - should proccess it. + should process it. It is assumed here that the PolyPolgon is a single plane in 3D. */ diff --git a/include/editeng/AccessibleStaticTextBase.hxx b/include/editeng/AccessibleStaticTextBase.hxx index 6ccc0be6b3b6..adb5b0faacc1 100644 --- a/include/editeng/AccessibleStaticTextBase.hxx +++ b/include/editeng/AccessibleStaticTextBase.hxx @@ -117,7 +117,7 @@ namespace accessibility /** Query the current edit source @attention This method returns by reference, so you are - responsible for serialization (typically, you aquired the + responsible for serialization (typically, you acquired the solar mutex when calling this method). Thus, the method should only be called from the main office thread. diff --git a/include/editeng/hangulhanja.hxx b/include/editeng/hangulhanja.hxx index 96fb3b6fe361..8c7c2db50f0a 100644 --- a/include/editeng/hangulhanja.hxx +++ b/include/editeng/hangulhanja.hxx @@ -195,7 +195,7 @@ namespace editeng <p>pseudo-abstract, needs to be overridden</p> - <p>Note an important thing about the indicies: They are always relative to the <em>previous + <p>Note an important thing about the indices: They are always relative to the <em>previous call</em> of ReplaceUnit. This means whe you get a call to ReplaceUnit, and replace some text in your document, than you have to remember the document position immediately <em>behind</em> the changed text. In a next call to ReplaceUnit, an index of <em>0</em> will denote exactly diff --git a/include/editeng/unoedsrc.hxx b/include/editeng/unoedsrc.hxx index aed5ee6ae5db..a76db3396aca 100644 --- a/include/editeng/unoedsrc.hxx +++ b/include/editeng/unoedsrc.hxx @@ -222,7 +222,7 @@ public: i.e. the one at position n is a special case. Because it does not represent an existing character its bounding box is defined in relation to preceding characters. It should be - rougly equivalent to the bounding box of some character when + roughly equivalent to the bounding box of some character when inserted at the end of the text. Its height typically being the maximal height of all the characters in the text or the height of the preceding character, its width being at least diff --git a/include/framework/framelistanalyzer.hxx b/include/framework/framelistanalyzer.hxx index 8c12a093f5c2..3c1b7f4648ec 100644 --- a/include/framework/framelistanalyzer.hxx +++ b/include/framework/framelistanalyzer.hxx @@ -76,13 +76,13 @@ class FWE_DLLPUBLIC FrameListAnalyzer ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lModelFrames; /** contains all frames, which does not contain the same model like the reference frame. - Filling of it can't be supressed by m_eDetectMode. + Filling of it can't be suppressed by m_eDetectMode. The reference frame is never part of this list! All frames inside this list are visible ones. */ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lOtherVisibleFrames; /** contains all frames, which does not contain the same model like the reference frame. - Filling of it can't be supressed by m_eDetectMode. + Filling of it can't be suppressed by m_eDetectMode. The reference frame is never part of this list! All frames inside this list are hidden ones. */ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > > m_lOtherHiddenFrames; diff --git a/include/uno/threadpool.h b/include/uno/threadpool.h index 6e880e55b144..be744879cec5 100644 --- a/include/uno/threadpool.h +++ b/include/uno/threadpool.h @@ -114,7 +114,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_threadpool_detach( uno_ThreadPool hPool ) SAL_THROW_EXTERN_C(); /** - Puts a job into the pool. A job may eiter be a request or a reply + Puts a job into the pool. A job may either be a request or a reply (replies have a 0 in the doRequest parameter). This function is non-blocking. A request may either be synchronous or asynchronous. diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx index c00f3a91a0d3..35f839c1da10 100644 --- a/include/unotools/mediadescriptor.hxx +++ b/include/unotools/mediadescriptor.hxx @@ -44,7 +44,7 @@ namespace utl { Further this helper defines often used functions (as e.g. open of the required streams, consistent checks etcpp.) and it defines all useable property names. - @attention This class isnt threadsafe and must be guarded from outside! + @attention This class isn't threadsafe and must be guarded from outside! */ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap { @@ -148,7 +148,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap /** @short it checks if the descriptor describes a readonly stream. - @descr The descriptor itself isnt changed doing so. + @descr The descriptor itself isn't changed doing so. It's only checked if the stream seems to be based of a real readonly file. diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index 435d161dd029..355a37357fdf 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -324,7 +324,6 @@ css::uno::Sequence< OUString > SAL_CALL BackingComp::getSupportedServiceNames() } - /** attach this component to a target frame. @@ -459,7 +458,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f This component does not know any model. It will be represented by a window and its controller only. - return <FALSE/> everytime. + return <FALSE/> every time. */ sal_Bool SAL_CALL BackingComp::attachModel( /*IN*/ const css::uno::Reference< css::frame::XModel >& ) @@ -559,7 +558,7 @@ sal_Bool SAL_CALL BackingComp::suspend( /*IN*/ sal_Bool ) and inform us. We must release its reference only here. Of course we check the given reference here and reject callback from unknown sources. - Note: deregistration as listener isnt necessary here. The broadcaster do it automatically. + Note: deregistration as listener isn't necessary here. The broadcaster do it automatically. @param aEvent describe the broadcaster of this callback |