summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 12:27:41 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 07:05:43 +0000
commit3063d55b8be2188532e3e2892f440ff0d481db71 (patch)
treebb0aea0c9002eca2bd7919b6729adaa1b613226d /filter/source
parent34e1739d56411c81359e24dce500cb54bba6c092 (diff)
Fix typos
Change-Id: I338dacd3cfe915714a9038e1dea4a60d586e9394 Reviewed-on: https://gerrit.libreoffice.org/34806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/graphicfilter/icgm/cgmtypes.hxx4
-rw-r--r--filter/source/svg/svgexport.cxx6
-rw-r--r--filter/source/xslt/import/wordml/wordml2ooo.xsl2
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl2
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/table.xsl2
5 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/graphicfilter/icgm/cgmtypes.hxx b/filter/source/graphicfilter/icgm/cgmtypes.hxx
index 8a6689d40ba2..a245ebcbf3b2 100644
--- a/filter/source/graphicfilter/icgm/cgmtypes.hxx
+++ b/filter/source/graphicfilter/icgm/cgmtypes.hxx
@@ -105,14 +105,14 @@ enum TextAlignmentV { TAV_NORMAL = 0, TAV_TOP = 1, TAV_CAP = 2, TAV_HALF = 3
enum UnderlineMode { UM_OFF = 0, UM_LOW = 1, UM_HIGH = 2, UM_STRIKEOUT = 4, UM_OVERSCORE = 8 };
enum FinalFlag { FF_NOT_FINAL = 0, FF_FINAL = 1 };
-enum LineType { LT_SOLID = 1, LT_DASH = 2, LT_DOT = 3, LT_DASHDOT = 4, LT_DASHDOTDOT = 5, // Standart
+enum LineType { LT_SOLID = 1, LT_DASH = 2, LT_DOT = 3, LT_DASHDOT = 4, LT_DASHDOTDOT = 5, // Standard
LT_NONE = -4, LT_DOTDOTSPACE = -3, LT_LONGDASH = -2, LT_DASHDASHDOT = -1 }; // GDSF Styles
enum SpecMode { SM_ABSOLUTE = 0, SM_SCALED = 1 };
enum LineCapType { LCT_BUTT = 0, LCT_ROUND = 1, LCT_SQUARE = 2, LCT_TRIANGLE = 3, LCT_ARROW = 4, LCT_NONE = -1 };
enum LineJoinType { LJT_MITER = 0, LJT_ROUND = 1, LJT_BEVEL = 2, LJT_NONE = -1 };
-enum EdgeType { ET_SOLID = 1, ET_DASH = 2, ET_DOT = 3, ET_DASHDOT = 4, ET_DASHDOTDOT = 5, // Standart
+enum EdgeType { ET_SOLID = 1, ET_DASH = 2, ET_DOT = 3, ET_DASHDOT = 4, ET_DASHDOTDOT = 5, // Standard
ET_NONE = -4, ET_DOTDOTSPACE = -3, ET_LONGDASH = -2, ET_DASHDASHDOT = -1 }; // GDSF Styles
enum EdgeVisibility { EV_OFF = 0, EV_ON = 1 };
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 3bf9c6cffa57..21e4da0fcff6 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -739,7 +739,7 @@ bool SVGFilter::implExportDocument()
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "height", aAttr );
}
- // #i124608# set viewBox explicitely to the exported content
+ // #i124608# set viewBox explicitly to the exported content
if (mbExportShapeSelection)
{
aAttr = OUString::number(nDocX) + " " + OUString::number(nDocY) + " ";
@@ -910,7 +910,7 @@ void SVGFilter::implGenerateMetaData()
// Add a (global) Page Numbering Type attribute for the document
// NOTE: at present pSdrModel->GetPageNumType() returns always css::style::NumberingType::ARABIC
- // so the following code fragment is pretty unuseful
+ // so the following code fragment is pretty useless
sal_Int32 nPageNumberingType = css::style::NumberingType::ARABIC;
SvxDrawPage* pSvxDrawPage = SvxDrawPage::getImplementation( mSelectedPages[0] );
if( pSvxDrawPage )
@@ -1508,7 +1508,7 @@ void SVGFilter::implExportDrawPages( const std::vector< Reference< XDrawPage > >
{
// Insert a further inner the <g> open tag for handling elements
// inserted before or after a slide: that is used for some
- // when swithing from the last to the first slide.
+ // when switching from the last to the first slide.
const OUString & sPageId = implGetValidIDFromInterface( rxPages[i] );
OUString sContainerId = "container-";
sContainerId += sPageId;
diff --git a/filter/source/xslt/import/wordml/wordml2ooo.xsl b/filter/source/xslt/import/wordml/wordml2ooo.xsl
index 55f97148e20d..d7e9ef41cf85 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo.xsl
@@ -228,7 +228,7 @@
<xsl:template match="w:body">
<xsl:element name="office:body">
<xsl:element name="office:text">
- <!-- to add the sequece variable declaration at the beginning of the office:body G.Y.-->
+ <!-- to add the sequence variable declaration at the beginning of the office:body G.Y.-->
<text:sequence-decls>
<xsl:call-template name="default_seqence_declaration"/>
<xsl:apply-templates select="/w:wordDocument/w:body//w:instrText[substring(normalize-space(text()),1,3) = 'SEQ' ] | /w:wordDocument/w:body//w:fldSimple[substring(normalize-space(@w:instr),1,3) = 'SEQ' ] " mode="sequence_declare"/>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 7e9eb59734db..e7bcab15f577 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -481,7 +481,7 @@
<xsl:param name="parentMarginLeft" />
<xsl:param name="pageMarginLeft" />
-<!-- 2DO: EXCHANGE FOLLOING SIBLING BY VARIABLE -->
+<!-- 2DO: EXCHANGE FOLLOWING SIBLING BY VARIABLE -->
<xsl:variable name="followingSiblingNode" select="following-sibling::node()[1]"/>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
index 417e4f75fa7d..533017c17be1 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
@@ -117,7 +117,7 @@
The cell-style depends on two attributes:
- 1) table:style-name - the style properties of cell. When they exist, a default alignement (cp. below) will be added for the
+ 1) table:style-name - the style properties of cell. When they exist, a default alignment (cp. below) will be added for the
case of no alignment in the style exist.
2) office:value-type - the value type of the table-cell giving the default alignments.