diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-06-15 12:17:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-06-16 10:59:53 +0000 |
commit | 9b7e1bf43dcb25acabc15fb2bfb30e2a1dd249df (patch) | |
tree | 633f51fcef822ad4cf4b00688dcfa66e962c6d1d | |
parent | -fsanitize=nonnull-attribute (diff) | |
download | core-9b7e1bf43dcb25acabc15fb2bfb30e2a1dd249df.tar.gz core-9b7e1bf43dcb25acabc15fb2bfb30e2a1dd249df.zip |
Fix typos
Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41
Reviewed-on: https://gerrit.libreoffice.org/16295
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
25 files changed, 25 insertions, 25 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 9c340239773e..1d06e969676b 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -50,7 +50,7 @@ using namespace ::com::sun::star::uno; MacroChooser::MacroChooser( vcl::Window* pParnt, bool bCreateEntries ) : SfxModalDialog(pParnt, "BasicMacroDialog", "modules/BasicIDE/ui/basicmacrodialog.ui") , bNewDelIsDel(true) - // the Sfx doesn't aske the BasicManger whether modified or not + // the Sfx doesn't ask the BasicManger whether modified or not // => start saving in case of a change without a into the BasicIDE. , bForceStoreBasic(false) , nMode(All) diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 9b4481b56089..ea0e70776566 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -450,7 +450,7 @@ void CuiAboutConfigTabPage::AddToModifiedVector( const boost::shared_ptr< Prop_I { if( rProp->Name == m_vectorOfModified[nInd]->Name && rProp->Property == m_vectorOfModified[nInd]->Property ) { - //property modified before. assing reference to the modified value + //property modified before. Assign reference to the modified value //do your changes on this object. They will be saved later. m_vectorOfModified[nInd] = rProp; isModifiedBefore = true; diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 4c687b06bca0..a101bd81dd22 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -2898,7 +2898,7 @@ OUString OQueryDesignView::getStatement() bUseAlias = bUseAlias || !xMeta->supportsGroupByUnrelated(); aSqlCmd.append(GenerateGroupBy(this,rFieldList,bUseAlias)); - // ----------------- construct GroupBy and attachen ------------ + // ----------------- construct GroupBy and attach ------------ if(!aHavingStr.isEmpty()) { aSqlCmd.append(" HAVING "); diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index a7491b8ea185..7378033f01c9 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -139,7 +139,7 @@ void Acceptor::initialize( const Sequence<Any>& aArguments ) // arg count int nArgs = aArguments.getLength(); - // not yet initialized and acceptstring + // not yet initialized and accept-string if (!m_bInit && nArgs > 0 && (aArguments[0] >>= m_aAcceptString)) { SAL_INFO( "desktop.offacc", "Acceptor::initialize string=" << m_aAcceptString ); diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx index 2b6419d74b2f..66bd119f59fc 100644 --- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx +++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx @@ -58,7 +58,7 @@ namespace drawinglayer */ bool mbUseInvisiblePrimitiveContent : 1; - /// flag to concentraze on text hits only + /// flag to concentrate on text hits only bool mbHitTextOnly : 1; /// If we are tiled rendering. diff --git a/include/jvmfwk/framework.h b/include/jvmfwk/framework.h index 59ffb20670a8..2908eb535f8d 100644 --- a/include/jvmfwk/framework.h +++ b/include/jvmfwk/framework.h @@ -163,7 +163,7 @@ extern "C" { <dd>This is a unofficial variable which was introduced to workaround external issues. It may be removed in the future. By setting it to 1, the framework will not try to find out if the system is configured to use accessibility tools or if a JRE has an - accessibiliy bridge installed</dd> + accessible bridge installed</dd> <dt>JFW_PLUGIN_FORCE_ACCESSIBILITY</dt> <dd>This is a unofficial variable which was introduced to workaround external issues. It may be removed in the future. By setting it to 1, the framework will override a diff --git a/odk/docs/tools.html b/odk/docs/tools.html index ced7036d2740..1e62a5fc6318 100644 --- a/odk/docs/tools.html +++ b/odk/docs/tools.html @@ -700,7 +700,7 @@ types the specified types depend on.</p> </tr> <tr> <td class="cell15"><code>add-on</code></td> - <td class="cell85">generates a language specific code skeleton for an add-on compnent using the implementation name as the file and class name. The protocol name(s) and the corresponding command(s) have to be specified with the '-p' option.</td> + <td class="cell85">generates a language specific code skeleton for an add-on component using the implementation name as the file and class name. The protocol name(s) and the corresponding command(s) have to be specified with the '-p' option.</td> </tr> </table> <p class="head2">Options:</p> diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index c9a12edbb634..172556fa9d80 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -445,7 +445,7 @@ void ScConditionEntry::SetIgnoreBlank(bool bSet) } /** - * Delete formula cells, so we re-complile at the next IsValid + * Delete formula cells, so we re-compile at the next IsValid */ void ScConditionEntry::CompileAll() { diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 586a2364b4ee..6ed2d7e03266 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -2109,7 +2109,7 @@ void ScFormatShell::GetAttrState( SfxItemSet& rSet ) rSet.Put( aItem ); rSet.InvalidateItem(SID_FRAME_LINESTYLE); } - else // all the lines have same style or no line availavle, use initial value (0,0,0,0) + else // all the lines have same style or no line available, use initial value (0,0,0,0) { SvxLineItem aItem(SID_FRAME_LINESTYLE); aItem.SetLine(&aLine); diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index d00898d7b82d..c93b1475de42 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -640,7 +640,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, bCommon = aAttrTester.NeedsCellAttr(); // formulas have to be recognized even if they're formatted - // (but commmon attributes are still collected) + // (but common attributes are still collected) if ( !bSimple && aEngine.GetParagraphCount() == 1 ) { diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 0450ef24d044..3373adecc4b3 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -1731,7 +1731,7 @@ AssistentDlg::AssistentDlg(vcl::Window* pParent, bool bAutoPilot) : Link<> aFinishLink = LINK(this,AssistentDlg, FinishHdl); mpImpl = new AssistentDlgImpl( this, aFinishLink, bAutoPilot ); - // button assigmnent + // button assignment mpImpl->mpFinishButton->SetClickHdl(LINK(this,AssistentDlg,FinishHdl)); } diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index ca08f6f4d73a..9423b791a88c 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -1008,7 +1008,7 @@ IMPL_LINK_TYPED( SfxSplitWindow, TimerHdl, Timer*, pTimer, void) if ( pEmptyWin->bEndAutoHide ) { - // As far as I am concered this can be the end of AutoShow + // As far as I am concerned this can be the end of AutoShow // But maybe some other SfxSplitWindow will remain open, // then all others remain open too. if ( !pWorkWin->IsAutoHideMode( this ) ) diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index de483e5d196a..884987899a7e 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1453,7 +1453,7 @@ void SmCursor::EndEdit(){ //Anyway comments elsewhere suggests it need to be updated... pDocShell->nModifyCount++; - //TODO: Consider copying the update accessability code from SmDocShell::SetText in here... + //TODO: Consider copying the update accessibility code from SmDocShell::SetText in here... //This somehow updates the size of SmGraphicView if it is running in embedded mode if( pDocShell->GetCreateMode() == SfxObjectCreateMode::EMBEDDED ) pDocShell->OnDocumentPrinterChanged(0); diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index 3e34b50b9a0a..43787391ced6 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -115,7 +115,7 @@ private: short nAmPm; // +1 AM, -1 PM, 0 if none short nLogical; // -1 => False, 1 => True sal_uInt16 nThousand; // Count of group (AKA thousand) separators - sal_uInt16 nPosThousandString; // Position of concatenaded 000,000,000 string + sal_uInt16 nPosThousandString; // Position of concatenated 000,000,000 string short eScannedType; // Scanned type short eSetType; // Preset Type diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx index 13bf60501787..b408b7ec5990 100644 --- a/svx/source/sdr/properties/measureproperties.cxx +++ b/svx/source/sdr/properties/measureproperties.cxx @@ -106,7 +106,7 @@ namespace sdr GetObjectItemSet(); //#71958# by default, the show units Bool-Item is set as hard - // attribute to sal_True to aviod confusion when copying SdrMeasureObj's + // attribute to sal_True to avoid confusion when copying SdrMeasureObj's // from one application to another mpItemSet->Put(makeSdrMeasureShowUnitItem(true)); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index f516aaf6d61d..319678a06ed8 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1206,7 +1206,7 @@ void SAL_CALL SvxShape::setSize( const awt::Size& rSize ) if( mpObj.is() && mpModel) { // #i123539# optimization for 3D chart object generation: do not use UNO - // API commmands to get the range, this is too expensive since for 3D + // API commands to get the range, this is too expensive since for 3D // scenes it may recalculate the whole scene since in AOO this depends // on the contained geometry (layouted to show all content) const bool b3DConstruction(dynamic_cast< E3dObject* >(mpObj.get()) && mpModel->isLocked()); diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index a4b0de5698b0..e8d4298712c0 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -1131,7 +1131,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume (void)nCurValuesSeqLen; nDirection = 0; // default direction for a single cell should be 'columns' } - else // more than one cell is availabale (in values and label together!) + else // more than one cell is available (in values and label together!) { if (nFirstCol == nLastCol && nFirstRow != nLastRow) nDirection = 1; diff --git a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx index 243c3bf7428a..94f7356a4cbf 100644 --- a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx +++ b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx @@ -38,7 +38,7 @@ namespace sw { namespace sidebarwindows { // declaration and implementation of <SvxEditSource> -// for <::accessibiliy::AccessibleTextHelper> instance +// for <::accessibility::AccessibleTextHelper> instance class SidebarTextEditSource : public SvxEditSource, public SfxBroadcaster { diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 8d87dea14a5f..a7eff04a42e5 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1451,7 +1451,7 @@ void ControlContainerBase::ImplSetPosSize( Reference< XControl >& rxCtrl ) } sal_Int16 nH = aFM.Ascent + aFM.Descent; - sal_Int16 nW = nH/2; // calculate avarage width?! + sal_Int16 nW = nH/2; // calculate avarege width?! nX *= nW; nX /= 4; diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index a6e2c19fd611..3494813c16c1 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -2277,7 +2277,7 @@ bool Content::loadData( if ( xPackagePropSet.is() ) { - // HasEncryptedEntries ( only avalibale at root folder ) + // HasEncryptedEntries (only available at root folder) try { uno::Any aHasEncryptedEntries diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx index 7aea7b2e5606..06153d15a900 100644 --- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx +++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx @@ -44,7 +44,7 @@ static const char usageText[] = " using the implementation name as the file and class name. A \n" " service type is necessary, referencing an interface which defines\n" " the new add-in functions.\n" -" add-on generates a language specific code skeleton for an add-on compnent\n" +" add-on generates a language specific code skeleton for an add-on component\n" " using the implementation name as the file and class name. The protocol\n" " name(s) and the corresponding command(s) have to be specified with the\n" " '-p' option.\n" diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 3216d90d549d..d8053c40b55b 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -625,7 +625,7 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId ) else pPage->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() ); - // activate page here so the conbtrols can be switched + // activate page here so the controls can be switched // also set the help id of the parent window to that of the tab page if ( GetHelpId().isEmpty() ) { diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index d0fdb7a8571c..2ea3e1c9fb51 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -5297,7 +5297,7 @@ ImplHandleGetObject(HWND hWnd, LPARAM lParam, WPARAM wParam, LRESULT & nRet) ImplSVData* pSVData = ImplGetSVData(); - // Make sure to launch Accessibiliity only the following criteria are satisfied + // Make sure to launch Accessibility only the following criteria are satisfied // to avoid RFT interrupts regular accessibility processing if ( !pSVData->mxAccessBridge.is() ) { diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 01bbb77dd3f9..8394c954d2ee 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -4460,7 +4460,7 @@ void DomainMapper_Impl::StartOrEndBookmark( const OUString& rId ) /* * Add the dummy paragraph to handle section properties * iff the first element in the section is a table. If the dummy para is not added yet, then add it; - * So bookmark is not attched to the wrong paragraph. + * So bookmark is not attached to the wrong paragraph. */ if(getTableManager( ).isInCell() && m_nTableDepth == 0 && GetIsFirstParagraphInSection() && !GetIsDummyParaAddedForTableInSection() &&!GetIsTextFrameInserted()) diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index ac75ea87747d..9469e6f6ead4 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -654,7 +654,7 @@ void XSecController::endMission() ( m_vInternalSignatureInformations[i].xReferenceResolvedListener, cssu::UNO_QUERY ); /* - * askes the SignatureCreator/SignatureVerifier to release + * asks the SignatureCreator/SignatureVerifier to release * all resources it uses. */ xMissionTaker->endMission(); |