diff options
Diffstat (limited to 'forms/source/xforms/datatyperepository.cxx')
-rw-r--r-- | forms/source/xforms/datatyperepository.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/forms/source/xforms/datatyperepository.cxx b/forms/source/xforms/datatyperepository.cxx index 76b9715ee48c..aba911c3f714 100644 --- a/forms/source/xforms/datatyperepository.cxx +++ b/forms/source/xforms/datatyperepository.cxx @@ -36,7 +36,6 @@ namespace xforms using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Type; - using ::com::sun::star::uno::makeAny; using ::com::sun::star::uno::Sequence; using ::com::sun::star::util::VetoException; using ::com::sun::star::container::NoSuchElementException; @@ -53,7 +52,7 @@ namespace xforms m_aRepository[ sName ] = new OStringType( sName, css::xsd::DataTypeClass::STRING ); sName = ResourceManager::loadString(RID_STR_DATATYPE_URL); - m_aRepository[ sName ] = new OStringType( sName, css::xsd::DataTypeClass::anyURI ); + m_aRepository[ sName ] = new OAnyURIType( sName, css::xsd::DataTypeClass::anyURI ); sName = ResourceManager::loadString(RID_STR_DATATYPE_BOOLEAN); m_aRepository[ sName ] = new OBooleanType( sName ); @@ -166,7 +165,7 @@ namespace xforms Any SAL_CALL ODataTypeRepository::getByName( const OUString& aName ) { - return makeAny( getDataType( aName ) ); + return Any( getDataType( aName ) ); } |