[PATCH] fix nsplugin to create correct com.sun.star.ucb.SimpleFileAccess instance

Rene Engelhard rene at debian.org
Wed Feb 29 14:19:00 PST 2012


---
 extensions/source/nsplugin/source/so_instance.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/source/nsplugin/source/so_instance.cxx b/extensions/source/nsplugin/source/so_instance.cxx
index b87b83f..8b243ae 100644
--- a/extensions/source/nsplugin/source/so_instance.cxx
+++ b/extensions/source/nsplugin/source/so_instance.cxx
@@ -239,7 +239,7 @@ sal_Bool SoPluginInstance::LoadDocument(NSP_HWND hParent)

         //create stream for the document
         Reference< ::com::sun::star::ucb::XSimpleFileAccess > xSimpleFileAccess(
-            mxRemoteMSF->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccessw")) ),
+            mxRemoteMSF->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccess")) ),
             uno::UNO_QUERY );
         if(!xSimpleFileAccess.is())
         {
--
1.7.2.5

Please sign-off for -3-5-1 and 3-4 (Q: does -3-4 need 1 or 3 reviews?)

Regards,

Rene


More information about the LibreOffice mailing list