summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-20 17:37:30 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-20 17:38:06 +0200
commit29e1b2f1ca6e2dcbf9a04c63a3ac1d554cfdcb52 (patch)
treed9dc4f974b26eec37293b8a3566e08c3e4712935 /xmloff
parentafa5d63e2adccefd5cabfe2e0f6f78ce217a294d (diff)
xmloff: dead code gives MSVC fits
Change-Id: I1aaaaae4a38fb828e6801e444b6345fd8b60f5c1
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementexport.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 2a253172d3a8..4ce6534b2883 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -1155,36 +1155,6 @@ namespace xmloff
}
}
- // the string properties
- {
- static const sal_Int32 nStringPropertyAttributeIds[] =
- { // attribute flags
- };
- static const OUString pStringPropertyNames[] =
- { // property names
- };
-
- static const sal_Int32 nIdCount = sizeof( nStringPropertyAttributeIds ) / sizeof( nStringPropertyAttributeIds[0] );
- #if OSL_DEBUG_LEVEL > 0
- static const sal_Int32 nNameCount = sizeof( pStringPropertyNames ) / sizeof( pStringPropertyNames[0] );
- OSL_ENSURE( ( nIdCount == nNameCount ),
- "OControlExport::exportSpecialAttributes: somebody tampered with the maps (2)!" );
- #endif
- for ( i = 0; i < nIdCount; ++i )
- if ( nStringPropertyAttributeIds[i] & m_nIncludeSpecial )
- {
- exportStringPropertyAttribute(
- OAttributeMetaData::getSpecialAttributeNamespace( nStringPropertyAttributeIds[i] ),
- OAttributeMetaData::getSpecialAttributeName( nStringPropertyAttributeIds[i] ),
- pStringPropertyNames[i]
- );
- #if OSL_DEBUG_LEVEL > 0
- // reset the bit for later checking
- m_nIncludeSpecial = m_nIncludeSpecial & ~nStringPropertyAttributeIds[i];
- #endif
- }
- }
-
if ((SCA_MIN_VALUE | SCA_MAX_VALUE) & m_nIncludeSpecial)
{
// need to export the min value and the max value as attributes