diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-05-14 14:15:38 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-17 12:38:38 +0000 |
commit | 3c1e30b77df4f34c4954bff37a08439ace7f2434 (patch) | |
tree | a5231657e37e3b2efb2ba438c43561bf5f27649c /sc/source | |
parent | f62de9113a4866f7152acbe0e8221c594b7a7b68 (diff) |
Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/cellform.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/excel/xltools.cxx | 30 | ||||
-rw-r--r-- | sc/source/filter/oox/numberformatsbuffer.cxx | 8 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlnexpi.cxx | 2 |
5 files changed, 21 insertions, 25 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 534ae823acae..073508af58cf 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -1295,7 +1295,7 @@ void ScDrawLayer::CopyToClip( ScDocument* pClipDoc, SCTAB nTab, const Rectangle& pNewObject->SetPage(pDestPage); uno::Reference< chart2::XChartDocument > xOldChart( ScChartHelper::GetChartFromSdrObject( pOldObject ) ); - if(!xOldChart.is())//#i110034# do not move charts as they loose all their data references otherwise + if(!xOldChart.is())//#i110034# do not move charts as they lose all their data references otherwise pNewObject->NbcMove(Size(0,0)); pDestPage->InsertObject( pNewObject ); diff --git a/sc/source/core/tool/cellform.cxx b/sc/source/core/tool/cellform.cxx index a2e0f34f44bd..0a7f894b5300 100644 --- a/sc/source/core/tool/cellform.cxx +++ b/sc/source/core/tool/cellform.cxx @@ -91,7 +91,7 @@ void ScCellFormat::GetString( ScRefCellValue& rCell, sal_uLong nFormat, OUString // access to Formular Cells, becomes a CellText, even if // that triggers further interpretation, except if those // cells are already being interpreted. - // IdleCalc generally doesn't trigger futher interpretation, + // IdleCalc generally doesn't trigger further interpretation, // as not to get Err522 (circular). if ( pFCell->GetDocument()->IsInInterpreter() && (!pFCell->GetDocument()->GetMacroInterpretLevel() @@ -192,7 +192,7 @@ OUString ScCellFormat::GetString( // access to Formular Cells, becomes a CellText, even if // that triggers further interpretation, except if those // cells are already being interpreted. - // IdleCalc generally doesn't trigger futher interpretation, + // IdleCalc generally doesn't trigger further interpretation, // as not to get Err522 (circular). if (pFCell->GetDocument()->IsInInterpreter() && (!pFCell->GetDocument()->GetMacroInterpretLevel() diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx index a3940de1da1d..dc81c9403621 100644 --- a/sc/source/filter/excel/xltools.cxx +++ b/sc/source/filter/excel/xltools.cxx @@ -39,7 +39,7 @@ #include "xltools.hxx" -// GUID import/export ========================================================= +// GUID import/export XclGuid::XclGuid() { @@ -89,10 +89,9 @@ XclExpStream& operator<<( XclExpStream& rStrm, const XclGuid& rGuid ) return rStrm; } -// Excel Tools ================================================================ - -// GUID's --------------------------------------------------------------------- +// Excel Tools +// GUID's const XclGuid XclTools::maGuidStdLink( 0x79EAC9D0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B ); @@ -102,7 +101,7 @@ const XclGuid XclTools::maGuidUrlMoniker( const XclGuid XclTools::maGuidFileMoniker( 0x00000303, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ); -// numeric conversion --------------------------------------------------------- +// numeric conversion double XclTools::GetDoubleFromRK( sal_Int32 nRKValue ) { @@ -335,7 +334,7 @@ double XclTools::GetXclDefColWidthCorrection( long nXclDefFontHeight ) return 40960.0 / ::std::max( nXclDefFontHeight - 15L, 60L ) + 50.0; } -// formatting ----------------------------------------------------------------- +// formatting Color XclTools::GetPatternColor( const Color& rPattColor, const Color& rBackColor, sal_uInt16 nXclPattern ) { @@ -351,7 +350,7 @@ Color XclTools::GetPatternColor( const Color& rPattColor, const Color& rBackColo ScfTools::GetMixedColor( rPattColor, rBackColor, pnRatioTable[ nXclPattern ] ) : rPattColor; } -// text encoding -------------------------------------------------------------- +// text encoding namespace { @@ -371,7 +370,7 @@ pCodePageTable[] = { 855, RTL_TEXTENCODING_IBM_855 }, // OEM Cyrillic { 857, RTL_TEXTENCODING_IBM_857 }, // OEM Turkish // { 858, RTL_TEXTENCODING_IBM_858 }, // OEM Multilingual Latin I with Euro - { 860, RTL_TEXTENCODING_IBM_860 }, // OEM Portugese + { 860, RTL_TEXTENCODING_IBM_860 }, // OEM Portuguese { 861, RTL_TEXTENCODING_IBM_861 }, // OEM Icelandic { 862, RTL_TEXTENCODING_IBM_862 }, // OEM Hebrew { 863, RTL_TEXTENCODING_IBM_863 }, // OEM Canadian (French) @@ -442,8 +441,6 @@ sal_uInt16 XclTools::GetXclCodePage( rtl_TextEncoding eTextEnc ) return pEntry->mnCodePage; } -// font names ----------------------------------------------------------------- - OUString XclTools::GetXclFontName( const OUString& rFontName ) { // substitute with MS fonts @@ -451,8 +448,7 @@ OUString XclTools::GetXclFontName( const OUString& rFontName ) return aNewName.isEmpty() ? rFontName : aNewName; } -// built-in defined names ----------------------------------------------------- - +// built-in defined names const OUString XclTools::maDefNamePrefix( "Excel_BuiltIn_" ); const OUString XclTools::maDefNamePrefixXml ( "_xlnm." ); @@ -522,7 +518,7 @@ sal_Unicode XclTools::GetBuiltInDefNameIndex( const OUString& rDefName ) return EXC_BUILTIN_UNKNOWN; } -// built-in style names ------------------------------------------------------- +// built-in style names const OUString XclTools::maStyleNamePrefix1( "Excel_BuiltIn_" ); const OUString XclTools::maStyleNamePrefix2( "Excel Built-in " ); @@ -645,7 +641,7 @@ bool XclTools::GetBuiltInStyleId( sal_uInt8& rnStyleId, sal_uInt8& rnLevel, cons return false; } -// conditional formatting style names ----------------------------------------- +// conditional formatting style names const OUString XclTools::maCFStyleNamePrefix1( "Excel_CondFormat_" ); const OUString XclTools::maCFStyleNamePrefix2( "ConditionalStyle_" ); @@ -672,7 +668,7 @@ bool XclTools::IsCondFormatStyleName( const OUString& rStyleName ) return false; } -// stream handling ------------------------------------------------------------ +// stream handling void XclTools::SkipSubStream( XclImpStream& rStrm ) { @@ -686,7 +682,7 @@ void XclTools::SkipSubStream( XclImpStream& rStrm ) } } -// Basic macro names ---------------------------------------------------------- +// Basic macro names const OUString XclTools::maSbMacroPrefix( "vnd.sun.star.script:" ); const OUString XclTools::maSbMacroSuffix( "?language=Basic&location=document" ); @@ -713,7 +709,7 @@ OUString XclTools::GetXclMacroName( const OUString& rSbMacroUrl ) return OUString(); } -// read/write colors ---------------------------------------------------------- +// read/write colors XclImpStream& operator>>( XclImpStream& rStrm, Color& rColor ) { diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx b/sc/source/filter/oox/numberformatsbuffer.cxx index 2333e47553b7..c0db303be969 100644 --- a/sc/source/filter/oox/numberformatsbuffer.cxx +++ b/sc/source/filter/oox/numberformatsbuffer.cxx @@ -1337,7 +1337,7 @@ static const BuiltinFormat spBuiltinFormats_pl_PL[] = NUMFMT_ENDTABLE() }; -/** Portugese, Brazil. */ +/** Portuguese, Brazil. */ static const BuiltinFormat spBuiltinFormats_pt_BR[] = { NUMFMT_ALLDATETIMES( "D/M/YYYY", "D", "/", "MMM", "/", "YY", "h", "hh" ), @@ -1345,7 +1345,7 @@ static const BuiltinFormat spBuiltinFormats_pt_BR[] = NUMFMT_ENDTABLE() }; -/** Portugese, Portugal. */ +/** Portuguese, Portugal. */ static const BuiltinFormat spBuiltinFormats_pt_PT[] = { NUMFMT_ALLDATETIMES( "DD-MM-YYYY", "DD", "-", "MMM", "-", "YY", "h", "h" ), @@ -1743,8 +1743,8 @@ static const BuiltinFormatTable spBuiltinFormatTables[] = { "nso-ZA", "*", spBuiltinFormats_en_ZA }, // Northern Sotho, South Africa { "pa-IN", "*", spBuiltinFormats_pa_IN }, // Punjabi, India { "pl-PL", "*", spBuiltinFormats_pl_PL }, // Polish, Poland - { "pt-BR", "*", spBuiltinFormats_pt_BR }, // Portugese, Brazil - { "pt-PT", "*", spBuiltinFormats_pt_PT }, // Portugese, Portugal + { "pt-BR", "*", spBuiltinFormats_pt_BR }, // Portuguese, Brazil + { "pt-PT", "*", spBuiltinFormats_pt_PT }, // Portuguese, Portugal { "qu-BO", "*", spBuiltinFormats_es_BO }, // Quechua, Bolivia { "qu-EC", "*", spBuiltinFormats_es_EC }, // Quechua, Ecuador { "qu-PE", "*", spBuiltinFormats_es_PE }, // Quechua, Peru diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx index 7ad71c53fb5b..acd373ec346c 100644 --- a/sc/source/filter/xml/xmlnexpi.cxx +++ b/sc/source/filter/xml/xmlnexpi.cxx @@ -89,7 +89,7 @@ SvXMLImportContext *ScXMLNamedExpressionsContext::CreateChildContext( sal_uInt16 void ScXMLNamedExpressionsContext::EndElement() { - // happends in ScXMLImport::EndDocument() + // happens in ScXMLImport::EndDocument() // because it has to be set after the Database Ranges } |