diff options
author | Matus Kukan <matus.kukan@gmail.com> | 2011-07-02 17:21:45 +0200 |
---|---|---|
committer | Matus Kukan <matus.kukan@gmail.com> | 2011-07-07 09:47:32 +0200 |
commit | ccfdbe97d8455291f925930dc0421f87529f7afd (patch) | |
tree | 60672fd73b87eef2b613f8c5a58b3b8313f0b17e /framework/source/services | |
parent | f38e701e4784c8ecb8f4adf68ac5881d6ddca69a (diff) |
Remove online registration related code
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 19 | ||||
-rw-r--r-- | framework/source/services/backingwindow.hxx | 1 |
2 files changed, 0 insertions, 20 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 32616a1e1d5e..a475abd93ae3 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -905,25 +905,6 @@ IMPL_LINK( BackingWindow, ToolboxHdl, void*, EMPTYARG ) pNodePath = "/org.openoffice.Office.Common/Help/StartCenter"; pNode = "AddFeatureURL"; break; - case nItemId_Reg: - try - { - // create the Desktop component which can load components - Reference < lang::XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - if( xFactory.is() ) - { - Reference< task::XJobExecutor > xProductRegistration( - xFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.setup.ProductRegistration" ) ) ), - UNO_QUERY_THROW ); - - // tell it that the user wants to register - xProductRegistration->trigger( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RegistrationRequired" ) ) ); - } - } - catch (const Exception&) - { - } - break; case nItemId_Info: pNodePath = "/org.openoffice.Office.Common/Help/StartCenter"; pNode = "InfoURL"; diff --git a/framework/source/services/backingwindow.hxx b/framework/source/services/backingwindow.hxx index 5eebccb80c5f..410862f51aaa 100644 --- a/framework/source/services/backingwindow.hxx +++ b/framework/source/services/backingwindow.hxx @@ -135,7 +135,6 @@ namespace framework std::vector< LoadRecentFile > maRecentFiles; static const int nItemId_Extensions = 1; - static const int nItemId_Reg = 2; static const int nItemId_Info = 3; static const int nItemId_TplRep = 4; static const int nShadowTop = 32; |