loplugin:staticmethods: xmloff

Change-Id: Iad001ce011cd6aff4af9bb2e9129abee7fb935dc
This commit is contained in:
Stephan Bergmann
2016-10-07 11:57:40 +02:00
parent ac9c9de9af
commit 51e472296b
5 changed files with 8 additions and 8 deletions

View File

@@ -37,14 +37,14 @@ public:
XMLImageStyle();
~XMLImageStyle();
void exportXML( const OUString& rStrName, const css::uno::Any& rValue, SvXMLExport& rExport );
void importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName, SvXMLImport& rImport );
static void exportXML( const OUString& rStrName, const css::uno::Any& rValue, SvXMLExport& rExport );
static void importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName, SvXMLImport& rImport );
private:
SAL_DLLPRIVATE void ImpExportXML( const OUString& rStrName, const css::uno::Any& rValue,
SAL_DLLPRIVATE static void ImpExportXML( const OUString& rStrName, const css::uno::Any& rValue,
SvXMLExport& rExport );
SAL_DLLPRIVATE bool ImpImportXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
SAL_DLLPRIVATE static bool ImpImportXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
css::uno::Any& rValue, OUString& rStrName,
SvXMLImport& rImport );
};

View File

@@ -211,7 +211,7 @@ private:
SAL_DLLPRIVATE void ImpExportNewTrans(const css::uno::Reference< css::beans::XPropertySet >& xPropSet, XMLShapeExportFlags nFeatures, css::awt::Point* pRefPoint);
SAL_DLLPRIVATE void ImpExportNewTrans_GetB2DHomMatrix(::basegfx::B2DHomMatrix& rMatrix, const css::uno::Reference< css::beans::XPropertySet >& xPropSet);
SAL_DLLPRIVATE void ImpExportNewTrans_DecomposeAndRefPoint(const ::basegfx::B2DHomMatrix& rMat, ::basegfx::B2DTuple& rTRScale, double& fTRShear, double& fTRRotate, ::basegfx::B2DTuple& rTRTranslate, css::awt::Point* pRefPoint);
SAL_DLLPRIVATE static void ImpExportNewTrans_DecomposeAndRefPoint(const ::basegfx::B2DHomMatrix& rMat, ::basegfx::B2DTuple& rTRScale, double& fTRShear, double& fTRRotate, ::basegfx::B2DTuple& rTRTranslate, css::awt::Point* pRefPoint);
SAL_DLLPRIVATE void ImpExportNewTrans_FeaturesAndWrite(::basegfx::B2DTuple& rTRScale, double fTRShear, double fTRRotate, ::basegfx::B2DTuple& rTRTranslate, const XMLShapeExportFlags nFeatures);
SAL_DLLPRIVATE bool ImpExportPresentationAttributes( const css::uno::Reference< css::beans::XPropertySet >& xPropSet, const OUString& rClass );
SAL_DLLPRIVATE void ImpExportText( const css::uno::Reference< css::drawing::XShape >& xShape, TextPNS eExtensionNS = TextPNS::ODF );

View File

@@ -57,7 +57,7 @@ class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport
protected:
/// Override this to add attributes to the <list-style> element.
SAL_DLLPRIVATE void AddListStyleAttributes();
SAL_DLLPRIVATE static void AddListStyleAttributes();
SAL_DLLPRIVATE void exportStyle( const css::uno::Reference< css::style::XStyle >& rStyle );
SAL_DLLPRIVATE void exportOutline();

View File

@@ -1641,7 +1641,7 @@ void SvXMLExport::ExportStyles_( bool )
{
uno::Any aValue = xBitmap->getByName( rStrName );
aImageStyle.exportXML( rStrName, aValue, *this );
XMLImageStyle::exportXML( rStrName, aValue, *this );
}
catch(const container::NoSuchElementException&)
{

View File

@@ -126,7 +126,7 @@ XMLBitmapStyleContext::XMLBitmapStyleContext( SvXMLImport& rImport, sal_uInt16 n
{
// start import
XMLImageStyle aBitmapStyle;
aBitmapStyle.importXML( xAttrList, maAny, maStrName, rImport );
XMLImageStyle::importXML( xAttrList, maAny, maStrName, rImport );
}
XMLBitmapStyleContext::~XMLBitmapStyleContext()