summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/elementimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/elementimport.cxx')
-rw-r--r--xmloff/source/forms/elementimport.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index fa3289e73826..877095defd42 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -76,6 +76,8 @@ namespace xmloff
#define PROPID_MIN_VALUE 3
#define PROPID_MAX_VALUE 4
+ namespace {
+
struct PropertyValueLess
{
bool operator()(const PropertyValue& _rLeft, const PropertyValue& _rRight)
@@ -84,6 +86,8 @@ namespace xmloff
}
};
+ }
+
//= OElementNameMap
OElementNameMap::MapString2Element OElementNameMap::s_sElementTranslations;
@@ -1349,6 +1353,8 @@ namespace xmloff
simulateDefaultedAttribute(OAttributeMetaData::getDatabaseAttributeName(DAFlags::ConvertEmpty), PROPERTY_EMPTY_IS_NULL, "false");
}
+ namespace {
+
struct EqualHandle
{
const sal_Int32 m_nHandle;
@@ -1360,6 +1366,8 @@ namespace xmloff
}
};
+ }
+
void OTextLikeImport::removeRedundantCurrentValue()
{
if ( m_bEncounteredTextPara )
@@ -1402,6 +1410,8 @@ namespace xmloff
// since this is the default of this property, anyway.
}
+ namespace {
+
struct EqualName
{
const OUString & m_sName;
@@ -1413,6 +1423,8 @@ namespace xmloff
}
};
+ }
+
void OTextLikeImport::adjustDefaultControlProperty()
{
// In OpenOffice.org 2.0, we changed the implementation of the css.form.component.TextField (the model of a text field control),