[Libreoffice-commits] .: binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Fri Jan 21 07:01:24 PST 2011


 binfilter/bf_xmloff/source/forms/elementimport_impl.hxx        |    4 ++-
 binfilter/bf_xmloff/source/forms/makefile.mk                   |    2 -
 binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx |    8 +++---
 binfilter/bf_xmloff/source/forms/xmloff_controlpropertymap.cxx |    2 -
 binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx      |   12 +++++-----
 binfilter/bf_xmloff/source/forms/xmloff_elementimport.cxx      |    8 +++---
 binfilter/bf_xmloff/source/forms/xmloff_eventexport.cxx        |    3 --
 binfilter/bf_xmloff/source/forms/xmloff_formattributes.cxx     |    4 +--
 binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx    |    2 -
 binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx        |    3 --
 binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx        |    2 -
 binfilter/bf_xmloff/source/forms/xmloff_officeforms.cxx        |    4 +--
 binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx     |    6 ++---
 binfilter/bf_xmloff/source/forms/xmloff_propertyimport.cxx     |    8 +++---
 14 files changed, 33 insertions(+), 35 deletions(-)

New commits:
commit 6e3a1ae281252a44c22fb08d895cc9fd08d82ccd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 21 11:50:18 2011 +0000

    WaE: mark this dir as warnings free

