diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index d53a6cbaca29..0acab303de87 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -583,7 +583,7 @@ int ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) if( chart2::AxisType::REALNUMBER != m_nAxisType ) aCbxLogarithm.Show( false ); - //check wich entries need user action + //check which entries need user action if ( aCbxLogarithm.IsChecked() && ( ( !aCbxAutoMin.IsChecked() && fMin <= 0.0 ) diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index 8d4b3bae6677..9dc31b17363a 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -551,7 +551,7 @@ OUString ObjectIdentifier::createParticleForLegend( OUStringBuffer aRet; Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) ); - //todo: if more than one diagram is implemeted, find the correct diagram wich is owner of the given legend + //todo: if more than one diagram is implemeted, find the correct diagram which is owner of the given legend aRet.append( ObjectIdentifier::createParticleForDiagram( xDiagram, xChartModel ) ); aRet.appendAscii(":"); diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index c231110384f7..55ebf3c109eb 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -1472,7 +1472,7 @@ void VCartesianAxis::createMaximumLabels() pTickFactory2D->updateScreenValues( m_aAllTickInfos ); //create tick mark text shapes - //@todo: iterate through all tick depth wich should be labeled + //@todo: iterate through all tick depth which should be labeled AxisLabelProperties aAxisLabelProperties( m_aAxisLabelProperties ); if( isAutoStaggeringOfLabelsAllowed( aAxisLabelProperties, pTickFactory2D->isHorizontalAxis(), pTickFactory2D->isVerticalAxis() ) ) diff --git a/chart2/source/view/axes/VPolarAngleAxis.cxx b/chart2/source/view/axes/VPolarAngleAxis.cxx index 981a9b6311d7..64688b4f7907 100644 --- a/chart2/source/view/axes/VPolarAngleAxis.cxx +++ b/chart2/source/view/axes/VPolarAngleAxis.cxx @@ -176,7 +176,7 @@ void VPolarAngleAxis::createLabels() boost::scoped_ptr< TickFactory > apTickFactory( this->createTickFactory() ); //create tick mark text shapes - //@todo: iterate through all tick depth wich should be labeled + //@todo: iterate through all tick depth which should be labeled EquidistantTickIter aTickIter( m_aAllTickInfos, m_aIncrement, 0, 0 ); this->updateUnscaledValuesAtTicks( aTickIter ); diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx index 0c846535f98f..5dd6dae8059d 100644 --- a/chart2/source/view/inc/PlottingPositionHelper.hxx +++ b/chart2/source/view/inc/PlottingPositionHelper.hxx @@ -137,7 +137,7 @@ protected: //member bool m_bAllowShiftZAxisPos; }; -//describes wich axis of the drawinglayer scene or sreen axis are the normal axis +//describes which axis of the drawinglayer scene or sreen axis are the normal axis enum NormalAxis { NormalAxis_X diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 811a7de04a2d..18339acfea38 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -169,7 +169,7 @@ const tMakePropertyNameMap& PropertyMapper::getPropertyNameMapForCharacterProper tMakePropertyNameMap ( "CharColor", "CharColor" ) ( "CharContoured", "CharContoured" ) - ( "CharEmphasis", "CharEmphasis" )//the service style::CharacterProperties describes a property called 'CharEmphasize' wich is nowhere implemented + ( "CharEmphasis", "CharEmphasis" )//the service style::CharacterProperties describes a property called 'CharEmphasize' which is nowhere implemented ( "CharFontFamily", "CharFontFamily" ) ( "CharFontFamilyAsian", "CharFontFamilyAsian" ) diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx index 568efef4daa5..c6d967e17a03 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx @@ -73,7 +73,7 @@ namespace connectivity OConnection* m_pConnection; rtl_TextEncoding m_nTextEncoding; sal_Int32 m_nRowPos; - sal_Int32 m_nDriverColumnCount; // column count of the driver wich can sometimes be less than the metadata count + sal_Int32 m_nDriverColumnCount; // column count of the driver which can sometimes be less than the metadata count SQLRETURN m_nCurrentFetchState; sal_Bool m_bWasNull; sal_Bool m_bEOF; // after last record diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index 9851c518db7f..f4fcf5298118 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -46,7 +46,7 @@ #include "hlmarkwn.hxx" #include "iconcdlg.hxx" -/// ComboBox-Control, wich is filled with all current framenames +/// ComboBox-Control, which is filled with all current framenames class SvxFramesComboBox : public ComboBox { public: diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx index 6bd1a66f76b6..0f5dc7e24c49 100644 --- a/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/dbaccess/source/ui/inc/JoinTableView.hxx @@ -193,7 +193,7 @@ namespace dbaui /** how many connection belongs to single table @param _pFromWin the table for which connections should be found - @return the count of connections wich belongs to this table + @return the count of connections which belongs to this table */ sal_Int32 getConnectionCount(const OTableWindow* _pFromWin) const; diff --git a/desktop/test/deployment/version/readme.txt b/desktop/test/deployment/version/readme.txt index 81073d9827be..6135d08a2629 100644 --- a/desktop/test/deployment/version/readme.txt +++ b/desktop/test/deployment/version/readme.txt @@ -68,7 +68,7 @@ Things to watch for: "OK" (replace) preselected if x < y, and "Cancel" otherwise. - If replacing an installed version x of an extension e with a version y fails - because y has unsatisfied dependencies, or because y has a license to wich the + because y has unsatisfied dependencies, or because y has a license to which the user does not agree, version x is left installed afterwards. - Checking for already installed versions of an extension is only done within a diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 180d122dcc59..c9e7a6ca8bb9 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1613,7 +1613,7 @@ namespace /** This is the main interpreter method. It is designed to handle the given Metafile completely inside the given context and target. It may use and modify the context and - target. This design allows to call itself recursively wich adapted contexts and + target. This design allows to call itself recursively which adapted contexts and targets as e.g. needed for the META_FLOATTRANSPARENT_ACTION where the content is expressed as a metafile as sub-content. diff --git a/extensions/source/bibliography/bibtools.hxx b/extensions/source/bibliography/bibtools.hxx index 137f535d07e3..60526e20b78c 100644 --- a/extensions/source/bibliography/bibtools.hxx +++ b/extensions/source/bibliography/bibtools.hxx @@ -26,7 +26,7 @@ namespace bib // source in bibbeam.cxx void HandleTaskPaneList( Window* pWindow, sal_Bool bAddToList ); - // pWindow: just an system window or something wich is child of a system window + // pWindow: just an system window or something which is child of a system window inline void AddToTaskPaneList( Window* pWindowToBeHandled ) { diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index 6023fcbf742f..25bc0f92d6b8 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -823,7 +823,7 @@ sal_Bool BibGeneralPage::HandleShortCutKey( const KeyEvent& rKeyEvent ) DBG_ASSERT( aControls[ nCtrlIndex ].is(), "-BibGeneralPage::HandleShortCutKey(): valid index and no control?" ); uno::Reference< awt::XControl > xControl( aControls[ nCtrlIndex ], UNO_QUERY ); - DBG_ASSERT( xControl.is(), "-BibGeneralPage::HandleShortCutKey(): a control wich is not a control!" ); + DBG_ASSERT( xControl.is(), "-BibGeneralPage::HandleShortCutKey(): a control which is not a control!" ); Window* pWindow = VCLUnoHelper::GetWindow( xControl->getPeer() ); diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx index ace03a37d1d0..376be4d4be22 100644 --- a/extensions/source/propctrlr/selectlabeldialog.cxx +++ b/extensions/source/propctrlr/selectlabeldialog.cxx @@ -100,7 +100,7 @@ namespace pcr // and insert all entries below this root into the listbox if (xSearch.is()) { - // check wich service the allowed components must suppport + // check which service the allowed components must suppport sal_Int16 nClassId = 0; try { nClassId = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); } catch(...) { } m_sRequiredService = (FormComponentType::RADIOBUTTON == nClassId) ? OUString(SERVICE_COMPONENT_GROUPBOX) : OUString(SERVICE_COMPONENT_FIXEDTEXT); diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx index fe2f84acebd7..52d7efe0f092 100644 --- a/filter/source/graphicfilter/epict/epict.cxx +++ b/filter/source/graphicfilter/epict/epict.cxx @@ -65,7 +65,7 @@ class PictWriter { private: sal_Bool bStatus; - sal_uLong nLastPercent; // with wich number pCallback has been called the last time + sal_uLong nLastPercent; // with which number pCallback has been called the last time com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > xStatusIndicator; SvStream * pPict; diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 330f7c0158eb..58766138bc1e 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4831,7 +4831,7 @@ sal_uInt32 EscherEx::EnterGroup( const OUString& rShapeName, const Rectangle* pB AddAtom( 16, ESCHER_Spgr, 1 ); PtReplaceOrInsert( ESCHER_Persist_Grouping_Snap | mnGroupLevel, mpOutStrm->Tell() ); - *mpOutStrm << (sal_Int32)aRect.Left() // Bounding box for the grouped shapes the wich they will be attached + *mpOutStrm << (sal_Int32)aRect.Left() // Bounding box for the grouped shapes to which they will be attached << (sal_Int32)aRect.Top() << (sal_Int32)aRect.Right() << (sal_Int32)aRect.Bottom(); @@ -4881,7 +4881,7 @@ sal_Bool EscherEx::SetGroupSnapRect( sal_uInt32 nGroupLevel, const Rectangle& rR sal_uInt32 nCurrentPos = mpOutStrm->Tell(); if ( DoSeek( ESCHER_Persist_Grouping_Snap | ( nGroupLevel - 1 ) ) ) { - *mpOutStrm << (sal_Int32)rRect.Left() // Bounding box for the grouped shapes the wich they will be attached + *mpOutStrm << (sal_Int32)rRect.Left() // Bounding box for the grouped shapes to which they will be attached << (sal_Int32)rRect.Top() << (sal_Int32)rRect.Right() << (sal_Int32)rRect.Bottom(); diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx index 467922818e1c..a6a38bbd76d2 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx @@ -261,7 +261,7 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex * @see enableControl() * * @param nFeatures - * flag field(!) knows all features wich must be enabled. + * flag field(!) knows all features which must be enabled. */ void impl_sta_enableFeatures(::sal_Int32 nFeatures, ::sal_Int32 nTemplate); diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx index a2f680ca5e93..e2af1bd0db2f 100644 --- a/framework/inc/helper/persistentwindowstate.hxx +++ b/framework/inc/helper/persistentwindowstate.hxx @@ -121,7 +121,7 @@ class PersistentWindowState : // interfaces needed to create needed uno resources. @param xFrame - contains the component, wich must be identified. + contains the component, which must be identified. @return [string] a module identifier for the current frame component. diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index 47e96470f7a4..b6ac8255951e 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -139,7 +139,7 @@ class TitleBarUpdate : // interfaces of our frame. @param xFrame - contains the component, wich must be identified. + contains the component, which must be identified. @param rInfo describe the module in its details. diff --git a/framework/inc/macros/debug/assertion.hxx b/framework/inc/macros/debug/assertion.hxx index e650288fa956..4f2a413f9941 100644 --- a/framework/inc/macros/debug/assertion.hxx +++ b/framework/inc/macros/debug/assertion.hxx @@ -33,7 +33,7 @@ // 2) LOGFILE_ASSERTIONS use it to define the file name to log assertions if LOGTYPE=LOGTYPE_FILE... // 3) LOGFILE_WARNINGS use it to define the file name to log warnings if LOGTYPE=LOGTYPE_FILE... // active for "non product": -// 4) LOG_ASSERT( BCONDITION, STEXT ) assert some critical errors wich depend from given condition +// 4) LOG_ASSERT( BCONDITION, STEXT ) assert some critical errors which depend from given condition // 4a) LOG_ASSERT2( BCONDITION, SMETHOD, STEXT ) same like 4) + additional location of error // 5) LOG_ERROR( SMETHOD, STEXT ) show errors without any condition // active for debug only! diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index debd3ee6012c..03ed3520bc8c 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -467,7 +467,7 @@ public class EventTest { /** * Creates an instacne of this class. The parameter eType represents - * the kind of event wich will be triggert at run() + * the kind of event which will be triggert at run() * @param model the model of a document * @param eType the kind of event which should be trigger */ @@ -478,7 +478,7 @@ public class EventTest { } /** - * Triggers the event wich is represented by eventType + * Triggers the event which is represented by eventType * The scenarios are: *