diff options
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/SettingsExportHelper.cxx | 7 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/forms/propertyimport.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/meta/xmlmetae.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/PagePropertySetContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/table/XMLTableImport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextListItemContext.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsapi.cxx | 1 |
11 files changed, 6 insertions, 32 deletions
diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx index f0019b13d6c1..33bb6576068a 100644 --- a/xmloff/source/core/SettingsExportHelper.cxx +++ b/xmloff/source/core/SettingsExportHelper.cxx @@ -87,9 +87,7 @@ void XMLSettingsExportHelper::CallTypeFunction(const uno::Any& rAny, break; case uno::TypeClass_BYTE: { - sal_Int8 nInt8 = 0; - aAny >>= nInt8; - exportByte(nInt8, rName); + exportByte(); } break; case uno::TypeClass_SHORT: @@ -195,9 +193,8 @@ void XMLSettingsExportHelper::exportBool(const bool bValue, const OUString& rNam m_rContext.EndElement( false ); } -void XMLSettingsExportHelper::exportByte(const sal_Int8 nValue, const OUString& rName) +void XMLSettingsExportHelper::exportByte() { - (void) nValue; (void) rName; OSL_ENSURE(false, "XMLSettingsExportHelper::exportByte(): #i114162#:\n" "config-items of type \"byte\" are not valid ODF, " "so storing them is disabled!\n" diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 7b6a78cb0403..c2ae8e7663e3 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -1826,9 +1826,8 @@ void SvXMLExport::GetConfigurationSettings(uno::Sequence<beans::PropertyValue>&) { } -sal_Int32 SvXMLExport::GetDocumentSpecificSettings( ::std::list< SettingsGroup >& _out_rSettings ) +sal_Int32 SvXMLExport::GetDocumentSpecificSettings( ::std::list< SettingsGroup >& ) { - (void)_out_rSettings; return 0; } diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 92836d1af191..1cc706787f86 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -1468,10 +1468,8 @@ void SvXMLImport::SetConfigurationSettings(const css::uno::Sequence<css::beans:: { } -void SvXMLImport::SetDocumentSpecificSettings(const OUString& _rSettingsGroupName, const uno::Sequence<beans::PropertyValue>& _rSettings) +void SvXMLImport::SetDocumentSpecificSettings(const OUString&, const uno::Sequence<beans::PropertyValue>&) { - (void)_rSettingsGroupName; - (void)_rSettings; } ProgressBarHelper* SvXMLImport::GetProgressBarHelper() 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()) diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx index 387154b2780a..d655520c6bea 100644 --- a/xmloff/source/meta/xmlmetae.cxx +++ b/xmloff/source/meta/xmlmetae.cxx @@ -466,12 +466,10 @@ SvXMLMetaExport::ignorableWhitespace(const OUString & /*i_rWhitespaces*/) } void SAL_CALL -SvXMLMetaExport::processingInstruction(const OUString & i_rTarget, - const OUString & i_rData) +SvXMLMetaExport::processingInstruction(const OUString &, + const OUString &) { // ignore; the exporter cannot handle these - (void) i_rTarget; - (void) i_rData; } void SAL_CALL diff --git a/xmloff/source/style/PagePropertySetContext.cxx b/xmloff/source/style/PagePropertySetContext.cxx index a75af1aa8901..a225f298dbd8 100644 --- a/xmloff/source/style/PagePropertySetContext.cxx +++ b/xmloff/source/style/PagePropertySetContext.cxx @@ -87,8 +87,6 @@ SvXMLImportContext *PagePropertySetContext::CreateChildContext( nFil == mxMapper->getPropertySetMapper() ->GetEntryContextId( rProp.mnIndex-1 ), "invalid property map!"); - (void)nPos; - (void)nFil; pContext = new XMLBackgroundImageContext( GetImport(), nPrefix, rLocalName, xAttrList, diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index 1ba9b665d3fd..71b2a8a6d804 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -407,7 +407,6 @@ SvXMLImportContext * XMLTableImportContext::ImportColumn( sal_uInt16 nPrefix, co else if ( (XML_NAMESPACE_XML == nPrefix2) && IsXMLToken(aLocalName, XML_ID) ) { - (void) sValue; //FIXME: TODO } } @@ -669,7 +668,6 @@ XMLCellImportContext::XMLCellImportContext( SvXMLImport& rImport, const Referenc else if ( (XML_NAMESPACE_XML == nPrefix2) && IsXMLToken(aLocalName, XML_ID) ) { - (void) sValue; //FIXME: TODO } //FIXME: RDFa (table:table-cell) diff --git a/xmloff/source/text/XMLTextListItemContext.cxx b/xmloff/source/text/XMLTextListItemContext.cxx index 399963553b1d..a7c2ad0418c8 100644 --- a/xmloff/source/text/XMLTextListItemContext.cxx +++ b/xmloff/source/text/XMLTextListItemContext.cxx @@ -106,7 +106,6 @@ XMLTextListItemContext::XMLTextListItemContext( else if ( (XML_NAMESPACE_XML == nPrefix) && IsXMLToken(aLocalName, XML_ID) ) { - (void) rValue; //FIXME: there is no UNO API for list items } } diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 5707f9ddd338..a2fa1aff6cbf 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -211,9 +211,6 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName, { SvXMLNamespaceMap *pRewindMap = nullptr; - bool bRect = rName == "presentation:show-shape"; - (void)bRect; - // Process namespace attributes. This must happen before creating the // context, because namespace declaration apply to the element name itself. XMLMutableAttributeList *pMutableAttrList = nullptr; diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx index 515d80fa304a..4d22dbff862c 100644 --- a/xmloff/source/xforms/xformsapi.cxx +++ b/xmloff/source/xforms/xformsapi.cxx @@ -90,7 +90,6 @@ void xforms_addXFormsModel( // TODO: implement proper error handling SAL_WARN_IF( !bSuccess, "xmloff", "can't import model" ); - (void)bSuccess; } static Reference<XPropertySet> lcl_findXFormsBindingOrSubmission( |