summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLAxisContext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:53:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:37 +0200
commitc21979a3279953ec28fc3d6e379b9a3ba98c4fd3 (patch)
tree69cd0929d5d6acfe96af2cdd77e2d4ab1e4c6ba0 /xmloff/source/chart/SchXMLAxisContext.cxx
parentb2d0d7172a7fb3db7370b9dbe5733ff7c9689a2e (diff)
loplugin:staticcall
Change-Id: I7691a6d267ea572e3fdd028c1cfae7b721a76da7
Diffstat (limited to 'xmloff/source/chart/SchXMLAxisContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 0308c8e15dc4..5dc939ecfaef 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -225,7 +225,7 @@ void SchXMLAxisContext::CreateGrid( const OUString& sAutoStyleName, bool bIsMajo
if( pStylesCtxt )
{
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
- m_rImportHelper.GetChartFamilyID(), sAutoStyleName );
+ SchXMLImportHelper::GetChartFamilyID(), sAutoStyleName );
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
(( XMLPropStyleContext* )pStyle )->FillPropertySet( xGridProp );
@@ -270,7 +270,6 @@ void SchXMLAxisContext::StartElement( const Reference< xml::sax::XAttributeList
{
// parse attributes
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
- SchXMLImport& rImport = ( SchXMLImport& )GetImport();
const SvXMLTokenMap& rAttrTokenMap = theAxisAttributeTokenMap::get();
for( sal_Int16 i = 0; i < nAttrCount; i++ )
@@ -285,7 +284,7 @@ void SchXMLAxisContext::StartElement( const Reference< xml::sax::XAttributeList
case XML_TOK_AXIS_DIMENSION:
{
sal_uInt16 nEnumVal;
- if( rImport.GetMM100UnitConverter().convertEnum( nEnumVal, aValue, aXMLAxisDimensionMap ))
+ if( SvXMLUnitConverter::convertEnum( nEnumVal, aValue, aXMLAxisDimensionMap ))
m_aCurrentAxis.eDimension = ( SchXMLAxisDimension )nEnumVal;
}
break;
@@ -295,7 +294,7 @@ void SchXMLAxisContext::StartElement( const Reference< xml::sax::XAttributeList
case XML_TOK_AXIS_TYPE:
case XML_TOK_AXIS_TYPE_EXT:
sal_uInt16 nEnumVal;
- if( rImport.GetMM100UnitConverter().convertEnum( nEnumVal, aValue, aXMLAxisTypeMap ))
+ if( SvXMLUnitConverter::convertEnum( nEnumVal, aValue, aXMLAxisTypeMap ))
{
m_nAxisType = nEnumVal;
m_bAxisTypeImported = true;
@@ -472,7 +471,7 @@ void SchXMLAxisContext::CreateAxis()
if( pStylesCtxt )
{
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
- m_rImportHelper.GetChartFamilyID(), m_aAutoStyleName );
+ SchXMLImportHelper::GetChartFamilyID(), m_aAutoStyleName );
if( pStyle && pStyle->ISA( XMLPropStyleContext ))
{