summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-16 18:21:52 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-18 11:44:56 +0000
commitae150c6a5424d021ce5eb46dc9573f12a4d05445 (patch)
tree8fadf46f7789b54e59e9095b967ca6068dbbe890 /xmloff
parenta63b8b4afc687d49ad25cbb77e16f835b9820522 (diff)
Fix typos
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
-rw-r--r--xmloff/source/forms/elementexport.cxx2
-rw-r--r--xmloff/source/forms/elementexport.hxx4
-rw-r--r--xmloff/source/forms/formattributes.hxx2
-rw-r--r--xmloff/source/forms/propertyexport.cxx2
-rw-r--r--xmloff/source/text/txtexppr.cxx2
-rw-r--r--xmloff/source/transform/AttrTransformerAction.hxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index fac5f3bcdeba..ef359f82b089 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2326,7 +2326,7 @@ void SdXMLCaptionShapeContext::StartElement(const uno::Reference< xml::sax::XAtt
// because NbcAdjustTextFrameWidthAndHeight() is called (text is set later and center alignment
// is the default setting, so the top left reference point that is used by the caption point is
// no longer correct) There are two ways to solve this problem, temporarily disabling the
- // autogrowwith as we are doing here or to apply the CaptionPoint after setting text
+ // autogrowwidth as we are doing here or to apply the CaptionPoint after setting text
bool bIsAutoGrowWidth = false;
if ( xProps.is() )
{
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 091e2e73e38e..322374c6abe3 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -783,7 +783,7 @@ namespace xmloff
static const sal_uInt16 nCurrentValueAttributeNamespaceKey = OAttributeMetaData::getCommonControlAttributeNamespace(CCA_CURRENT_VALUE);
static const sal_uInt16 nValueAttributeNamespaceKey = OAttributeMetaData::getCommonControlAttributeNamespace(CCA_VALUE);
- // add the atrtributes if necessary and possible
+ // add the attributes if necessary and possible
if (pCurrentValuePropertyName && (CCA_CURRENT_VALUE & m_nIncludeCommon))
{
// don't export the current-value if this value originates from a data binding
diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx
index 77294416e1d2..07ddce124d4f 100644
--- a/xmloff/source/forms/elementexport.hxx
+++ b/xmloff/source/forms/elementexport.hxx
@@ -153,8 +153,8 @@ namespace xmloff
/** adds the attributes which are handled via generic IPropertyHandlers
- <p>In the future, this really should be *all* attribiutes, instead of this shitload of
- hand-crafted code we have currently ...</p>
+ <p>In the future, this really should be *all* attributes, instead of this shitload of
+ hand-crafted code we have currently...</p>
*/
void exportGenericHandlerAttributes();
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx
index 299e8e0cc753..3449606d23d6 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -61,7 +61,7 @@ namespace xmloff
#define CCA_VISUAL_EFFECT 0x00800000
#define CCA_ENABLEVISIBLE 0x01000000
- // flags for database control atttributes
+ // flags for database control attributes
#define DA_BOUND_COLUMN 0x00000001
#define DA_CONVERT_EMPTY 0x00000002
#define DA_DATA_FIELD 0x00000004
diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx
index 4fd3d4f02658..3627dd48c487 100644
--- a/xmloff/source/forms/propertyexport.cxx
+++ b/xmloff/source/forms/propertyexport.cxx
@@ -467,7 +467,7 @@ namespace xmloff
return;
}
- // finally add the attribuite to the context
+ // finally add the attribute to the context
AddAttribute(_nAttributeNamespaceKey, _pAttributeName, sValue);
}
diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx
index dfb35946fa20..1d05e3ebe5e3 100644
--- a/xmloff/source/text/txtexppr.cxx
+++ b/xmloff/source/text/txtexppr.cxx
@@ -348,7 +348,7 @@ lcl_checkMultiProperty(XMLPropertyState *const pState,
/**
* Filter context of paragraph and character borders.
- * Compress border attriubtes. If one of groupable attributes (border type, border width, padding)
+ * Compress border attributes. If one of groupable attributes (border type, border width, padding)
* is equal for all four side then just one general attribute will be exported.
**/
static void lcl_FilterBorders(
diff --git a/xmloff/source/transform/AttrTransformerAction.hxx b/xmloff/source/transform/AttrTransformerAction.hxx
index 81b2d9388cfe..0aef831c7c43 100644
--- a/xmloff/source/transform/AttrTransformerAction.hxx
+++ b/xmloff/source/transform/AttrTransformerAction.hxx
@@ -97,7 +97,7 @@ enum XMLAttrTransformerAction
// - param1: pacakage URI are supported
XML_ATACTION_URI_OASIS, // an URI in OASIS notation
// - param1: pacakage URI are supported
- XML_ATACTION_RENAME_ATTRIBUTE, // rename up to 3 different possible values of an attrbiute
+ XML_ATACTION_RENAME_ATTRIBUTE, // rename up to 3 different possible values of an attribute
// - param1: token of old attribute value (lower 16 bit)
// + token of new attribute value (upper 16 bit)
// - param2: token of old attribute value