summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-12-27 21:13:26 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-12-27 22:59:55 +0100
commite4689afb970ec7090e6e604acda25c2aa12f3e87 (patch)
treefd4402c8513a33abef994841484572739efdbfa9 /sw
parent94ef490559d45ac0a077c0844760ee8bde6780a8 (diff)
Fix typos
Change-Id: Icebbbb392d9187a11837b72116c00036247e9b74 Reviewed-on: https://gerrit.libreoffice.org/47104 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport11.cxx2
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index e2366e3d48b5..00c362340ce5 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -184,7 +184,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf113547, "tdf113547.docx")
DECLARE_OOXMLEXPORT_TEST(testTdf113399, "tdf113399.doc")
{
// 0 padding was not preserved
- // In LO 0 is the defualt, but in OOXML format the default is 254 / 127
+ // In LO 0 is the default, but in OOXML format the default is 254 / 127
uno::Reference<beans::XPropertySet> xPropSet(getShape(1), uno::UNO_QUERY);
sal_Int32 nPaddingValue;
xPropSet->getPropertyValue("TextLeftDistance") >>= nPaddingValue;
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 29b32272f66d..cdeb103d66e6 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -1605,7 +1605,7 @@ void DocxSdrExport::writeDMLTextFrame(ww8::Frame const* pParentFrame, int nAncho
// We need to init padding to 0, if it's not set.
// In LO the default is 0 and so ins attributes are not set when padding is 0
- // but in MSO the default is 254 / 127, so we need to set 0 padding explicitely
+ // but in MSO the default is 254 / 127, so we need to set 0 padding explicitly
if(!m_pImpl->m_pBodyPrAttrList->hasAttribute(XML_lIns))
m_pImpl->m_pBodyPrAttrList->add(XML_lIns, OString::number(0));
if(!m_pImpl->m_pBodyPrAttrList->hasAttribute(XML_tIns))