summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/elementimport.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/forms/elementimport.cxx
parentb2d0d7172a7fb3db7370b9dbe5733ff7c9689a2e (diff)
loplugin:staticcall
Change-Id: I7691a6d267ea572e3fdd028c1cfae7b721a76da7
Diffstat (limited to 'xmloff/source/forms/elementimport.cxx')
-rw-r--r--xmloff/source/forms/elementimport.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 201291e3012b..1d1dc065a0b7 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -949,7 +949,7 @@ namespace xmloff
_rPropValue.Value <<= sValue;
}
else
- _rPropValue.Value = PropertyConversion::convertString(GetImport(), aProp.Type, sValue);
+ _rPropValue.Value = PropertyConversion::convertString(aProp.Type, sValue);
}
void OControlImport::EndElement()
@@ -1125,7 +1125,7 @@ namespace xmloff
if ( _rLocalName == GetXMLToken( XML_IMAGE_POSITION ) )
{
OSL_VERIFY( PropertyConversion::convertString(
- m_rContext.getGlobalContext(), ::getCppuType( &m_nImagePosition ),
+ ::getCppuType( &m_nImagePosition ),
_rValue, OEnumMapper::getEnumMap( OEnumMapper::epImagePosition )
) >>= m_nImagePosition );
m_bHaveImagePosition = true;
@@ -1135,7 +1135,7 @@ namespace xmloff
if ( _rLocalName == GetXMLToken( XML_IMAGE_ALIGN ) )
{
OSL_VERIFY( PropertyConversion::convertString(
- m_rContext.getGlobalContext(), ::getCppuType( &m_nImageAlign ),
+ ::getCppuType( &m_nImageAlign ),
_rValue, OEnumMapper::getEnumMap( OEnumMapper::epImageAlign )
) >>= m_nImageAlign );
return true;
@@ -1243,7 +1243,7 @@ namespace xmloff
OSL_ENSURE(pProperty, "ORadioImport::handleAttribute: invalid property map!");
if (pProperty)
{
- const Any aBooleanValue( PropertyConversion::convertString(m_rContext.getGlobalContext(), pProperty->aPropertyType, _rValue, pProperty->pEnumMap) );
+ const Any aBooleanValue( PropertyConversion::convertString(pProperty->aPropertyType, _rValue, pProperty->pEnumMap) );
// create and store a new PropertyValue
PropertyValue aNewValue;
@@ -1673,7 +1673,6 @@ namespace xmloff
{
sal_Int16 nLinkageType = 0;
PropertyConversion::convertString(
- m_rContext.getGlobalContext(),
::cppu::UnoType<sal_Int16>::get(),
_rValue,
OEnumMapper::getEnumMap( OEnumMapper::epListLinkageType )