summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-18 12:37:04 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-18 09:35:43 +0000
commit23af031b09dffe37222517d69f5337db26fdb307 (patch)
treeae1219ec20ccacd0fe9fdc0fc539e5b8f41420d3
parent78e9ba6febb7402d4661fbf7934a2526efc8629a (diff)
Fix typos in comments
-rw-r--r--canvas/inc/canvas/rendering/isurface.hxx2
-rw-r--r--canvas/source/directx/dx_surfacebitmap.hxx2
-rw-r--r--chart2/source/controller/drawinglayer/DrawViewWrapper.cxx2
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx2
-rw-r--r--chart2/source/controller/main/PositionAndSizeHelper.cxx6
-rw-r--r--chart2/source/controller/main/SelectionHelper.cxx6
-rw-r--r--chart2/source/inc/chartview/ExplicitScaleValues.hxx4
-rw-r--r--chart2/source/model/main/ChartModel.cxx2
-rw-r--r--chart2/source/model/main/ChartModel_Persistence.cxx2
-rw-r--r--chart2/source/tools/AxisHelper.cxx2
-rw-r--r--chart2/source/view/axes/VAxisProperties.hxx2
-rw-r--r--chart2/source/view/charttypes/BarChart.cxx2
-rw-r--r--chart2/source/view/charttypes/BarChart.hxx2
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx4
-rw-r--r--chart2/source/view/inc/VCoordinateSystem.hxx2
-rw-r--r--chart2/source/view/inc/VDataSeries.hxx2
-rw-r--r--chart2/source/view/inc/VSeriesPlotter.hxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx10
-rw-r--r--chart2/source/view/main/ChartView.hxx2
-rw-r--r--chart2/source/view/main/Clipping.cxx2
-rw-r--r--chart2/source/view/main/PolarLabelPositionHelper.cxx2
-rw-r--r--chart2/source/view/main/VLegend.cxx2
-rw-r--r--cui/source/inc/dlgname.hxx2
-rw-r--r--cui/source/options/optdict.cxx2
-rw-r--r--dbaccess/source/ui/app/subcomponentmanager.cxx2
-rw-r--r--extensions/source/plugin/base/xplugin.cxx2
-rw-r--r--io/test/stm/pumptest.cxx2
-rw-r--r--jurt/com/sun/star/comp/servicemanager/ServiceManager.java2
-rw-r--r--l10ntools/source/tagtest.cxx2
-rw-r--r--linguistic/workben/sspellimp.cxx2
-rw-r--r--odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java2
-rw-r--r--offapi/com/sun/star/chart/XAxisSupplier.idl4
-rw-r--r--offapi/com/sun/star/chart2/ScaleData.idl2
-rw-r--r--psprint_config/configuration/psprint.conf6
-rw-r--r--pyuno/inc/pyuno/pyuno.hxx2
-rw-r--r--reportdesign/source/core/sdr/UndoEnv.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx2
-rw-r--r--sd/source/ui/app/sdmod1.cxx2
-rw-r--r--sd/source/ui/dlg/TemplateScanner.cxx2
-rw-r--r--sd/source/ui/dlg/dlgass.cxx2
-rw-r--r--sd/source/ui/func/fupage.cxx2
-rw-r--r--sd/source/ui/inc/TemplateScanner.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/ILayoutableWindow.hxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx2
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx2
-rwxr-xr-xsfx2/qa/complex/sfx2/DocumentInfo.java2
-rwxr-xr-xsfx2/qa/complex/sfx2/GlobalEventBroadcaster.java4
-rw-r--r--sfx2/source/control/dispatch.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
-rw-r--r--sfx2/source/doc/docinsert.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/doctemplates.cxx14
-rw-r--r--sfx2/source/view/ipclient.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
-rw-r--r--sfx2/source/view/viewsh.cxx2
-rw-r--r--shell/source/unix/exec/shellexec.cxx2
-rw-r--r--starmath/inc/caret.hxx2
-rw-r--r--svtools/inc/svtools/valueset.hxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx2
-rw-r--r--svx/source/form/fmundo.cxx2
-rw-r--r--sw/source/core/doc/htmltbl.cxx2
-rw-r--r--sw/source/ui/inc/swuiidxmrk.hxx2
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx2
-rw-r--r--tools/inc/tools/debug.hxx2
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx2
-rw-r--r--vcl/inc/vcl/outdev.hxx2
-rw-r--r--vcl/source/window/window.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx2
-rw-r--r--wizards/com/sun/star/wizards/ui/SortingComponent.java2
-rw-r--r--xmloff/source/chart/SchXMLChartContext.hxx2
-rw-r--r--xmloff/source/meta/xmlversion.cxx2
-rw-r--r--xmloff/source/style/styleexp.cxx2
77 files changed, 98 insertions, 98 deletions
diff --git a/canvas/inc/canvas/rendering/isurface.hxx b/canvas/inc/canvas/rendering/isurface.hxx
index adad313d46f3..65ec79b646e2 100644
--- a/canvas/inc/canvas/rendering/isurface.hxx
+++ b/canvas/inc/canvas/rendering/isurface.hxx
@@ -54,7 +54,7 @@ namespace canvas
*/
virtual bool selectTexture() = 0;
- /** Tells wether the surface is valid or not
+ /** Tells whether the surface is valid or not
*/
virtual bool isValid() = 0;
diff --git a/canvas/source/directx/dx_surfacebitmap.hxx b/canvas/source/directx/dx_surfacebitmap.hxx
index 3b40c7879862..c32b8321934c 100644
--- a/canvas/source/directx/dx_surfacebitmap.hxx
+++ b/canvas/source/directx/dx_surfacebitmap.hxx
@@ -132,7 +132,7 @@ namespace dxcanvas
// internal implementation of the iColorBuffer interface
canvas::IColorBufferSharedPtr mpColorBuffer;
- // indicates wether the associated surface needs
+ // indicates whether the associated surface needs
// to refresh its contents or not. in other words,
// this flag is set iff both representations are
// out of sync.
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index fad41f051074..8a3da3f60436 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -240,7 +240,7 @@ void DrawViewWrapper::MarkObject( SdrObject* pObj )
if( m_pMarkHandleProvider )
bFrameDragSingles = m_pMarkHandleProvider->getFrameDragSingles();
- this->SetFrameDragSingles(bFrameDragSingles);//decide wether each single object should get handles
+ this->SetFrameDragSingles(bFrameDragSingles);//decide whether each single object should get handles
this->SdrView::MarkObj( pObj, this->GetPageView() );
this->showMarkHandles();
}
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 4b285dc640ec..54345303f9f5 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -250,7 +250,7 @@ const short HITPIX=2; //hit-tolerance in pixel
Size aLogicSize = m_pChartWindow->PixelToLogic( Size( Width, Height ), MapMode( MAP_100TH_MM ) );
bool bIsEmbedded = true;
- //todo: for standalone chart: detect wether we are standalone
+ //todo: for standalone chart: detect whether we are standalone
if( bIsEmbedded )
{
//change map mode to fit new size
diff --git a/chart2/source/controller/main/PositionAndSizeHelper.cxx b/chart2/source/controller/main/PositionAndSizeHelper.cxx
index 61b4c305b8c7..ad046b5e37d8 100644
--- a/chart2/source/controller/main/PositionAndSizeHelper.cxx
+++ b/chart2/source/controller/main/PositionAndSizeHelper.cxx
@@ -61,7 +61,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
if( OBJECTTYPE_TITLE==eObjectType )
{
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
chart2::RelativePosition aRelativePosition;
aRelativePosition.Anchor = drawing::Alignment_CENTER;
//the anchor point at the title object is top/middle
@@ -72,7 +72,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
}
else if( OBJECTTYPE_DATA_CURVE_EQUATION==eObjectType )
{
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
chart2::RelativePosition aRelativePosition;
aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT;
//the anchor point at the title object is top/middle
@@ -113,7 +113,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType
}
else if(OBJECTTYPE_DIAGRAM==eObjectType || OBJECTTYPE_DIAGRAM_WALL==eObjectType || OBJECTTYPE_DIAGRAM_FLOOR==eObjectType)
{
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
//set position:
chart2::RelativePosition aRelativePosition;
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index 256354a6c3e3..644ab36ff235 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -273,7 +273,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper*
m_aSelectedOID = ObjectIdentifier( aPageCID );
}
- //check wether the diagram was hit but not selected (e.g. because it has no filling):
+ //check whether the diagram was hit but not selected (e.g. because it has no filling):
rtl::OUString aDiagramCID = ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM, rtl::OUString::valueOf( sal_Int32(0) ) );
rtl::OUString aWallCID( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM_WALL, rtl::OUString() ) );//@todo read CID from model
bool bBackGroundHit = m_aSelectedOID.getObjectCID().equals( aPageCID ) || m_aSelectedOID.getObjectCID().equals( aWallCID ) || !m_aSelectedOID.isAutoGeneratedObject();
@@ -290,7 +290,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper*
}
}
}
- //check wether the legend was hit but not selected (e.g. because it has no filling):
+ //check whether the legend was hit but not selected (e.g. because it has no filling):
if( bBackGroundHit || m_aSelectedOID.getObjectCID().equals( aDiagramCID ) )
{
rtl::OUString aLegendCID( ObjectIdentifier::createClassifiedIdentifierForParticle( ObjectIdentifier::createParticleForLegend(0,0) ) );//@todo read CID from model
@@ -560,7 +560,7 @@ SdrObject* SelectionHelper::getObjectToMark()
E3dScene* SelectionHelper::getSceneToRotate( SdrObject* pObj )
{
- //search wether the object or one of its children is a 3D object
+ //search whether the object or one of its children is a 3D object
//if so, return the accessory 3DScene
E3dObject* pRotateable = 0;
diff --git a/chart2/source/inc/chartview/ExplicitScaleValues.hxx b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
index bf43ae788954..08e1bec7f2a9 100644
--- a/chart2/source/inc/chartview/ExplicitScaleValues.hxx
+++ b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
@@ -113,13 +113,13 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
before a scaling is applied, which may lead to non equidistant tickmarks
on the screen.</p>
- <p><member>PostEquidistant</member> rules wether the <member>Distance</member>
+ <p><member>PostEquidistant</member> rules whether the <member>Distance</member>
is meant to be a value before or after scaling.</p>
*/
double Distance;
/**
- <member>PostEquidistant</member> rules wether the member <member>Distance</member>
+ <member>PostEquidistant</member> rules whether the member <member>Distance</member>
describes a distance before or after the scaling is applied.
<p>If <member>PostEquidistant</member> equals <TRUE/> <member>Distance</member>
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 0ab069be4d67..d8718825b3df 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -634,7 +634,7 @@ void SAL_CALL ChartModel::close( sal_Bool bDeliverOwnership )
uno::Reference< uno::XInterface > xSelfHold( static_cast< ::cppu::OWeakObject* >(this) );
//the listeners have had no veto
- //check wether we self can close
+ //check whether we self can close
{
util::CloseVetoException aVetoException = util::CloseVetoException(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx
index 6e1a9132c9ac..e97e82d00169 100644
--- a/chart2/source/model/main/ChartModel_Persistence.cxx
+++ b/chart2/source/model/main/ChartModel_Persistence.cxx
@@ -258,7 +258,7 @@ void SAL_CALL ChartModel::store()
if( aLocation.isEmpty() )
throw io::IOException( C2U( "no location specified" ), static_cast< ::cppu::OWeakObject* >(this));
- //@todo check wether aLocation is something like private:factory...
+ //@todo check whether aLocation is something like private:factory...
if( m_bReadOnly )
throw io::IOException( C2U( "document is read only" ), static_cast< ::cppu::OWeakObject* >(this));
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index c19335435224..4f8162acb37c 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -161,7 +161,7 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis(
if( xProp.is() && !( xProp->getPropertyValue( C2U( "NumberFormat" ) ) >>= nNumberFormatKey ) )
{
bool bFormatSet = false;
- //check wether we have a percent scale -> use percent format
+ //check whether we have a percent scale -> use percent format
if( xNumberFormatsSupplier.is() )
{
ScaleData aData = AxisHelper::getDateCheckedScale( xAxis, Reference< frame::XModel >( xNumberFormatsSupplier, uno::UNO_QUERY ) );
diff --git a/chart2/source/view/axes/VAxisProperties.hxx b/chart2/source/view/axes/VAxisProperties.hxx
index 9e57ee4b5c65..3cb8de727ed3 100644
--- a/chart2/source/view/axes/VAxisProperties.hxx
+++ b/chart2/source/view/axes/VAxisProperties.hxx
@@ -86,7 +86,7 @@ struct AxisLabelProperties
double fRotationAngleDegree;
sal_Int32 nRhythm; //show only each nth label with n==nRhythm
- bool bRhythmIsFix; //states wether the given rhythm is fix or may be changed
+ bool bRhythmIsFix; //states whether the given rhythm is fix or may be changed
//methods:
void init( const ::com::sun::star::uno::Reference<
diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx
index 2beca1158479..b7dc757a6486 100644
--- a/chart2/source/view/charttypes/BarChart.cxx
+++ b/chart2/source/view/charttypes/BarChart.cxx
@@ -586,7 +586,7 @@ void BarChart::createShapes()
bDrawConnectionLines = false;
if( bDrawConnectionLines && pSeriesList->size()==1 )
{
- //detect wether we have a stacked chart or not:
+ //detect whether we have a stacked chart or not:
StackingDirection eDirection = pSeries->getStackingDirection();
if( eDirection != StackingDirection_Y_STACKING )
bDrawConnectionLines = false;
diff --git a/chart2/source/view/charttypes/BarChart.hxx b/chart2/source/view/charttypes/BarChart.hxx
index 93816beb33ae..68a8db8af201 100644
--- a/chart2/source/view/charttypes/BarChart.hxx
+++ b/chart2/source/view/charttypes/BarChart.hxx
@@ -80,7 +80,7 @@ private: //methods
, double fScaledLowerBarDepth, double fScaledUpperBarDepth, double fBaseValue
, BarPositionHelper* pPosHelper ) const;
- virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates wether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
+ virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates whether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
void adaptOverlapAndGapwidthForGroupBarsPerAxis();
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 6af1d3d11445..82cec0cc9bf3 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -447,7 +447,7 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
m_pShapeFactory->createGroup2D( this->getLabelsGroupShape(rDataSeries, xTarget)
, ObjectIdentifier::createPointCID( rDataSeries.getLabelCID_Stub(),nPointIndex ) ) );
- //check wether the label needs to be created and how:
+ //check whether the label needs to be created and how:
DataPointLabel* pLabel = rDataSeries.getDataPointLabelIfLabel( nPointIndex );
if( !pLabel )
@@ -1113,7 +1113,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes(
chart2::RelativePosition aRelativePosition;
if( xEquationProperties->getPropertyValue( C2U("RelativePosition")) >>= aRelativePosition )
{
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
double fX = aRelativePosition.Primary*m_aPageReferenceSize.Width;
double fY = aRelativePosition.Secondary*m_aPageReferenceSize.Height;
aScreenPosition2D.X = static_cast< sal_Int32 >( ::rtl::math::round( fX ));
diff --git a/chart2/source/view/inc/VCoordinateSystem.hxx b/chart2/source/view/inc/VCoordinateSystem.hxx
index f4b5e380d8b0..4efe6288873f 100644
--- a/chart2/source/view/inc/VCoordinateSystem.hxx
+++ b/chart2/source/view/inc/VCoordinateSystem.hxx
@@ -165,7 +165,7 @@ protected: //member
rtl::OUString m_aCooSysParticle;
- typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates wether this is a main or secondary axis
+ typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates whether this is a main or secondary axis
//
::com::sun::star::uno::Reference<
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index a7738e7f54f4..55e0a9692172 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -218,7 +218,7 @@ private: //member
::com::sun::star::chart2::StackingDirection m_eStackingDirection;
- sal_Int32 m_nAxisIndex;//indicates wether this is attached to a main or secondary axis
+ sal_Int32 m_nAxisIndex;//indicates whether this is attached to a main or secondary axis
sal_Bool m_bConnectBars;
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index 53cabce9ecc4..00996a11a12f 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -407,7 +407,7 @@ protected: //methods
, const tPropertyNameMap& rMap
, tPropertyNameValueMap* pOverwriteMap=0 );
- virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates wether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
+ virtual PlottingPositionHelper& getPlottingPositionHelper( sal_Int32 nAxisIndex ) const;//nAxisIndex indicates whether the position belongs to the main axis ( nAxisIndex==0 ) or secondary axis ( nAxisIndex==1 )
VDataSeries* getFirstSeries() const;
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 1750879eaef0..9297cef1b779 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -443,7 +443,7 @@ VCoordinateSystem* lcl_getCooSysForPlotter( const std::vector< VCoordinateSystem
return 0;
}
-typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates wether this is a main or secondary axis
+typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates whether this is a main or secondary axis
typedef std::pair< VCoordinateSystem* , tFullAxisIndex > tFullCoordinateSystem;
typedef std::map< VCoordinateSystem*, tFullAxisIndex > tCoordinateSystemMap;
@@ -1881,7 +1881,7 @@ awt::Rectangle ExplicitValueProvider::addAxisTitleSizes(
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
if( pExplicitValueProvider )
{
- //detect wether x axis points into x direction or not
+ //detect whether x axis points into x direction or not
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
{
std::swap( xTitle_Height, xTitle_Width );
@@ -1948,7 +1948,7 @@ awt::Rectangle ExplicitValueProvider::substractAxisTitleSizes(
ExplicitValueProvider* pExplicitValueProvider = ExplicitValueProvider::getExplicitValueProvider(xChartView);
if( pExplicitValueProvider )
{
- //detect wether x axis points into x direction or not
+ //detect whether x axis points into x direction or not
if( lcl_getPropertySwapXAndYAxis( ChartModelHelper::findDiagram( xChartModel ) ) )
{
std::swap( xTitle_Height, xTitle_Width );
@@ -2046,7 +2046,7 @@ bool getAvailablePosAndSizeForDiagram(
chart2::RelativePosition aRelativePosition;
if( xProp.is() && (xProp->getPropertyValue( C2U( "RelativePosition" ) )>>=aRelativePosition) )
{
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
//the coordinates re relative to the page
double fX = aRelativePosition.Primary*rPageSize.Width;
@@ -2178,7 +2178,7 @@ std::auto_ptr<VTitle> lcl_createTitle( TitleHelper::eTitleType eType
{
rbAutoPosition = false;
- //@todo decide wether x is primary or secondary
+ //@todo decide whether x is primary or secondary
double fX = aRelativePosition.Primary*rPageSize.Width;
double fY = aRelativePosition.Secondary*rPageSize.Height;
diff --git a/chart2/source/view/main/ChartView.hxx b/chart2/source/view/main/ChartView.hxx
index a7aec605e89b..32beb467e791 100644
--- a/chart2/source/view/main/ChartView.hxx
+++ b/chart2/source/view/main/ChartView.hxx
@@ -235,7 +235,7 @@ private: //member
::cppu::OMultiTypeInterfaceContainerHelper
m_aListenerContainer;
- bool volatile m_bViewDirty; //states wether the view needs to be rebuild
+ bool volatile m_bViewDirty; //states whether the view needs to be rebuild
bool volatile m_bInViewUpdate;
bool volatile m_bViewUpdatePending;
bool volatile m_bRefreshAddIn;
diff --git a/chart2/source/view/main/Clipping.cxx b/chart2/source/view/main/Clipping.cxx
index 667e9544a123..d2fc334de1cb 100644
--- a/chart2/source/view/main/Clipping.cxx
+++ b/chart2/source/view/main/Clipping.cxx
@@ -113,7 +113,7 @@ bool lcl_clip2d(B2DTuple& rPoint0, B2DTuple& rPoint1, const B2DRectangle& rRecta
double fTE = 0,
fTL = 1;
- // Test wether at least a part lies in the four half-planes with respect to
+ // Test whether at least a part lies in the four half-planes with respect to
// the rectangles four edges.
if( lcl_CLIPt(aDirection.getX(), rRectangle.getMinX() - rPoint0.getX(), fTE, fTL) )
if( lcl_CLIPt(-aDirection.getX(), rPoint0.getX() - rRectangle.getMaxX(), fTE, fTL) )
diff --git a/chart2/source/view/main/PolarLabelPositionHelper.cxx b/chart2/source/view/main/PolarLabelPositionHelper.cxx
index c62215b2efc2..dbce1afba98d 100644
--- a/chart2/source/view/main/PolarLabelPositionHelper.cxx
+++ b/chart2/source/view/main/PolarLabelPositionHelper.cxx
@@ -94,7 +94,7 @@ awt::Point PolarLabelPositionHelper::getLabelScreenPositionAndAlignmentForUnitCi
if(3==m_nDimensionCount && nLabelPlacement == ::com::sun::star::chart::DataLabelPlacement::OUTSIDE)
{
- //check wether the upper or the downer edge is more distant from the center
+ //check whether the upper or the downer edge is more distant from the center
//take the farest point to put the label to
awt::Point aP0( this->transformSceneToScreenPosition(
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx
index 469ab95f50d0..bd575c284a3d 100644
--- a/chart2/source/view/main/VLegend.cxx
+++ b/chart2/source/view/main/VLegend.cxx
@@ -358,7 +358,7 @@ awt::Size lcl_placeLegendEntries(
nCurrentColumn++;
if( nCurrentColumn < nCurrentColumnCount )
{
- //check wether the current column width is sufficient for the new entry
+ //check whether the current column width is sufficient for the new entry
if( aColumnWidths[nCurrentColumn]>=nNewWidth )
{
//all good proceed with next entry
diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx
index 75b5d0d8a70d..835feccd200f 100644
--- a/cui/source/inc/dlgname.hxx
+++ b/cui/source/inc/dlgname.hxx
@@ -62,7 +62,7 @@ public:
void GetName( String& rName ){rName = aEdtName.GetText();}
/** add a callback Link that is called whenever the content of the edit
- field is changed. The Link result determines wether the OK
+ field is changed. The Link result determines whether the OK
Button is enabled (> 0) or disabled (== 0).
@param rLink a Callback declared with DECL_LINK and implemented with
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index 0dd607380983..d56ec090f1fc 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -616,7 +616,7 @@ IMPL_LINK(SvxEditDictionaryDialog, NewDelHdl, PushButton*, pBtn)
{
// make changes in dic
- //! ...IsVisible should reflect wether the dictionary is a negativ
+ //! ...IsVisible should reflect whether the dictionary is a negativ
//! or not (hopefully...)
sal_Bool bIsNegEntry = aReplaceFT.IsVisible();
::rtl::OUString aRplcText;
diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx
index 4cbd6f14ace9..428f2ef88401 100644
--- a/dbaccess/source/ui/app/subcomponentmanager.cxx
+++ b/dbaccess/source/ui/app/subcomponentmanager.cxx
@@ -168,7 +168,7 @@ namespace dbaui
xController.set( xFrame->getController(), UNO_SET_THROW );
}
- // check wether there is a model (not required)
+ // check whether there is a model (not required)
xModel.set( xController->getModel() );
}
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index 261b4e6507a3..f6989c119109 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -685,7 +685,7 @@ sal_Bool XPlugin_Impl::provideNewStream(const OUString& mimetype,
OString aURL = OUStringToOString( url, m_aEncoding );
- // check wether there is a notifylistener for this stream
+ // check whether there is a notifylistener for this stream
// this means that the strema is created from the plugin
// via NPN_GetURLNotify or NPN_PostURLNotify
std::list<PluginEventListener*>::iterator iter;
diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx
index c1bb3a37972f..3f60c4c91597 100644
--- a/io/test/stm/pumptest.cxx
+++ b/io/test/stm/pumptest.cxx
@@ -380,7 +380,7 @@ void OPumpTest::testTerminate( const Reference< XInterface > &r )
ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" );
ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" );
// terminte leads to an error, that is no surprise, in fact
- // one can't tell wether the error occurs because of the terminate
+ // one can't tell whether the error occurs because of the terminate
// call or for some other reason !
// ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" );
ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" );
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index ab15529fc16b..899999d5f339 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -841,7 +841,7 @@ class ServiceManagerFactory implements XServiceInfo, XSingleComponentFactory, X
}
/**
- * Checks wether or not a service is supported.
+ * Checks whether or not a service is supported.
* <p>
* @return true - if the service is supported, otherwise false.
* @param serviceName the name of the service that should be checked.
diff --git a/l10ntools/source/tagtest.cxx b/l10ntools/source/tagtest.cxx
index 8238308c5b35..23b5bae2ac99 100644
--- a/l10ntools/source/tagtest.cxx
+++ b/l10ntools/source/tagtest.cxx
@@ -458,7 +458,7 @@ sal_Bool TokenInfo::MatchesTranslation( TokenInfo& rInfo, sal_Bool bGenErrors, P
{
// check if tags are equal
// check if all existing properties are in the translation as well and
- // wether they have a matching content (the same in most cases)
+ // whether they have a matching content (the same in most cases)
if ( nId != rInfo.nId )
return sal_False;
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index c4994ae66830..e281f1f88d15 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -132,7 +132,7 @@ sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale)
sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale & )
{
- // Checks wether a word is OK in a given language (Locale) or not, and
+ // Checks whether a word is OK in a given language (Locale) or not, and
// provides a failure type for the incorrect ones.
// - words with "liss" (case sensitiv) as substring will be negative.
// - words with 'x' or 'X' will have incorrect spelling.
diff --git a/odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java b/odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java
index 60f46b54eca1..a8ae5f468417 100644
--- a/odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java
+++ b/odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java
@@ -50,7 +50,7 @@ interface IFormComponentAction
class ComponentTreeTraversal implements IFormComponentAction
{
/* ------------------------------------------------------------------ */
- /** Indicator method to decide wether to step down the tree.
+ /** Indicator method to decide whether to step down the tree.
<p>The default implementation checks if the container given is a grid
control model or a <service scope="com.sun.star.form">FormComponents</service>
diff --git a/offapi/com/sun/star/chart/XAxisSupplier.idl b/offapi/com/sun/star/chart/XAxisSupplier.idl
index a1aada8f7d3f..8e1f2715c5f8 100644
--- a/offapi/com/sun/star/chart/XAxisSupplier.idl
+++ b/offapi/com/sun/star/chart/XAxisSupplier.idl
@@ -42,7 +42,7 @@ interface XAxisSupplier : ::com::sun::star::uno::XInterface
the primary axis of the specified dimension. The returned object supports service <type>ChartAxis</type>.
@param nDimensionIndex
- Parameter nDimensionIndex says wether it is a x, y or z-axis (0 for x).
+ Parameter nDimensionIndex says whether it is a x, y or z-axis (0 for x).
*/
com::sun::star::chart::XAxis getAxis( [in] long nDimensionIndex );
@@ -50,7 +50,7 @@ interface XAxisSupplier : ::com::sun::star::uno::XInterface
the secondary axis of the specified dimension. The returned object supports service <type>ChartAxis</type>.
@param nDimensionIndex
- Parameter nDimensionIndex says wether it is a x, y or z-axis (0 for x).
+ Parameter nDimensionIndex says whether it is a x, y or z-axis (0 for x).
*/
com::sun::star::chart::XAxis getSecondaryAxis( [in] long nDimensionIndex );
};
diff --git a/offapi/com/sun/star/chart2/ScaleData.idl b/offapi/com/sun/star/chart2/ScaleData.idl
index 0bb2f839ae07..c63096e5a83f 100644
--- a/offapi/com/sun/star/chart2/ScaleData.idl
+++ b/offapi/com/sun/star/chart2/ScaleData.idl
@@ -73,7 +73,7 @@ struct ScaleData
*/
boolean AutoDateAxis;
- /** describes wether data points on category or date axis are placed between tickmarks or not
+ /** describes whether data points on category or date axis are placed between tickmarks or not
if true the maximum on the scale will be expanded for one interval
*/
boolean ShiftedCategoryPosition;
diff --git a/psprint_config/configuration/psprint.conf b/psprint_config/configuration/psprint.conf
index 0906a85ae0eb..cbc4164b5273 100644
--- a/psprint_config/configuration/psprint.conf
+++ b/psprint_config/configuration/psprint.conf
@@ -24,7 +24,7 @@
; if key is absent the default is 24
; ColorDepth=24
-; ColorDevice: the default setting wether the device is color capable
+; ColorDevice: the default setting whether the device is color capable
; possible values: 0: driver setting, -1: grey scale, 1: color
; if key is absent the default is 0
; ColorDepth=0
@@ -46,7 +46,7 @@
; Note: the following two key types are in the global section to provide
; defaults for newly added printers.
-; PerformFontSubstitution: wether to replace downloadable fonts
+; PerformFontSubstitution: whether to replace downloadable fonts
; with resident fonts or not
PerformFontSubstitution=false
@@ -98,7 +98,7 @@ Command=
; and therefore the application should not show its own dialog.
;Features=
-; PerformFontSubstitution: wether to replace downloadable fonts
+; PerformFontSubstitution: whether to replace downloadable fonts
; with resident fonts or not
PerformFontSubstitution=false
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx
index 3b2a4b785818..e62563e80afc 100644
--- a/pyuno/inc/pyuno/pyuno.hxx
+++ b/pyuno/inc/pyuno/pyuno.hxx
@@ -51,7 +51,7 @@ namespace pyuno
/** Helper class for keeping references to python objects.
BEWARE: Look up every python function you use to check
- wether you get an acquired or not acquired object pointer
+ whether you get an acquired or not acquired object pointer
(python terminus for a not acquired object pointer
is 'borrowed reference'). Use in the acquired pointer cases the
PyRef( pointer, SAL_NO_ACQUIRE) ctor.
diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx
index d3f96413d893..487bbafbb2ed 100644
--- a/reportdesign/source/core/sdr/UndoEnv.cxx
+++ b/reportdesign/source/core/sdr/UndoEnv.cxx
@@ -343,7 +343,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
implSetModified();
// now we have access to the cached info about the property affected
- // and are able to decide wether or not we need an undo action
+ // and are able to decide whether or not we need an undo action
// no UNDO for transient/readonly properties
if ( aPropertyPos->second.bIsReadonlyOrTransient )
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 82fd8d2fbc74..f662d6baf545 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -152,7 +152,7 @@ static BOOL IsValidFilePathComponent(
lpComponentEnd = lpCurrent;
}
- /* Test wether the component specifies a device name what is not allowed */
+ /* Test whether the component specifies a device name what is not allowed */
// MT: PERFORMANCE:
// This is very expensive. A lot of calls to _tcsicmp.
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 61b2e3d14291..2cb4b67ee113 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -574,7 +574,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq )
{
//we start without wizard
- //check wether we should load a template document
+ //check whether we should load a template document
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx
index e087d9ca4be0..20013b00a3bc 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -290,7 +290,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
::ucbhelper::Content aContent = ::ucbhelper::Content (aId, mxEntryEnvironment);
if (aContent.isDocument ())
{
- // Check wether the entry is an impress template. If so
+ // Check whether the entry is an impress template. If so
// add a new entry to the resulting list (which is created
// first if necessary).
if ( (sContentType == MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE)
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index c3ecb9581306..7bd7480cafa1 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -629,7 +629,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
UpdatePreview( sal_True );
- //check wether we should start with a template document initialy and preselect it
+ //check whether we should start with a template document initialy and preselect it
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
if( aStandardTemplate.Len() )
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 5c7e0df2f0f5..68c6f19cc594 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -361,7 +361,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
bool bSetToAllPages = false;
- // Ask, wether the setting are for the background-page or for the current page
+ // Ask, whether the setting are for the background-page or for the current page
if( !mbMasterPage && bChanges )
{
// But don't ask in notice-view, because we can't change the background of
diff --git a/sd/source/ui/inc/TemplateScanner.hxx b/sd/source/ui/inc/TemplateScanner.hxx
index a746df784849..6ed38ecbd102 100644
--- a/sd/source/ui/inc/TemplateScanner.hxx
+++ b/sd/source/ui/inc/TemplateScanner.hxx
@@ -161,7 +161,7 @@ public:
*/
const TemplateEntry* GetLastAddedEntry (void) const;
- /** Set wether to sort the template entries inside the regions.
+ /** Set whether to sort the template entries inside the regions.
*/
void EnableEntrySorting (bool isEntrySortingEnabled = true)
{mbEntrySortingEnabled = isEntrySortingEnabled;}
diff --git a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
index 1788557196ce..138353ee0d0b 100644
--- a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
+++ b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
@@ -77,7 +77,7 @@ public:
*/
virtual sal_Int32 GetPreferredHeight (sal_Int32 nWidth) = 0;
- /** Return wether the window is generally resizable. When used by
+ /** Return whether the window is generally resizable. When used by
a VerticalLayouter then the width will always be resized and
the return value of this method determines whether the height
may be modified as well.
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
index e0f519860cad..5c9ed7cc96b5 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
@@ -93,7 +93,7 @@ protected:
virtual void SAL_CALL onTerminated (void);
private:
- /** Flag that indicates wether the onTerminated method has been already
+ /** Flag that indicates whether the onTerminated method has been already
called. If so then a subsequent call to detach deletes the thread.
*/
volatile bool mbIsTerminated;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
index c6faee310cd7..afa7781c5f96 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
@@ -155,7 +155,7 @@ private:
/** Remember the specified page. If it differs from mpDescriptor then
the buttons are placed anew.
@return
- The returned flag indicates wether the mpDescriptor member
+ The returned flag indicates whether the mpDescriptor member
is set to a new value.
*/
bool SetPage (const model::SharedPageDescriptor& rpDescriptor);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
index a8f49f027e88..0fe470c5f4ca 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
@@ -55,7 +55,7 @@ public:
enum ResetMode { RM_Normal, RM_AbortAnimations };
/** Restore the normal position of all page objects.
@param eMode
- This flag controls wether to start an animation that ends in the
+ This flag controls whether to start an animation that ends in the
normal positions of all slides (AM_Animated) or to restore the
normal positions immediately (AM_Immediate).
*/
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index c8101f9a23bf..5f74b65369d3 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -991,7 +991,7 @@ void WriterXmlFinalizer::visit( ParagraphElement& elem, const std::list< Element
}
// check whether to leave some space to next paragraph
- // find wether there is a next paragraph
+ // find whether there is a next paragraph
std::list< Element* >::const_iterator it = rParentIt;
const ParagraphElement* pNextPara = NULL;
while( ++it != elem.Parent->Children.end() && ! pNextPara )
diff --git a/sfx2/qa/complex/sfx2/DocumentInfo.java b/sfx2/qa/complex/sfx2/DocumentInfo.java
index ca7ae8b1dda0..edbd3138b46c 100755
--- a/sfx2/qa/complex/sfx2/DocumentInfo.java
+++ b/sfx2/qa/complex/sfx2/DocumentInfo.java
@@ -64,7 +64,7 @@ public class DocumentInfo
{
m_xMSF = getMSF();
- System.out.println("check wether there is a valid MultiServiceFactory");
+ System.out.println("check whether there is a valid MultiServiceFactory");
assertNotNull("## Couldn't get MultiServiceFactory make sure your Office is started", m_xMSF);
diff --git a/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java b/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java
index 41bd66ccb5b9..c455952c7508 100755
--- a/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java
+++ b/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java
@@ -63,7 +63,7 @@ public class GlobalEventBroadcaster {
@Before public void initialize() {
m_xMSF = getMSF();
- System.out.println("check wether there is a valid MultiServiceFactory");
+ System.out.println("check whether there is a valid MultiServiceFactory");
assertNotNull("## Couldn't get MultiServiceFactory make sure your Office is started", m_xMSF);
@@ -83,7 +83,7 @@ public class GlobalEventBroadcaster {
System.out.println("... done");
- System.out.println("check wether the created instance is valid");
+ System.out.println("check whether the created instance is valid");
assertNotNull("couldn't create service", GlobalEventBroadcaster);
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 1f722c0d9903..e517432d3deb 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1506,7 +1506,7 @@ void SfxDispatcher::_Update_Impl( sal_Bool bUIActive, sal_Bool bIsMDIApp, sal_Bo
if ( nFeature && !pShell->HasUIFeature( nFeature ) )
continue;
- // slot decides wether a ChildWindow is shown when document is OLE server or OLE client
+ // slot decides whether a ChildWindow is shown when document is OLE server or OLE client
sal_uInt16 nMode = SFX_VISIBILITY_STANDARD;
if( pSlot )
{
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 6b00c4442383..cb24cffbb7df 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -597,7 +597,7 @@ void FileDialogHelper_Impl::updatePreviewState( sal_Bool _bUpdatePreviewWindow )
{
uno::Reference< XFilePickerControlAccess > xCtrlAccess( mxFileDlg, UNO_QUERY );
- // check, wether or not we have to display a preview
+ // check, whether or not we have to display a preview
if ( xCtrlAccess.is() )
{
try
@@ -1550,7 +1550,7 @@ ErrCode FileDialogHelper_Impl::execute( std::vector<rtl::OUString>& rpURLList,
if ( rpURLList.empty() )
return ERRCODE_ABORT;
- // check, wether or not we have to display a password box
+ // check, whether or not we have to display a password box
if ( pCurrentFilter && mbHasPassword && mbIsPwdEnabled && xCtrlAccess.is() )
{
try
diff --git a/sfx2/source/doc/docinsert.cxx b/sfx2/source/doc/docinsert.cxx
index d40f65a48a12..2969f4a39cd6 100644
--- a/sfx2/source/doc/docinsert.cxx
+++ b/sfx2/source/doc/docinsert.cxx
@@ -192,7 +192,7 @@ IMPL_LINK( DocumentInserter, DialogClosedHdl, sfx2::FileDialogHelper*, EMPTYARG
TemplateDescription::FILESAVE_AUTOEXTENSION_PASSWORD == nDlgType
|| TemplateDescription::FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS == nDlgType );
- // check, wether or not we have to display a password box
+ // check, whether or not we have to display a password box
if ( bHasPassword && m_pFileDlg->IsPasswordEnabled() )
{
try
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index f140aa6a4eec..e2733a6484ae 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -2243,7 +2243,7 @@ sal_Bool getTextProperty_Impl( Content& rContent,
{
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
- // check, wether or not the property exists
+ // check, whether or not the property exists
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
{
return sal_False;
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index f620bc3b72d8..24b7f7600c8a 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -1031,7 +1031,7 @@ sal_Bool SfxDocTplService_Impl::setProperty( Content& rContent,
Any aPropValue( rPropValue );
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
- // check, wether or not the property exists, create it, when not
+ // check, whether or not the property exists, create it, when not
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
{
uno::Reference< XPropertyContainer > xProperties( rContent.get(), UNO_QUERY );
@@ -1102,7 +1102,7 @@ sal_Bool SfxDocTplService_Impl::getProperty( Content& rContent,
{
uno::Reference< XPropertySetInfo > aPropInfo = rContent.getProperties();
- // check, wether or not the property exists
+ // check, whether or not the property exists
if ( !aPropInfo.is() || !aPropInfo->hasPropertyByName( rPropName ) )
{
return sal_False;
@@ -1511,7 +1511,7 @@ sal_Bool SfxDocTplService_Impl::addGroup( const OUString& rGroupName )
{
::osl::MutexGuard aGuard( maMutex );
- // Check, wether or not there is a group with this name
+ // Check, whether or not there is a group with this name
Content aNewGroup;
OUString aNewGroupURL;
INetURLObject aNewGroupObj( maRootURL );
@@ -1805,7 +1805,7 @@ sal_Bool SfxDocTplService_Impl::storeTemplate( const OUString& rGroupName,
{
::osl::MutexGuard aGuard( maMutex );
- // Check, wether or not there is a group with this name
+ // Check, whether or not there is a group with this name
// Return false, if there is no group with the given name
Content aGroup, aTemplate, aTargetGroup, aTemplateToRemove;
OUString aGroupURL, aTemplateURL, aTemplateToRemoveTargetURL;
@@ -1997,7 +1997,7 @@ sal_Bool SfxDocTplService_Impl::addTemplate( const OUString& rGroupName,
{
::osl::MutexGuard aGuard( maMutex );
- // Check, wether or not there is a group with this name
+ // Check, whether or not there is a group with this name
// Return false, if there is no group with the given name
Content aGroup, aTemplate, aTargetGroup;
OUString aGroupURL, aTemplateURL;
@@ -2147,7 +2147,7 @@ sal_Bool SfxDocTplService_Impl::removeTemplate( const OUString& rGroupName,
{
::osl::MutexGuard aGuard( maMutex );
- // Check, wether or not there is a group with this name
+ // Check, whether or not there is a group with this name
// Return false, if there is no group with the given name
Content aGroup, aTemplate;
OUString aGroupURL, aTemplateURL;
@@ -2200,7 +2200,7 @@ sal_Bool SfxDocTplService_Impl::renameTemplate( const OUString& rGroupName,
{
::osl::MutexGuard aGuard( maMutex );
- // Check, wether or not there is a group with this name
+ // Check, whether or not there is a group with this name
// Return false, if there is no group with the given name
Content aGroup, aTemplate;
OUString aGroupURL, aTemplateURL;
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 3dbacca32ecf..28906a9bf25e 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -733,7 +733,7 @@ void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject
if ( rObject.is() )
{
- // as soon as an object was connected to a client it has to be checked wether the object wants
+ // as soon as an object was connected to a client it has to be checked whether the object wants
// to be activated
rObject->addStateChangeListener( uno::Reference < embed::XStateChangeListener >( m_pImp->m_xClient, uno::UNO_QUERY ) );
rObject->addEventListener( uno::Reference < document::XEventListener >( m_pImp->m_xClient, uno::UNO_QUERY ) );
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index af22c83a823d..62e11ba75bdf 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -2177,7 +2177,7 @@ sal_Bool SfxViewFrame::SwitchToViewShell_Impl
OSL_PRECOND( pOldSh, "SfxViewFrame::SwitchToViewShell_Impl: that's called *switch* (not for *initial-load*) for a reason" );
if ( pOldSh )
{
- // ask wether it can be closed
+ // ask whether it can be closed
if ( !pOldSh->PrepareClose( sal_True ) )
return sal_False;
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 70d0d140f433..66cf7ad61563 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1465,7 +1465,7 @@ sal_Bool SfxViewShell::HasSelection( sal_Bool ) const
With this virtual Method can a for example a Dialog be queried, to
check if something is selected in the current view. If the Parameter
- is <BOOL> TRUE then it is checked wether some text is selected.
+ is <BOOL> TRUE then it is checked whether some text is selected.
*/
{
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 988eefdc22d5..912132103cdd 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -132,7 +132,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
// DESKTOP_LAUNCH, see http://freedesktop.org/pipermail/xdg/2004-August/004489.html
static const char *pDesktopLaunch = getenv( "DESKTOP_LAUNCH" );
- // Check wether aCommand contains a document url or not
+ // Check whether aCommand contains a document url or not
sal_Int32 nIndex = aCommand.indexOf( OUString( RTL_CONSTASCII_USTRINGPARAM(":/") ) );
if( nIndex > 0 || 0 == aCommand.compareToAscii("mailto:", 7) )
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx
index 76e25279fb55..b97e00305e36 100644
--- a/starmath/inc/caret.hxx
+++ b/starmath/inc/caret.hxx
@@ -365,7 +365,7 @@ private:
* For up and down movement, we also iterator over all caret positions and use SmCaretPos2LineVisitor
* to find a line for each caret position. Then we compute the distance from the current
* caret position to every other caret position and chooses the one closest that is either
- * above or below the current caret position, depending on wether we're doing up or down movement.
+ * above or below the current caret position, depending on whether we're doing up or down movement.
*
* This result of this approach to caret movement is that we have logically predictable
* movement for left and right, whilst leftclick, up and down movement depends on the sizes
diff --git a/svtools/inc/svtools/valueset.hxx b/svtools/inc/svtools/valueset.hxx
index 2448c7cf8c3f..059cdf260a8c 100644
--- a/svtools/inc/svtools/valueset.hxx
+++ b/svtools/inc/svtools/valueset.hxx
@@ -62,7 +62,7 @@ class ValueSet
This class allows the selection of an item. In the process items are
drawn side by side. The selection of items can be more clear than in a
ListBox shape for example in case of colors or samples.
-The amount of columns drawn by the control and wether the items
+The amount of columns drawn by the control and whether the items
should be encircled can be specified. Optional a NoSelection or name
field could be shown. By default image and color items are supported.
Items could be drawn by oneself if InsertItem() is only called with
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index c645a67b8b2b..f23b5e01f2bb 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -128,7 +128,7 @@ uno::Reference<XAccessible>
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IndexOutOfBoundsException)
{
- // Check wether the given index is valid.
+ // Check whether the given index is valid.
if (nIndex < 0 || (unsigned long)nIndex >= maVisibleChildren.size())
throw lang::IndexOutOfBoundsException (
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index b1cb2a0b4723..c43fb4e3ba69 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -276,7 +276,7 @@ public:
@param pReplacement
The replacement for the current child.
@return
- The returned value indicates wether the replacement has been
+ The returned value indicates whether the replacement has been
finished successfully.
*/
virtual sal_Bool ReplaceChild (
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 3c2d093aad16..07d67717f511 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -672,7 +672,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt)
}
// now we have access to the cached info about the property affected
- // and are able to decide wether or not we need an undo action
+ // and are able to decide whether or not we need an undo action
bool bAddUndoAction = rModel.IsUndoEnabled();
// no UNDO for transient/readonly properties
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index 2cea7e800e21..befc7d567853 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -1209,7 +1209,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( sal_uInt16 nAbsAvail, sal_uInt16 nRelAv
nAbsTabWidth = IsTopTable() ? MAX_TABWIDTH : nAbsAvail;
nRelTabWidth = (nRelAvail ? nRelAvail : nAbsTabWidth );
- // First of all, we check wether we can fit the layout constrains,
+ // First of all, we check whether we can fit the layout constrains,
// which are: Every cell's width excluding the borders must be at least
// MINLAY:
diff --git a/sw/source/ui/inc/swuiidxmrk.hxx b/sw/source/ui/inc/swuiidxmrk.hxx
index 5a673c5c304d..b728c41dac15 100644
--- a/sw/source/ui/inc/swuiidxmrk.hxx
+++ b/sw/source/ui/inc/swuiidxmrk.hxx
@@ -110,7 +110,7 @@ class SwIndexMarkDlg : public Window
sal_Bool bPhoneticED1_ChangedByUser;
sal_Bool bPhoneticED2_ChangedByUser;
LanguageType nLangForPhoneticReading; //Language of current text used for phonetic reading proposal
- sal_Bool bIsPhoneticReadingEnabled; //this value states wether phopentic reading is enabled in principle dependend of global cjk settings and language of current entry
+ sal_Bool bIsPhoneticReadingEnabled; //this value states whether phonetic reading is enabled in principle dependent of global cjk settings and language of current entry
com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedIndexEntrySupplier >
xExtendedIndexEntrySupplier;
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 72b26395db6d..2cc0c93afa28 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -947,7 +947,7 @@ void SwIndexMarkDlg::UpdateDialog()
}
/*--------------------------------------------------------------------
- Remind wether the edit boxes for Phonetic reading are changed manually
+ Remind whether the edit boxes for Phonetic reading are changed manually
--------------------------------------------------------------------*/
IMPL_LINK( SwIndexMarkDlg, PhoneticEDModifyHdl, Edit *, pEdit )
{
diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx
index 83ba82daada6..4888bb6093c6 100644
--- a/tools/inc/tools/debug.hxx
+++ b/tools/inc/tools/debug.hxx
@@ -249,7 +249,7 @@ inline sal_uIntPtr DbgIsErrorOut()
return sal_False;
}
-inline sal_uIntPtr DbgGetErrorOut() // Testtool: test wether to collect OSL_ASSERTions as well
+inline sal_uIntPtr DbgGetErrorOut() // Testtool: test whether to collect OSL_ASSERTions as well
{
DbgData* pData = DbgGetData();
if ( pData )
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index c1203f5697c4..b32a8b6b11ef 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -383,7 +383,7 @@ void SAL_CALL CachedContentResultSetStub
if(!bFirstPropagationDone)
{
- //check wether the properties 'FetchSize' and 'FetchDirection' do exist
+ //check whether the properties 'FetchSize' and 'FetchDirection' do exist
Reference< XPropertySetInfo > xPropertySetInfo = getPropertySetInfo();
sal_Bool bHasSize = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchSize );
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 18bffcbd7c7a..816703a84b7d 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -920,7 +920,7 @@ static sal_Bool UCBOpenContentSync(
if(xContId.is())
aScheme = xContId->getContentProviderScheme();
- // now determine wether we use a timeout or not;
+ // now determine whether we use a timeout or not;
if( ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("http")) &&
! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("https")) &&
! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.webdav")) &&
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx
index b4a5a4b3828b..cf45f7f25ce2 100644
--- a/vcl/generic/fontmanager/fontmanager.cxx
+++ b/vcl/generic/fontmanager/fontmanager.cxx
@@ -673,7 +673,7 @@ bool PrintFontManager::PrintFont::readAfmMetrics( const OString& rFileName, Mult
else if( m_aEncoding == RTL_TEXTENCODING_DONTKNOW )
m_aEncoding = RTL_TEXTENCODING_ADOBE_STANDARD;
- // try to parse the font name and decide wether it might be a
+ // try to parse the font name and decide whether it might be a
// japanese font. Who invented this PITA ?
OUString aPSNameLastToken( aPSName.copy( aPSName.lastIndexOf( '-' )+1 ) );
if( ! aPSNameLastToken.compareToAscii( "H" ) ||
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index f4b2c6f8d8f8..6a983ec92af6 100644
--- a/vcl/inc/vcl/outdev.hxx
+++ b/vcl/inc/vcl/outdev.hxx
@@ -879,7 +879,7 @@ public:
the OutDevViewType should be set to 'OUTDEV_VIEWTYPE_PRINTPREVIEW'.
A View than can make painting decisions dependent on this OutDevViewType.
- E.g. text colors need to be handled different, dependent on wether it's a PrintPreview or not. (see #106611# for more)
+ E.g. text colors need to be handled different, dependent on whether it's a PrintPreview or not. (see #106611# for more)
*/
void SetOutDevViewType( OutDevViewType eOutDevViewType ) { meOutDevViewType=eOutDevViewType; }
OutDevViewType GetOutDevViewType() const { return meOutDevViewType; }
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 662701b88c9f..0dfe4de63a44 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -236,7 +236,7 @@ void Window::ImplInitAppFontData( Window* pWindow )
// platforms
if( pSVData->maNWFData.mbNoFocusRects )
{
- // try to find out wether there is a large correction
+ // try to find out whether there is a large correction
// of control sizes, if yes, make app font scalings larger
// so dialog positioning is not completely off
ImplControlValue aControlValue;
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index d557b88f7096..0bb3527cd6cd 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3019,7 +3019,7 @@ int SelectionManager::getXdndVersion( XLIB_Window aWindow, XLIB_Window& rProxy )
pBytes = NULL;
if( rProxy != None )
{
- // now check proxy wether it points to itself
+ // now check proxy whether it points to itself
XGetWindowProperty( m_pDisplay, rProxy, m_nXdndProxy, 0, 1, False, XA_WINDOW,
&nType, &nFormat, &nItems, &nBytes, &pBytes );
if( pBytes )
diff --git a/wizards/com/sun/star/wizards/ui/SortingComponent.java b/wizards/com/sun/star/wizards/ui/SortingComponent.java
index 48ac44bc167f..e24ef336decf 100644
--- a/wizards/com/sun/star/wizards/ui/SortingComponent.java
+++ b/wizards/com/sun/star/wizards/ui/SortingComponent.java
@@ -266,7 +266,7 @@ public class SortingComponent
SortFieldNames.add(new String[]{CurFieldName,iCurState == 1 ? PropertyNames.ASC :"DESC" });
}
}
- // When searching for a duplicate entry we can neglect wether the entries are to be sorted ascending or descending
+ // When searching for a duplicate entry we can neglect whether the entries are to be sorted ascending or descending
// TODO for the future we should deliver a messagebox when two different sorting modes have been applied to one field
int iduplicate = JavaTools.getDuplicateFieldIndex(SortDescriptions.toArray(new String[SortDescriptions.size()]));
if (iduplicate != -1)
diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx
index af50fc5df26c..249cbdbb4fd9 100644
--- a/xmloff/source/chart/SchXMLChartContext.hxx
+++ b/xmloff/source/chart/SchXMLChartContext.hxx
@@ -138,7 +138,7 @@ private:
/** @descr This method bundles some settings to the chart model and executes them with
a locked controller. This includes setting the chart type.
@param aServiceName The name of the service the diagram is initialized with.
- @param bSetWitchData Indicates wether the data set takes it's data series from
+ @param bSetWitchData Indicates whether the data set takes it's data series from
rows or from columns.
*/
void InitChart (const ::rtl::OUString & rChartTypeServiceName,
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 0610e7a7edbb..9b2cb9dad1b3 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -360,7 +360,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer"))));
DBG_ASSERT( xWriter.is(), "com.sun.star.xml.sax.Writer service missing" );
- // check wether there's already a sub storage with the version info
+ // check whether there's already a sub storage with the version info
// and delete it
OUString sVerName( RTL_CONSTASCII_USTRINGPARAM( XMLN_VERSIONSLIST ) );
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index e7c48f2f84c3..771ae5fc02cf 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -436,7 +436,7 @@ void XMLStyleExport::exportStyleFamily(
xStyles,pPrefix );
if( bUsed && bFirstStyle && bExported )
{
- // If this is the first style, find out wether next styles
+ // If this is the first style, find out whether next styles
// are supported.
Reference< XPropertySet > xPropSet( xStyle, UNO_QUERY );
Reference< XPropertySetInfo > xPropSetInfo =