From 4678982056a11f978277a2da7a085e4f6ac24afd Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 18:13:49 +0200 Subject: Fix typos Change-Id: I2cdfc4e9d8ba1acb7c2548f9394d320c6504207e Reviewed-on: https://gerrit.libreoffice.org/18997 Reviewed-by: Joren De Cuyper Tested-by: Joren De Cuyper --- xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 2 +- xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 4 ++-- xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'xmlscript') diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index 10d03ce7378a..8f24797aa6a5 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx @@ -266,7 +266,7 @@ void ElementDescriptor::readCheckBoxModel( StyleBag * all_styles ) case 1: addAttribute( XMLNS_DIALOGS_PREFIX ":checked", "true" ); break; - case 2: // tristate=true exported, checked omitted => dont know! + case 2: // tristate=true exported, checked omitted => don't know! OSL_ENSURE( bTriState, "### detected tristate value, but TriState is not set!" ); break; default: diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 89ed0aceff53..936dd48a1137 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -414,7 +414,7 @@ Reference< xml::sax::XAttributeList > Style::createElement() // dialog:font-relief (none|embossed|engraved) #IMPLIED switch (_fontRelief) { - case awt::FontRelief::NONE: // dont export default + case awt::FontRelief::NONE: // don't export default break; case awt::FontRelief::EMBOSSED: pStyle->addAttribute( XMLNS_DIALOGS_PREFIX ":font-relief", "embossed" ); @@ -429,7 +429,7 @@ Reference< xml::sax::XAttributeList > Style::createElement() // dialog:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED switch (_fontEmphasisMark) { - case awt::FontEmphasisMark::NONE: // dont export default + case awt::FontEmphasisMark::NONE: // don't export default break; case awt::FontEmphasisMark::DOT: pStyle->addAttribute(XMLNS_DIALOGS_PREFIX ":font-emphasismark", "dot" ); diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index 315c08f288ad..424d0ab10254 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -1142,7 +1142,7 @@ Reference< xml::input::XElement > TitledBoxElement::startChildElement( // radio else if ( rLocalName == "radio" ) { - // dont create radios here, => titledbox must be inserted first due to radio grouping, + // don't create radios here, => titledbox must be inserted first due to radio grouping, // possible predecessors! Reference< xml::input::XElement > xRet( new RadioElement( rLocalName, xAttributes, this, _pImport ) ); @@ -1273,7 +1273,7 @@ Reference< xml::input::XElement > RadioGroupElement::startChildElement( // radio else if ( rLocalName == "radio" ) { - // dont create radios here, => titledbox must be inserted first due to radio grouping, + // don't create radios here, => titledbox must be inserted first due to radio grouping, // possible predecessors! Reference< xml::input::XElement > xRet( new RadioElement( rLocalName, xAttributes, this, _pImport ) ); @@ -1589,7 +1589,7 @@ void CheckBoxElement::endElement() } else { - sal_Int16 nVal = (bTriState ? 2 : 0); // if tristate set, but checked omitted => dont know! + sal_Int16 nVal = (bTriState ? 2 : 0); // if tristate set, but checked omitted => don't know! xControlModel->setPropertyValue( "State", makeAny( nVal ) ); } -- cgit