summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-15 16:18:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 09:46:59 +0200
commitfd226710fef768543a3ad0fe5081f79dc875dcf3 (patch)
tree463912376064f3044046300597dd21d05c7a4ca9 /xmloff/source/draw
parent38b8c6e969242fa2541e1dc751b49c00f3f17290 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I4b877ab97259f7e031e34daf7ce93e1b59417a08
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx1
-rw-r--r--xmloff/source/draw/sdpropls.cxx4
-rw-r--r--xmloff/source/draw/sdpropls.hxx5
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/draw/sdxmlimp_impl.hxx3
-rw-r--r--xmloff/source/draw/shapeexport.cxx6
-rw-r--r--xmloff/source/draw/ximpshap.cxx3
-rw-r--r--xmloff/source/draw/ximpshap.hxx1
8 files changed, 6 insertions, 19 deletions
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx
index 6ef4815fb6d1..83576abb2673 100644
--- a/xmloff/source/draw/XMLNumberStyles.cxx
+++ b/xmloff/source/draw/XMLNumberStyles.cxx
@@ -600,7 +600,6 @@ TYPEINIT1( SdXMLNumberFormatImportContext, SvXMLImportContext );
SdXMLNumberFormatImportContext::SdXMLNumberFormatImportContext( SdXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLocalName, SvXMLNumImpData* pNewData, sal_uInt16 nNewType, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList, SvXMLStylesContext& rStyles)
: SvXMLNumFormatContext(rImport, nPrfx, rLocalName, pNewData, nNewType, xAttrList, rStyles),
- mrImport( rImport ),
mbAutomatic( sal_False ),
mnIndex(0),
mnKey( -1 )
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 82f5476f09e5..37bd435a9241 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -1186,10 +1186,8 @@ XMLShapePropertySetMapper::~XMLShapePropertySetMapper()
// ----------------------------------------
-XMLShapeExportPropertyMapper::XMLShapeExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, XMLTextListAutoStylePool *pListAutoPool, SvXMLExport& rExport )
+XMLShapeExportPropertyMapper::XMLShapeExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport )
: SvXMLExportPropertyMapper( rMapper )
-, mpListAutoPool( pListAutoPool )
-, mrExport( rExport )
, maNumRuleExp( rExport )
, mbIsInAutoStyles( sal_True )
, msCDATA( GetXMLToken(XML_CDATA))
diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx
index e85115695181..5980a49822c6 100644
--- a/xmloff/source/draw/sdpropls.hxx
+++ b/xmloff/source/draw/sdpropls.hxx
@@ -36,7 +36,6 @@
#include <xmloff/xmlement.hxx>
#include <xmloff/prhdlfac.hxx>
#include <xmloff/xmlprmap.hxx>
-#include "xmloff/XMLTextListAutoStylePool.hxx"
#include <xmloff/xmlexppr.hxx>
//////////////////////////////////////////////////////////////////////////////
@@ -260,8 +259,6 @@ public:
class XMLShapeExportPropertyMapper : public SvXMLExportPropertyMapper
{
private:
- XMLTextListAutoStylePool *mpListAutoPool;
- SvXMLExport& mrExport;
SvxXMLNumRuleExport maNumRuleExp;
sal_Bool mbIsInAutoStyles;
@@ -275,7 +272,7 @@ protected:
::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > rPropSet ) const;
public:
- XMLShapeExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, XMLTextListAutoStylePool *pListAutoPool, SvXMLExport& rExport );
+ XMLShapeExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper, SvXMLExport& rExport );
virtual ~XMLShapeExportPropertyMapper();
virtual void handleElementItem(
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 950978771a78..eed9efd5442d 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -456,7 +456,7 @@ void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent
// construct PropertySetMapper
UniReference < XMLPropertySetMapper > xMapper = new XMLShapePropertySetMapper( aFactoryRef);
- mpPropertySetMapper = new XMLShapeExportPropertyMapper( xMapper, (XMLTextListAutoStylePool*)&GetTextParagraphExport()->GetListAutoStylePool(), *this );
+ mpPropertySetMapper = new XMLShapeExportPropertyMapper( xMapper, *this );
// set lock to avoid deletion
mpPropertySetMapper->acquire();
diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx
index f13524a4d3d8..6a9250117cae 100644
--- a/xmloff/source/draw/sdxmlimp_impl.hxx
+++ b/xmloff/source/draw/sdxmlimp_impl.hxx
@@ -201,13 +201,10 @@ class SdXMLImport: public SvXMLImport
SvXMLTokenMap* mpDocElemTokenMap;
SvXMLTokenMap* mpBodyElemTokenMap;
SvXMLTokenMap* mpStylesElemTokenMap;
- SvXMLTokenMap* mpAutoStylesElemTokenMap;
SvXMLTokenMap* mpMasterPageElemTokenMap;
SvXMLTokenMap* mpMasterPageAttrTokenMap;
SvXMLTokenMap* mpPageMasterAttrTokenMap;
SvXMLTokenMap* mpPageMasterStyleAttrTokenMap;
- SvXMLTokenMap* mpDocStyleAttrTokenMap;
- SvXMLTokenMap* mpDocStyleElemTokenMap;
SvXMLTokenMap* mpDrawPageAttrTokenMap;
SvXMLTokenMap* mpDrawPageElemTokenMap;
SvXMLTokenMap* mpPresentationPlaceholderAttrTokenMap;
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index bec909b5f1ba..606164b621e2 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -1025,9 +1025,7 @@ SvXMLExportPropertyMapper* XMLShapeExport::CreateShapePropMapper(
UniReference< XMLPropertyHandlerFactory > xFactory = new XMLSdPropHdlFactory( rExport.GetModel(), rExport );
UniReference < XMLPropertySetMapper > xMapper = new XMLShapePropertySetMapper( xFactory );
SvXMLExportPropertyMapper* pResult =
- new XMLShapeExportPropertyMapper( xMapper,
- (XMLTextListAutoStylePool*)&rExport.GetTextParagraphExport()->GetListAutoStylePool(),
- rExport );
+ new XMLShapeExportPropertyMapper( xMapper, rExport );
// chain text attributes
return pResult;
}
@@ -1275,7 +1273,7 @@ const rtl::Reference< XMLTableExport >& XMLShapeExport::GetShapeTableExport()
{
rtl::Reference< XMLPropertyHandlerFactory > xFactory( new XMLSdPropHdlFactory( mrExport.GetModel(), mrExport ) );
UniReference < XMLPropertySetMapper > xMapper( new XMLShapePropertySetMapper( xFactory.get() ) );
- rtl::Reference< SvXMLExportPropertyMapper > xPropertySetMapper( new XMLShapeExportPropertyMapper( xMapper, (XMLTextListAutoStylePool*)&mrExport.GetTextParagraphExport()->GetListAutoStylePool(), mrExport ) );
+ rtl::Reference< SvXMLExportPropertyMapper > xPropertySetMapper( new XMLShapeExportPropertyMapper( xMapper, mrExport ) );
mxShapeTableExport = new XMLTableExport( mrExport, xPropertySetMapper, xFactory );
}
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 8623a17a8ee5..a7434c088033 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -1368,8 +1368,7 @@ SdXMLPathShapeContext::SdXMLPathShapeContext(
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
uno::Reference< drawing::XShapes >& rShapes,
sal_Bool bTemporaryShape)
-: SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ),
- mbClosed( sal_True )
+: SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape )
{
}
diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx
index c86ed7915950..e9d1e324c76a 100644
--- a/xmloff/source/draw/ximpshap.hxx
+++ b/xmloff/source/draw/ximpshap.hxx
@@ -229,7 +229,6 @@ class SdXMLPathShapeContext : public SdXMLShapeContext
{
rtl::OUString maD;
rtl::OUString maViewBox;
- sal_Bool mbClosed;
public:
TYPEINFO();