diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-23 08:33:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-23 09:58:25 +0200 |
commit | fcd990f208be4430157dca2d6093337f21cb079b (patch) | |
tree | 8b132e4081b8f4d9cc4f8aa71f6d937d4f65ef03 /extensions | |
parent | fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instances (diff) | |
download | core-fcd990f208be4430157dca2d6093337f21cb079b.tar.gz core-fcd990f208be4430157dca2d6093337f21cb079b.zip |
Some clean up after previous commit
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/nsplugin/source/so_instance.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/source/nsplugin/source/so_instance.cxx b/extensions/source/nsplugin/source/so_instance.cxx index 80bc51dc1dd8..cc545c8cf0c1 100644 --- a/extensions/source/nsplugin/source/so_instance.cxx +++ b/extensions/source/nsplugin/source/so_instance.cxx @@ -241,11 +241,6 @@ sal_Bool SoPluginInstance::LoadDocument(NSP_HWND hParent) Reference< beans::XPropertySet > xFactoryProperties( mxRemoteMSF, uno::UNO_QUERY ); Reference< uno::XComponentContext > xContext( xFactoryProperties->getPropertyValue( "DefaultContext" ), UNO_QUERY ); Reference< ucb::XSimpleFileAccess2 > xSimpleFileAccess( ucb::SimpleFileAccess::create(xContext) ); - if(!xSimpleFileAccess.is()) - { - debug_fprintf(NSP_LOG_APPEND, "can not create SimpleFileAccess to load URL\n"); - return sal_False; - } Reference<io::XInputStream> xInputStream = xSimpleFileAccess->openFileRead( m_sURL ); if(!xInputStream.is()) |