From 64d624b65124ac02d8ee59b135593fd9d8eb9067 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 9 Jan 2016 22:55:28 +0100 Subject: Fix typos Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins Reviewed-by: Ashod Nakashian --- svtools/source/config/fontsubstconfig.cxx | 2 +- svtools/source/contnr/treelistbox.cxx | 2 +- svtools/source/control/ctrltool.cxx | 2 +- svtools/source/dialogs/wizardmachine.cxx | 2 +- svtools/source/filter/exportdialog.cxx | 2 +- svtools/source/graphic/grfmgr.cxx | 2 +- svtools/source/misc/transfer.cxx | 2 +- svtools/source/svhtml/parhtml.cxx | 2 +- svtools/source/table/tablecontrol.cxx | 2 +- svtools/source/table/tablecontrol_impl.hxx | 2 +- svtools/source/uno/unoiface.cxx | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) (limited to 'svtools') diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx index 6437788eb113..0ebdb68eb6cc 100644 --- a/svtools/source/config/fontsubstconfig.cxx +++ b/svtools/source/config/fontsubstconfig.cxx @@ -164,7 +164,7 @@ void SvtFontSubstConfig::Apply() { OutputDevice::BeginFontSubstitution(); - // remove old substitions + // remove old substitutions sal_uInt16 nOldCount = OutputDevice::GetFontSubstituteCount(); while (nOldCount) diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 0397aed3c281..05ee850a4933 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -20,7 +20,7 @@ /* TODO: - delete anchor in SelectionEngine when selecting manually - - SelectAll( false ) => only repaint the delselected entries + - SelectAll( false ) => only repaint the deselected entries */ #include diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index a973ebdf9e07..fcaac738b646 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -733,7 +733,7 @@ const sal_IntPtr* FontList::GetSizeAry( const FontMetric& rInfo ) const const_cast(this)->mpSizeAry = nullptr; } - // use standarad sizes if no name + // use standard sizes if no name if ( rInfo.GetName().isEmpty() ) return aStdSizeAry; diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx index f987cbd28b80..b1f08ef15160 100644 --- a/svtools/source/dialogs/wizardmachine.cxx +++ b/svtools/source/dialogs/wizardmachine.cxx @@ -357,7 +357,7 @@ namespace svt // reset the WB_DEFBUTTON for every window which is a button implResetDefault(this); - // set it's new style + // set its new style if (_pNewDefButton) _pNewDefButton->SetStyle(_pNewDefButton->GetStyle() | WB_DEFBUTTON); } diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 6ae9509b8025..227f83d47b84 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -586,7 +586,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara, GetGraphicSource(); get(mpInfo, "information"); - get(mpFtEstimatedSize, "estsizeft");; + get(mpFtEstimatedSize, "estsizeft"); get(mpBtnOK, "ok"); diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index eef174cba873..40b601ea09ce 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -823,7 +823,7 @@ Graphic GraphicObject::GetTransformedGraphic( const Size& rDestSize, const MapMo && aSrcSizePixel.Width()) { // the size in pixels calculated from Graphic's internal MapMode (aTransGraphic.GetPrefMapMode()) - // and it's internal size (aTransGraphic.GetPrefSize()) is different from it's real pixel size. + // and it's internal size (aTransGraphic.GetPrefSize()) is different from its real pixel size. // This can be interpreted as this values to be set wrong, but needs to be corrected since e.g. // existing cropping is calculated based on this logic values already. // aBitmapEx.Scale(aSrcSizePixel); diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index e8a900d8b4fc..0371ea8276eb 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -1585,7 +1585,7 @@ bool TransferableDataHelper::GetString( const DataFlavor& rFlavor, OUString& rSt const sal_Char* pChars = reinterpret_cast< const sal_Char* >( aSeq.getConstArray() ); sal_Int32 nLen = aSeq.getLength(); - //JP 10.10.2001: 92930 - don't copy the last zero characterinto the string. + //JP 10.10.2001: 92930 - don't copy the last zero character into the string. //DVO 2002-05-27: strip _all_ trailing zeros while( nLen && ( 0 == *( pChars + nLen - 1 ) ) ) --nLen; diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index 3f156b7f8629..801e4e00ae68 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -1445,7 +1445,7 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken ) // Actually only certain characters allowed. // Netscape only looks for "=" and white space (c.f. - // Mozilla: PA_FetchRequestedNameValues in lipparse/pa_mdl.c) + // Mozilla: PA_FetchRequestedNameValues in libparse/pa_mdl.c) while( nPos < aToken.getLength() && '=' != (cChar=aToken[nPos]) && HTML_ISPRINTABLE(cChar) && !HTML_ISSPACE(cChar) ) nPos++; diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index 1f5061153597..b30d5836504e 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -315,7 +315,7 @@ namespace svt { namespace table aRetText = "ColumnHeaderBar"; break; case TCTYPE_TABLECELL: - //the name of the cell constists of column name and row name if defined + //the name of the cell consists of column name and row name if defined //if the name is equal to cell content, it'll be read twice if(GetModel()->hasColumnHeaders()) { diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index eb34cda6d2fe..0a71f8e44960 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -178,7 +178,7 @@ namespace svt { namespace table the row position which should be visibleMust be non-negative, and smaller than the row count. @param _bAcceptPartialVisibility - if it's okay that the given cooordinate is only partially visible + if it's okay that the given coordinate is only partially visible */ void ensureVisible( ColPos _nColumn, RowPos _nRow, bool _bAcceptPartialVisibility ); diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index 7946fda76724..f8a7b3f1e7da 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -514,7 +514,7 @@ void SAL_CALL VCLXMultiLineEdit::setFocus( ) throw(css::uno::RuntimeException, SolarMutexGuard aGuard; // don't grab the focus if we already have it. Reason is that the only thing which the edit - // does is forwarding the focus to it's text window. This text window then does a "select all". + // does is forwarding the focus to its text window. This text window then does a "select all". // So if the text window already has the focus, and we give the focus to the multi line // edit, then all which happens is that everything is selected. // #i27072# @@ -907,7 +907,7 @@ void SVTXFormattedField::setProperty( const OUString& PropertyName, const css::u // no double if (Value.hasValue()) { // but a value - // try if it is something converitble + // try if it is something convertible sal_Int32 nValue = 0; if (!(Value >>= nValue)) throw css::lang::IllegalArgumentException(); -- cgit