diff options
Diffstat (limited to 'xmloff/source/core/xmlimp.cxx')
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index a58f32ba861b..3c1e8bb0c6ea 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -1399,33 +1399,6 @@ uno::Reference<graphic::XGraphic> SvXMLImport::loadGraphicFromBase64(uno::Refere return xGraphic; } -OUString SvXMLImport::ResolveGraphicObjectURL( const OUString& rURL, - bool bLoadOnDemand ) -{ - OUString sRet; - - if( IsPackageURL( rURL ) ) - { - if( !bLoadOnDemand && mxGraphicResolver.is() ) - { - OUString aTmp( msPackageProtocol ); - aTmp += rURL; - sRet = mxGraphicResolver->resolveGraphicObjectURL( aTmp ); - } - - if( sRet.isEmpty() ) - { - sRet = msPackageProtocol; - sRet += rURL; - } - } - - if( sRet.isEmpty() ) - sRet = GetAbsoluteReference( rURL ); - - return sRet; -} - Reference< XOutputStream > SvXMLImport::GetStreamForGraphicObjectURLFromBase64() { Reference< XOutputStream > xOStm; @@ -1437,17 +1410,6 @@ Reference< XOutputStream > SvXMLImport::GetStreamForGraphicObjectURLFromBase64() return xOStm; } -OUString SvXMLImport::ResolveGraphicObjectURLFromBase64( - const Reference < XOutputStream >& rOut ) -{ - OUString sURL; - Reference< document::XBinaryStreamResolver > xStmResolver( mxGraphicResolver, UNO_QUERY ); - if( xStmResolver.is() ) - sURL = xStmResolver->resolveOutputStream( rOut ); - - return sURL; -} - OUString SvXMLImport::ResolveEmbeddedObjectURL( const OUString& rURL, const OUString& rClassId ) |