summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/excel/xehelper.cxx2
-rw-r--r--sc/source/filter/excel/xihelper.cxx4
-rw-r--r--sc/source/filter/oox/pagesettings.cxx2
-rw-r--r--sc/source/filter/oox/pivottablebuffer.cxx2
-rw-r--r--sc/source/ui/unoobj/celllistsource.hxx2
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx2
-rw-r--r--scripting/java/com/sun/star/script/framework/container/ParcelContainer.java2
-rw-r--r--scripting/source/basprov/basprov.cxx1
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
10 files changed, 10 insertions, 11 deletions
diff --git a/sc/source/filter/excel/xehelper.cxx b/sc/source/filter/excel/xehelper.cxx
index 9bb3d905f1e3..532e9187f289 100644
--- a/sc/source/filter/excel/xehelper.cxx
+++ b/sc/source/filter/excel/xehelper.cxx
@@ -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 )
diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx
index 8e1c6aecd196..29bc604c7e25 100644
--- a/sc/source/filter/excel/xihelper.cxx
+++ b/sc/source/filter/excel/xihelper.cxx
@@ -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;
}
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index 8965d78974b7..e47fee274329 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -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;
diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx
index 2717fff2a610..6469f8da70be 100644
--- a/sc/source/filter/oox/pivottablebuffer.cxx
+++ b/sc/source/filter/oox/pivottablebuffer.cxx
@@ -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 );
diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx
index 7a09e42cc9db..b665d2cdb767 100644
--- a/sc/source/ui/unoobj/celllistsource.hxx
+++ b/sc/source/ui/unoobj/celllistsource.hxx
@@ -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
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 65f2a240d117..de864ebddf69 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -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())
{
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
index 1fca1419f4aa..4a2bece39872 100644
--- a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
+++ b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java
@@ -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 {
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx
index e1492af59995..9b3e9481a3a2 100644
--- a/scripting/source/basprov/basprov.cxx
+++ b/scripting/source/basprov/basprov.cxx
@@ -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
}
}
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index fba25161b2e7..ba1129c6572b 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -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;
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 0d2dcb2e5afa..d5041c7c7e2c 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -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!