summaryrefslogtreecommitdiff
path: root/svgio/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-06-13 23:58:06 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2018-06-14 23:13:12 +0200
commit213a644a121a1b4145f5abe35c9b2f10ea00ac89 (patch)
tree7a262a675c65241263c25bcdf689721076fadcb9 /svgio/source
parent46c3083943f7dc8bf9529ca498d37593bad81a31 (diff)
Fix typos
Change-Id: I69b4f139be269ff58acd9d74ce0c7897e84a9419 Reviewed-on: https://gerrit.libreoffice.org/55774 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'svgio/source')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx6
-rw-r--r--svgio/source/svgreader/svgsvgnode.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 2d96cfb9d022..7cc0a059999b 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -2255,14 +2255,14 @@ namespace svgio
// Visibility correction/exception for self-exported SVGs:
// When Impress exports single or multi-page SVGs, it puts the
// single slides into <g visibility="hidden">. Not sure why
- // whis happens, but this leads (correctly) to empty imported
+ // this happens, but this leads (correctly) to empty imported
// Graphics.
// Thus, if Visibility_hidden is active and owner is a SVGTokenG
// and it's parent is also a SVGTokenG and it has a Class 'SlideGroup'
// set, check if we are an Impress export.
// We are an Impress export if an SVG-Node titled 'ooo:meta_slides'
// exists.
- // All togehter gives:
+ // All together gives:
if(Visibility_hidden == maVisibility
&& SVGTokenG == mrOwner.getType()
&& nullptr != mrOwner.getDocument().findSvgNodeById("ooo:meta_slides"))
@@ -2276,7 +2276,7 @@ namespace svgio
if("SlideGroup" == aClass)
{
// if we detect this exception,
- // ovverride Visibility_hidden -> Visibility_visible
+ // override Visibility_hidden -> Visibility_visible
return Visibility_visible;
}
}
diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx
index 524e6d360030..be2bc31ced09 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -675,7 +675,7 @@ namespace svgio
// If no Width/Height is set (usually done in
// <svg ... width="215.9mm" height="279.4mm" >) which
// is the case for own-Impress-exports, assume that
- // the Units are alrteady 100ThMM.
+ // the Units are already 100ThMM.
// Maybe only for own-Impress-exports, thus may need to be
// &&ed with getDocument().findSvgNodeById("ooo:meta_slides"),
// but does not need to be.