summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-21 21:49:44 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-21 21:50:01 +0100
commitf68cd77923ed996c372e6814d615c6faf635626a (patch)
tree3a84c352c14b3c6902be140bdc8d2e3cb5c56fdc /xmloff
parente052f55236e2cdd4ebe6a126b570415b5a1b4ea5 (diff)
Fix type unkown -> unknown
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtflde.cxx16
-rw-r--r--xmloff/source/text/txtfldi.cxx2
-rw-r--r--xmloff/source/text/txtvfldi.cxx2
3 files changed, 10 insertions, 10 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 6c1da2c24a60..c66e95d037c7 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -748,7 +748,7 @@ sal_Bool XMLTextFieldExport::IsStringField(
case FIELD_ID_DRAW_FOOTER:
case FIELD_ID_DRAW_DATE_TIME:
default:
- OSL_FAIL("unkown field type/field has no content");
+ OSL_FAIL("unknown field type/field has no content");
return sal_True; // invalid info; string in case of doubt
}
}
@@ -967,8 +967,8 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
case FIELD_ID_UNKNOWN:
default:
- OSL_FAIL("unkown field type!");
- // ignore -> no format for unkowns
+ OSL_FAIL("unknown field type!");
+ // ignore -> no format for ukowns
break;
}
}
@@ -1857,7 +1857,7 @@ void XMLTextFieldExport::ExportFieldHelper(
case FIELD_ID_UNKNOWN:
default:
- OSL_FAIL("unkown field type encountered!");
+ OSL_FAIL("unknown field type encountered!");
// always export content
GetExport().Characters(sPresentation);
}
@@ -2946,8 +2946,8 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType)
break;
default:
- // unkown placeholder: XML_TEXT
- OSL_FAIL("unkown placeholder type");
+ // unknown placeholder: XML_TEXT
+ OSL_FAIL("unknown placeholder type");
}
return eType;
@@ -3088,7 +3088,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapChapterDisplayFormat(sal_Int16 nFormat)
eName = XML_PLAIN_NUMBER;
break;
default:
- OSL_FAIL("unkown chapter display format");
+ OSL_FAIL("unknown chapter display format");
eName = XML_TOKEN_INVALID;
break;
}
@@ -3197,7 +3197,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapReferenceSource(sal_Int16 nType)
eElement = XML_NOTE_REF;
break;
default:
- OSL_FAIL("unkown reference source");
+ OSL_FAIL("unknown reference source");
break;
}
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index d97281a352db..e7067acc677b 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -2308,7 +2308,7 @@ void XMLFileNameImportContext::ProcessAttribute(
break;
}
default:
- ; // unkown attribute: ignore
+ ; // unknown attribute: ignore
break;
}
}
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 275044b53619..58b25938a5fa 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -936,7 +936,7 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext(
break;
}
default:
- OSL_FAIL("unkown varfield type");
+ OSL_FAIL("unknown varfield type");
} // switch
} // else: no field master found/constructed
} // else: no sequence-decl