diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xsltdialog/xmlfilterjar.cxx | 2 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertabpagexslt.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx index 0e0dd4cbbde5..edb18f7d4047 100644 --- a/filter/source/xsltdialog/xmlfilterjar.cxx +++ b/filter/source/xsltdialog/xmlfilterjar.cxx @@ -127,7 +127,7 @@ void XMLFilterJarHelper::addFile( Reference< XInterface > xRootFolder, Reference if( !aFileURL.matchIgnoreAsciiCase( OUString("file://") ) ) { - aFileURL = URIHelper::SmartRel2Abs( sProgPath, aFileURL, Link(), false ); + aFileURL = URIHelper::SmartRel2Abs( INetURLObject(sProgPath), aFileURL, Link(), false ); } INetURLObject aURL( aFileURL ); diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx index 317dba8a3839..edb9ffe896eb 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx @@ -113,7 +113,7 @@ void XMLFilterTabPageXSLT::SetURL( SvtURLBox* rURLBox, const OUString& rURL ) else if( !rURL.isEmpty() ) { OUString aURL( rURL ); - aURL = URIHelper::SmartRel2Abs( sInstPath, aURL, Link(), false ); + aURL = URIHelper::SmartRel2Abs( INetURLObject(sInstPath), aURL, Link(), false ); osl::FileBase::getSystemPathFromFileURL( aURL, aPath ); rURLBox->SetBaseURL( aURL ); |