diff options
Diffstat (limited to 'forms/source/xforms/model.cxx')
-rw-r--r-- | forms/source/xforms/model.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 53e7239f6d4a..9a18fdfb456a 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -74,7 +74,7 @@ using com::sun::star::beans::UnknownPropertyException; using com::sun::star::util::VetoException; using com::sun::star::lang::WrappedTargetException; using com::sun::star::lang::IllegalArgumentException; -using com::sun::star::ucb::XSimpleFileAccess2; +using com::sun::star::ucb::XSimpleFileAccess3; using com::sun::star::ucb::SimpleFileAccess; using com::sun::star::io::XInputStream; @@ -409,7 +409,7 @@ void Model::loadInstance( sal_Int32 nInstance ) try { Reference<XInputStream> xInput = - Reference<XSimpleFileAccess2>( SimpleFileAccess::create( ::comphelper::getProcessComponentContext() ) )->openFileRead( sURL ); + Reference<XSimpleFileAccess3>( SimpleFileAccess::create( ::comphelper::getProcessComponentContext() ) )->openFileRead( sURL ); if( xInput.is() ) { Reference<XDocument> xInstance = |