Fix typos

Change-Id: Ibe3cd52117f7f47e1806bde76114cb1644d78763
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100969
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2020-08-19 15:37:24 +02:00
parent d10e8fb979
commit dd2b321012
10 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -1027,7 +1027,7 @@ void XclExpCachedMatrix::Save( XclExpStream& rStrm ) const
// in BIFF2-BIFF7: 256 columns represented by 0 columns
rStrm << static_cast< sal_uInt8 >( nCols ) << static_cast< sal_uInt16 >( nRows );
else
// in BIFF8: columns and rows decreaed by 1
// in BIFF8: columns and rows decreased by 1
rStrm << static_cast< sal_uInt8 >( nCols - 1 ) << static_cast< sal_uInt16 >( nRows - 1 );
for( SCSIZE nRow = 0; nRow < nRows; ++nRow )
+2 -2
View File
@@ -375,7 +375,7 @@ void XclImpHFConverter::ParseString( const OUString& rHFString )
mxFontData->mnEscapem = (mxFontData->mnEscapem == EXC_FONTESC_SUPER) ?
EXC_FONTESC_NONE : EXC_FONTESC_SUPER;
break;
case 'Y': // subsrcipt
case 'Y': // subscript
SetAttribs();
mxFontData->mnEscapem = (mxFontData->mnEscapem == EXC_FONTESC_SUB) ?
EXC_FONTESC_NONE : EXC_FONTESC_SUB;
@@ -828,7 +828,7 @@ XclImpCachedMatrix::XclImpCachedMatrix( XclImpStream& rStrm ) :
}
else
{
// in BIFF8: columns and rows decreaed by 1
// in BIFF8: columns and rows decreased by 1
++mnScCols;
++mnScRows;
}
+1 -1
View File
@@ -623,7 +623,7 @@ double HeaderFooterParser::parse( const Reference<sheet::XHeaderFooterContent>&
setAttributes();
maFontModel.mnEscapement = (maFontModel.mnEscapement == XML_superscript) ? XML_baseline : XML_superscript;
break;
case 'Y': // subsrcipt
case 'Y': // subscript
setAttributes();
maFontModel.mnEscapement = (maFontModel.mnEscapement == XML_subscript) ? XML_baseline : XML_subscript;
break;
+1 -1
View File
@@ -378,7 +378,7 @@ void PivotTableField::importPTReferenceItem( SequenceInputStream& rStrm )
void PivotTableField::finalizeImport( const Reference< XDataPilotDescriptor >& rxDPDesc )
{
/* Process all fields based on source data, other fields (e.g. group
fields) are processed from here. PivotCacahe::getDatabaseIndex()
fields) are processed from here. PivotCache::getCacheDatabaseIndex()
returns -1 for all fields not based on source data. */
Reference< XDataPilotField > xDPField;
sal_Int32 nDatabaseIdx = mrPivotTable.getCacheDatabaseIndex( mnFieldIndex );
+1 -1
View File
@@ -130,7 +130,7 @@ namespace calc
css::table::CellRangeAddress
getRangeAddress( ) const;
/** retrievs the text of a cell within our range
/** retrieves the text of a cell within our range
@param _nRangeRelativeRow
the relative row index of the cell within our range
@param pAny
+1 -1
View File
@@ -1744,7 +1744,7 @@ void ScStyleObj::setPropertyValue_Impl( const OUString& rPropertyName, const Sfx
ScDocument& rDoc = pDocShell->GetDocument();
if ( eFamily == SfxStyleFamily::Para )
{
// If we are loading, we can delay line height calculcation, because we are going to re-calc all of those
// If we are loading, we can delay line height calculation, because we are going to re-calc all of those
// after load.
if (pDocShell && !pDocShell->IsLoading())
{
@@ -54,7 +54,7 @@ import java.util.StringTokenizer;
/**
* The <code>ParcelContainer</code> object is used to store the
* ScripingFramework specific Libraries.
* ScriptingFramework specific Libraries.
*/
public class ParcelContainer implements XNameAccess {
-1
View File
@@ -213,7 +213,6 @@ namespace basprov
if ( m_sScriptingContext.startsWith( "vnd.sun.star.tdoc" ) )
{
xModel = MiscUtils::tDocUrlToModel( m_sScriptingContext );
// TODO: use ScriptingContantsPool for SCRIPTING_DOC_REF
}
}
+1 -1
View File
@@ -820,7 +820,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider* pBuProv, sal_Int1
// Our numbullet dialog has set the wrong textencoding for our "StarSymbol" font,
// instead of a Unicode encoding the encoding RTL_TEXTENCODING_SYMBOL was used.
// Because there might exist a lot of damaged documemts I added this two lines
// Because there might exist a lot of damaged documents I added this two lines
// which fixes the bullet problem for the export.
if ( aFontDesc.Name.equalsIgnoreAsciiCase("StarSymbol") )
aFontDesc.CharSet = RTL_TEXTENCODING_MS_1252;
+1 -1
View File
@@ -1474,7 +1474,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
pDispat->SetReadOnly_Impl( bIsReadOnly );
// Only force and Dispatcher-Update, if it is done next
// anyway, otherwise flickering or GPF is possibel since
// anyway, otherwise flickering or GPF is possible since
// the Writer for example prefers in Resize perform some
// actions which has a SetReadOnlyUI in Dispatcher as a
// result!