summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-18 16:27:05 +0200
committerEike Rathke <erack@redhat.com>2017-05-18 18:55:17 +0200
commit26a67002fcb9381b54de6cae1aaa37120d49066a (patch)
treee631d9a79a249f1eb3e5c80f5158eece7b4ad040 /xmloff
parent700e262a4943a6d279cc4800bb9bd173aff0c3e1 (diff)
Fix typos
Only replaced "iff" with "if" Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581 Reviewed-on: https://gerrit.libreoffice.org/37782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/txtlists.hxx2
-rw-r--r--xmloff/source/chart/contexts.cxx2
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx
index f4696713908e..bcd1262b0726 100644
--- a/xmloff/inc/txtlists.hxx
+++ b/xmloff/inc/txtlists.hxx
@@ -98,7 +98,7 @@ class XMLTextListsHelper
const OUString& i_ListId,
sal_Int16 & io_rLevel, const OUString& i_StyleName);
- /// get ID of the last numbered-paragraph iff it has given style-name
+ /// get ID of the last numbered-paragraph if it has given style-name
OUString GetNumberedParagraphListId(
const sal_uInt16 i_Level,
const OUString& i_StyleName);
diff --git a/xmloff/source/chart/contexts.cxx b/xmloff/source/chart/contexts.cxx
index 2708d37bf18e..0303b14e3611 100644
--- a/xmloff/source/chart/contexts.cxx
+++ b/xmloff/source/chart/contexts.cxx
@@ -138,7 +138,7 @@ SvXMLImportContext *SchXMLFlatDocContext_Impl::CreateChildContext(
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList)
{
- // behave like meta base class iff we encounter office:meta
+ // behave like meta base class if we encounter office:meta
const SvXMLTokenMap& rTokenMap =
mrImportHelper.GetDocElemTokenMap();
if ( XML_TOK_DOC_META == rTokenMap.Get( i_nPrefix, i_rLocalName ) ) {
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index 10010ca83ec0..9edc02b1340c 100644
--- a/xmloff/source/draw/sdxmlimp.cxx
+++ b/xmloff/source/draw/sdxmlimp.cxx
@@ -223,7 +223,7 @@ SvXMLImportContext *SdXMLFlatDocContext_Impl::CreateChildContext(
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList)
{
- // behave like meta base class iff we encounter office:meta
+ // behave like meta base class if we encounter office:meta
const SvXMLTokenMap& rTokenMap = GetSdImport().GetDocElemTokenMap();
if ( XML_TOK_DOC_META == rTokenMap.Get( i_nPrefix, i_rLocalName ) ) {
return SvXMLMetaDocumentContext::CreateChildContext(