summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:27:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:27:05 +0200
commitde93c6260c90b7b523ed992914f62c54c64ce25a (patch)
treecce2839a86340bbc8af61bd1b534dab47cc13ba1 /xmloff/source/forms
parentdd3df0f4cb3bbc65528e0069542e841bcd506a66 (diff)
loplugin:casttovoid: xmloff
Change-Id: I4f9ffd686e8e5a10bdd3f5ad4282dc4776923b62
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/layerexport.cxx8
-rw-r--r--xmloff/source/forms/propertyimport.cxx1
2 files changed, 0 insertions, 9 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 657c8dadeed5..bd08dcb6d77d 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -596,14 +596,6 @@ namespace xmloff
aPropertyStates.push_back( aNumberStyleState );
}
-#if OSL_DEBUG_LEVEL > 0
- ::std::vector< XMLPropertyState >::const_iterator aHaveALook = aPropertyStates.begin();
- for ( ; aHaveALook != aPropertyStates.end(); ++aHaveALook )
- {
- (void)aHaveALook;
- }
-#endif
-
// determine the column style
if ( !aPropertyStates.empty() )
diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx
index 5871a19a1e0a..1d0b76784f07 100644
--- a/xmloff/source/forms/propertyimport.cxx
+++ b/xmloff/source/forms/propertyimport.cxx
@@ -126,7 +126,6 @@ Any PropertyConversion::convertString( const css::uno::Type& _rExpectedType,
sal_uInt16 nEnumValue(0);
bool bSuccess = SvXMLUnitConverter::convertEnum(nEnumValue, _rReadCharacters, _pEnumMap);
OSL_ENSURE(bSuccess, "PropertyConversion::convertString: could not convert to an enum value!");
- (void)bSuccess;
if (bEnumAsInt)
if (TypeClass_SHORT == _rExpectedType.getTypeClass())