[ooo-build-commit] .: dbaccess/source

Thorsten Behrens thorsten at kemper.freedesktop.org
Thu Oct 7 03:45:24 PDT 2010


 dbaccess/source/ui/dlg/ExtensionNotPresent.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 525ec67a47f2a4e66cb7713826e1b02561bbd859
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Thu Oct 7 12:27:45 2010 +0200

    Webservice URLs now point to documentfoundation
    
    Changed places referencing OOo webservices to refer to
    *.documentfoundation.org instead. Also, append coutry string to URL.

diff --git a/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx b/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx
index 472263b..6f5bdda 100644
--- a/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx
+++ b/dbaccess/source/ui/dlg/ExtensionNotPresent.cxx
@@ -44,6 +44,7 @@
 #include <unotools/syslocale.hxx>
 #include <svx/globlmn.hrc>
 #include <svx/svxids.hrc>
+#include <svtools/langhelp.hxx>
 #include <tools/debug.hxx>
 #include <tools/diagnose_ex.h>
 #include <unotools/confignode.hxx>
@@ -198,10 +199,11 @@ IMPL_LINK( OExtensionNotPresentDialog, Download_Click, PushButton*, EMPTYARG )
         if (suDownloadURL.getLength() == 0)
         {
             // fallback
-            suDownloadURL = UNISTRING("http://extensions.services.openoffice.org");
+            suDownloadURL = UNISTRING("http://extensions.documentfoundation.org");
         }
         
         // open such URL in a browser
+        localizeWebserviceURI(suDownloadURL);
         uno::Reference< com::sun::star::system::XSystemShellExecute > xShellExecute( getShellExecuter() );
         xShellExecute->execute( suDownloadURL, ::rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS );
     }


More information about the ooo-build-commit mailing list