diff --git a/binfilter/bf_xmloff/source/forms/elementimport_impl.hxx b/binfilter/bf_xmloff/source/forms/elementimport_impl.hxx
index 1975bd6..d61520f 100644
--- a/binfilter/bf_xmloff/source/forms/elementimport_impl.hxx
+++ b/binfilter/bf_xmloff/source/forms/elementimport_impl.hxx
@@ -46,6 +46,7 @@ SvXMLImportContext* OContainerImport< BASE >::CreateChildContext(
 {
     // maybe it's a sub control
     if (_rLocalName == m_sWrapperElementName)
+    {
         if (m_xMeAsContainer.is())
             return implCreateControlWrapper(_nPrefix, _rLocalName);
         else
@@ -53,6 +54,7 @@ SvXMLImportContext* OContainerImport< BASE >::CreateChildContext(
             OSL_ENSURE(sal_False, "OContainerImport::CreateChildContext: don't have an element!");
             return NULL;
         }
+    }
 
     return BASE::CreateChildContext(_nPrefix, _rLocalName, _rxAttrList);
 }
@@ -98,7 +100,7 @@ template <class BASE>
 OColumnImport< BASE >::OColumnImport(IFormsImportContext& _rImport, IEventAttacherManager& _rEventManager, sal_uInt16 _nPrefix, const ::rtl::OUString& _rName,
         const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& _rxParentContainer,
         OControlElement::ElementType _eType,
-        const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rxOuterAttribs)
+        const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& /*_rxOuterAttribs*/)
     :BASE(_rImport, _rEventManager, _nPrefix, _rName, _rxParentContainer, _eType)
     ,m_xColumnFactory(_rxParentContainer, ::com::sun::star::uno::UNO_QUERY)
 {
diff --git a/binfilter/bf_xmloff/source/forms/makefile.mk b/binfilter/bf_xmloff/source/forms/makefile.mk
index dd5a9fb..8485daf 100644
--- a/binfilter/bf_xmloff/source/forms/makefile.mk
+++ b/binfilter/bf_xmloff/source/forms/makefile.mk
@@ -25,8 +25,6 @@
 #
 #*************************************************************************
 
-EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
-
 PRJ=..$/..$/..
 
 PRJNAME=binfilter
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx b/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx
index 201ff61..2a9ab41 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_controlpropertyhdl.cxx
@@ -140,7 +140,7 @@ namespace xmloff
             sal_Bool bBelow = 0 != (nFontEmphasis & FontEmphasisMark::BELOW);
 
             // convert
-            if (bSuccess = _rUnitConverter.convertEnum(aReturn, nType, OEnumMapper::getEnumMap(OEnumMapper::epFontEmphasis), XML_NONE))
+            if ((bSuccess = _rUnitConverter.convertEnum(aReturn, nType, OEnumMapper::getEnumMap(OEnumMapper::epFontEmphasis), XML_NONE)))
             {
                 aReturn.append( (sal_Unicode)' ' );
                 aReturn.append( GetXMLToken(bBelow ? XML_BELOW : XML_ABOVE) );
@@ -263,7 +263,7 @@ namespace xmloff
         sal_Bool bSuccess = sal_False;
 
         sal_Int32 nWidth = 0;
-        if (bSuccess = _rUnitConverter.convertMeasure(nWidth, _rStrImpValue, MAP_POINT))
+        if ((bSuccess = _rUnitConverter.convertMeasure(nWidth, _rStrImpValue, MAP_POINT)))
             _rValue <<= (sal_Int16)nWidth;
 
         return bSuccess;
@@ -295,7 +295,7 @@ namespace xmloff
         sal_Bool bSucces = sal_False;
 
         double fValue;
-        if (bSucces = _rUnitConverter.convertDouble(fValue, _rStrImpValue))
+        if ((bSucces = _rUnitConverter.convertDouble(fValue, _rStrImpValue)))
         {
             fValue *= 10;
             _rValue <<= (float)fValue;
@@ -310,7 +310,7 @@ namespace xmloff
         float fAngle;
         sal_Bool bSuccess = sal_False;
 
-        if (bSuccess = (_rValue >>= fAngle))
+        if ((bSuccess = (_rValue >>= fAngle)))
         {
             ::rtl::OUStringBuffer sValue;
             _rUnitConverter.convertDouble(sValue, ((double)fAngle) / 10);
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_controlpropertymap.cxx b/binfilter/bf_xmloff/source/forms/xmloff_controlpropertymap.cxx
index e61ee13..e776047 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_controlpropertymap.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_controlpropertymap.cxx
@@ -48,7 +48,7 @@ namespace xmloff
 
 #define MAP_ASCII( name, prefix, token, type, context )  { name, sizeof(name)-1, prefix, token, type, context }
 #define MAP_CONST( name, prefix, token, type, context )  { name.ascii, name.length,	prefix, token, type, context }
-#define MAP_END()	{ NULL, 0, 0, XML_TOKEN_INVALID, 0 }
+#define MAP_END()	{ NULL, 0, 0, XML_TOKEN_INVALID, 0, 0 }
 
     XMLPropertyMapEntry* getControlStylePropertyMap_Access( )
     {
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx
index f227e06..c82f230 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx
@@ -232,12 +232,12 @@ namespace xmloff
         :OElementExport(_rContext, _rxControl, _rEvents)
         ,m_sControlId(_rControlId)
         ,m_sReferringControls(_rReferringControls)
+        ,m_nClassId(FormComponentType::CONTROL)
         ,m_nIncludeCommon(0)
         ,m_nIncludeDatabase(0)
         ,m_nIncludeSpecial(0)
         ,m_nIncludeEvents(0)
         ,m_nIncludeBindings(0)
-        ,m_nClassId(FormComponentType::CONTROL)
         ,m_pOuterElement(NULL)
     {
         OSL_ENSURE(m_xProps.is(), "OControlExport::OControlExport: invalid arguments!");
@@ -371,14 +371,14 @@ namespace xmloff
                 }
             }
             break;
+            default:
+            break;
         }
     }
 
     //---------------------------------------------------------------------
     void OControlExport::exportCommonControlAttributes()
     {
-        sal_Int32 i=0;
-
         // I decided to handle all the properties here with some static arrays describing the property-attribute
         // relations. This leads to somewhat ugly code :), but the only alternative I can think of right now
         // would require maps and O(log n) searches, which seems somewhat expensive as this code is used
@@ -403,7 +403,7 @@ namespace xmloff
             OSL_ENSURE( SAL_N_ELEMENTS(aStringPropertyNames) == SAL_N_ELEMENTS(nStringPropertyAttributeIds),
                         "OControlExport::exportCommonControlAttributes: somebody tampered with the maps (1)!");
 
-            for (i = 0; i < SAL_N_ELEMENTS(nStringPropertyAttributeIds); ++i)
+            for (size_t i = 0; i < SAL_N_ELEMENTS(nStringPropertyAttributeIds); ++i)
                 if (nStringPropertyAttributeIds[i] & m_nIncludeCommon)
                 {
                     exportStringPropertyAttribute(
@@ -440,7 +440,7 @@ namespace xmloff
             OSL_ENSURE((nIdCount == nNameCount) && (nNameCount == nFlagsCount),
                 "OControlExport::exportCommonControlAttributes: somebody tampered with the maps (2)!");
         #endif
-            for (i=0; i<SAL_N_ELEMENTS(nBooleanPropertyAttributeIds); ++i)
+            for (size_t i=0; i<SAL_N_ELEMENTS(nBooleanPropertyAttributeIds); ++i)
                 if (nBooleanPropertyAttributeIds[i] & m_nIncludeCommon)
                 {
                     exportBooleanPropertyAttribute(
@@ -483,7 +483,7 @@ namespace xmloff
             OSL_ENSURE((nIdCount == nNameCount) && (nNameCount == nDefaultCount),
                 "OControlExport::exportCommonControlAttributes: somebody tampered with the maps (3)!");
         #endif
-            for (i=0; i<SAL_N_ELEMENTS(nIntegerPropertyAttributeIds); ++i)
+            for (size_t i=0; i<SAL_N_ELEMENTS(nIntegerPropertyAttributeIds); ++i)
                 if (nIntegerPropertyAttributeIds[i] & m_nIncludeCommon)
                 {
                     exportInt16PropertyAttribute(
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_elementimport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_elementimport.cxx
index 25a41c6..f44b97e 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_elementimport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_elementimport.cxx
@@ -118,10 +118,10 @@ namespace xmloff
     OElementImport::OElementImport(IFormsImportContext& _rImport, IEventAttacherManager& _rEventManager, sal_uInt16 _nPrefix, const ::rtl::OUString& _rName,
             const Reference< XNameContainer >& _rxParentContainer)
         :OPropertyImport(_rImport, _nPrefix, _rName)
-        ,m_xParentContainer(_rxParentContainer)
         ,m_rFormImport(_rImport)
         ,m_rEventManager(_rEventManager)
         ,m_pStyleElement( NULL )
+        ,m_xParentContainer(_rxParentContainer)
     {
         OSL_ENSURE(m_xParentContainer.is(), "OElementImport::OElementImport: invalid parent container!");
     }
@@ -691,7 +691,7 @@ namespace xmloff
     OReferredControlImport::OReferredControlImport(
             IFormsImportContext& _rImport, IEventAttacherManager& _rEventManager, sal_uInt16 _nPrefix, const ::rtl::OUString& _rName,
             const Reference< XNameContainer >& _rxParentContainer,
-            OControlElement::ElementType _eType)
+            OControlElement::ElementType /*_eType*/)
         :OControlImport(_rImport, _rEventManager, _nPrefix, _rName, _rxParentContainer)
     {
     }
@@ -1190,15 +1190,15 @@ namespace xmloff
     OControlWrapperImport::OControlWrapperImport(IFormsImportContext& _rImport, IEventAttacherManager& _rEventManager, sal_uInt16 _nPrefix, const ::rtl::OUString& _rName,
             const Reference< XNameContainer >& _rxParentContainer)
         :SvXMLImportContext(_rImport.getGlobalContext(), _nPrefix, _rName)
-        ,m_rFormImport(_rImport)
         ,m_xParentContainer(_rxParentContainer)
+        ,m_rFormImport(_rImport)
         ,m_rEventManager(_rEventManager)
     {
     }
 
     //---------------------------------------------------------------------
     SvXMLImportContext* OControlWrapperImport::CreateChildContext(sal_uInt16 _nPrefix, const ::rtl::OUString& _rLocalName,
-        const Reference< sax::XAttributeList >& _rxAttrList)
+        const Reference< sax::XAttributeList >& /*_rxAttrList*/)
     {
         OControlImport* pReturn = implCreateChildContext(_nPrefix, _rLocalName, OElementNameMap::getElementType(_rLocalName));
         if (pReturn)
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_eventexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_eventexport.cxx
index 6b0c9fa..b2018a8 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_eventexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_eventexport.cxx
@@ -55,7 +55,6 @@ namespace xmloff
         const ScriptEventDescriptor* pEvents = _rEvents.getConstArray();
         ::rtl::OUString sName;
         ::rtl::OUString sLibrary, sLocalMacroName;
-        sal_Int32 nNameSeparatorPos(-1);
         for (sal_Int32 i=0; i<nEvents; ++i, ++pEvents)
         {
             // the name of the event is build from listener interface and listener method name
@@ -98,7 +97,7 @@ namespace xmloff
     }
 
     //---------------------------------------------------------------------
-    void SAL_CALL OEventDescriptorMapper::replaceByName( const ::rtl::OUString& _rNamee, const Any& _rElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException)
+    void SAL_CALL OEventDescriptorMapper::replaceByName( const ::rtl::OUString& /*_rNamee*/, const Any& /*_rElement*/ ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException)
     {
         throw IllegalArgumentException(
             ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "replacing is not implemented for this wrapper class." )), static_cast< ::cppu::OWeakObject* >(this), 1);
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_formattributes.cxx b/binfilter/bf_xmloff/source/forms/xmloff_formattributes.cxx
index 75b186b..e43d269 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_formattributes.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_formattributes.cxx
@@ -172,7 +172,7 @@ namespace xmloff
     }
 
     //---------------------------------------------------------------------
-    sal_uInt16 OAttributeMetaData::getBindingAttributeNamespace(sal_Int32 _nId)
+    sal_uInt16 OAttributeMetaData::getBindingAttributeNamespace(sal_Int32 /*_nId*/)
     {
         // nothing special here
         return XML_NAMESPACE_FORM;
@@ -299,7 +299,7 @@ namespace xmloff
     //---------------------------------------------------------------------
     OAttribute2Property::AttributeAssignment& OAttribute2Property::implAdd(
             const sal_Char* _pAttributeName, const ::rtl::OUString& _rPropertyName,
-            const ::com::sun::star::uno::Type& _rType, const ::rtl::OUString& _rDefaultString)
+            const ::com::sun::star::uno::Type& _rType, const ::rtl::OUString& /*_rDefaultString*/)
     {
         OSL_ENSURE(m_aKnownProperties.end() == m_aKnownProperties.find(::rtl::OUString::createFromAscii(_pAttributeName)),
             "OAttribute2Property::implAdd: already have this attribute!");
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx b/binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx
index b649e26..211869e 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_formcellbinding.cxx
@@ -125,7 +125,7 @@ namespace xmloff
     }
 
     //------------------------------------------------------------------------
-    bool FormCellBindingHelper::convertStringAddress( const ::rtl::OUString& _rAddressDescription, CellAddress& /* [out] */ _rAddress, sal_Int16 _nAssumeSheet ) const
+    bool FormCellBindingHelper::convertStringAddress( const ::rtl::OUString& _rAddressDescription, CellAddress& /* [out] */ _rAddress, sal_Int16 /*_nAssumeSheet*/ ) const
     {
         Any aAddress;
         return doConvertAddressRepresentations(
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
index 0124e10..c30b485 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
@@ -559,9 +559,8 @@ namespace xmloff
                 }
             }
         }
-        catch( const Exception&	e )
+        catch( const Exception&	)
         {
-            e;	// make compiler happy
             OSL_ENSURE( sal_False, "OFormLayerXMLExport_Impl::collectGridAutoStyles: error examining the grid colums!" );
         }
     }
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx
index a6ecfed..9b7b356 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx
@@ -494,7 +494,7 @@ namespace xmloff
 
     //---------------------------------------------------------------------
     SvXMLImportContext* OFormLayerXMLImport_Impl::createContext(const sal_uInt16 _nPrefix, const ::rtl::OUString& _rLocalName,
-        const Reference< sax::XAttributeList >& _rxAttribs)
+        const Reference< sax::XAttributeList >& /*_rxAttribs*/)
     {
         OSL_ENSURE(m_xForms.is(), "OFormLayerXMLImport_Impl::createContext: have no forms collection (did you use startPage?)!");
         OSL_ENSURE(0 == _rLocalName.compareToAscii("form"), "OFormLayerXMLImport_Impl::createContext: don't know the element name (must be \"form\")!");
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_officeforms.cxx b/binfilter/bf_xmloff/source/forms/xmloff_officeforms.cxx
index 486ee4e..e4f0107 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_officeforms.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_officeforms.cxx
@@ -54,8 +54,8 @@ namespace xmloff
     //=========================================================================
     TYPEINIT1(OFormsRootImport, SvXMLImportContext);
     //-------------------------------------------------------------------------
-    OFormsRootImport::OFormsRootImport( SvXMLImport& rImport, sal_uInt16 nPrfx, const ::rtl::OUString& rLocalName )
-        :SvXMLImportContext(rImport, nPrfx, rLocalName)
+    OFormsRootImport::OFormsRootImport( SvXMLImport& rInImport, sal_uInt16 nPrfx, const ::rtl::OUString& rLocalName )
+        :SvXMLImportContext(rInImport, nPrfx, rLocalName)
     {
     }
 
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
index 4435e1c..d93186b 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
@@ -241,12 +241,12 @@ namespace xmloff
                     if(TypeClass_VOID == aValue.getValueType().getTypeClass())
                     {
                         AddAttribute(XML_NAMESPACE_FORM, "property-is-void", ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "true" )));
-                        SvXMLElementExport aValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
+                        SvXMLElementExport aLclValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
                     }
                     else
                     {
                         sValue = implConvertAny(aValue);
-                        SvXMLElementExport aValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
+                        SvXMLElementExport aLclValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
                             // (no whitespace inside the tag)
                         m_rContext.getGlobalContext().GetDocHandler()->characters(sValue);
                     }
@@ -288,7 +288,7 @@ namespace xmloff
                     ::rtl::OUString sCurrent;
                     while (pSequenceIterator->hasMoreElements())
                     {
-                        SvXMLElementExport aValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
+                        SvXMLElementExport aLclValueTag(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, "property-value", sal_True, sal_False);
                             // (no whitespace inside the tag)
                         m_rContext.getGlobalContext().GetDocHandler()->characters(implConvertAny(pSequenceIterator->nextElement()));
                     }
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_propertyimport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_propertyimport.cxx
index e003e7b..a26e5f6 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_propertyimport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_propertyimport.cxx
@@ -114,14 +114,14 @@ namespace xmloff
     }
 
     //---------------------------------------------------------------------
-    void OPropertyImport::Characters(const ::rtl::OUString& _rChars)
+    void OPropertyImport::Characters(const ::rtl::OUString& /*_rChars*/)
     {
         // ignore them (should be whitespaces only)
         OSL_ENSURE(0 == _rChars.trim().getLength(), "OPropertyImport::Characters: non-whitespace characters!");
     }
 
     //---------------------------------------------------------------------
-    void OPropertyImport::handleAttribute(sal_uInt16 _nNamespaceKey, const ::rtl::OUString& _rLocalName, const ::rtl::OUString& _rValue)
+    void OPropertyImport::handleAttribute(sal_uInt16 /*_nNamespaceKey*/, const ::rtl::OUString& _rLocalName, const ::rtl::OUString& _rValue)
     {
         const OAttribute2Property::AttributeAssignment* pProperty = m_rContext.getAttributeMap().getAttributeTranslation(_rLocalName);
         if (pProperty)
@@ -328,7 +328,7 @@ namespace xmloff
 
     //---------------------------------------------------------------------
     SvXMLImportContext* OPropertyElementsContext::CreateChildContext(sal_uInt16 _nPrefix, const ::rtl::OUString& _rLocalName,
-        const Reference< sax::XAttributeList >& _rxAttrList)
+        const Reference< sax::XAttributeList >& /*_rxAttrList*/)
     {
         static const ::rtl::OUString s_sSinglePropertyElementName( RTL_CONSTASCII_USTRINGPARAM( "property" ));
         if (_rLocalName == s_sSinglePropertyElementName)
@@ -375,7 +375,7 @@ namespace xmloff
 
     //---------------------------------------------------------------------
     SvXMLImportContext* OSinglePropertyContext::CreateChildContext(sal_uInt16 _nPrefix, const ::rtl::OUString& _rLocalName,
-            const Reference< sax::XAttributeList >& _rxAttrList)
+            const Reference< sax::XAttributeList >& /*_rxAttrList*/)
     {
         static const ::rtl::OUString s_sPropertyValueElementName( RTL_CONSTASCII_USTRINGPARAM( "property-value" ));
         if (_rLocalName == s_sPropertyValueElementName)


More information about the Libreoffice-commits mailing list