summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-04-29 23:19:08 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-05 09:24:40 +0200
commitf6fb5a17da883e89cae6f7a960266fc87ccc9f6b (patch)
tree058efebab6d3b5ef21d42a3c1191eeddf890e4cc /starmath
parentd633e80334b2472e7d99e253b761acd9b72f290b (diff)
Fix typos
Change-Id: I92078fdece135754744d85424956dbb071f3899e Reviewed-on: https://gerrit.libreoffice.org/53638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx8
-rw-r--r--starmath/source/node.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 191eb7b07ccb..291aa1d57822 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -476,11 +476,11 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
pPrinter->Push( PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )
{
- // if it is an embedded object (without it's own printer)
+ // if it is an embedded object (without its own printer)
// we change the MapMode temporarily.
//!If it is a document with its own printer the MapMode should
//!be set correct (once) elsewhere(!), in order to avoid numerous
- //!superfluous pushing and poping of the MapMode when using
+ //!superfluous pushing and popping of the MapMode when using
//!this class.
const MapUnit eOld = pPrinter->GetMapMode().GetMapUnit();
@@ -501,11 +501,11 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
pRefDev->Push( PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )
{
- // if it is an embedded object (without it's own printer)
+ // if it is an embedded object (without its own printer)
// we change the MapMode temporarily.
//!If it is a document with its own printer the MapMode should
//!be set correct (once) elsewhere(!), in order to avoid numerous
- //!superfluous pushing and poping of the MapMode when using
+ //!superfluous pushing and popping of the MapMode when using
//!this class.
const MapUnit eOld = pRefDev->GetMapMode().GetMapUnit();
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 55466245527d..2055ce37180f 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2069,7 +2069,7 @@ void SmTextNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell, i
if (IsBold( GetFont() ))
Attributes() |= FontAttribute::Bold;
- // special handling for ':' where it is a token on it's own and is likely
+ // special handling for ':' where it is a token on its own and is likely
// to be used for mathematical notations. (E.g. a:b = 2:3)
// In that case it should not be displayed in italic.
if (GetToken().aText.getLength() == 1 && GetToken().aText[0] == ':')