diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-18 20:15:16 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-18 20:15:16 +0200 |
commit | 63a73c119c188e6a4b22fb99fc2571f200073bde (patch) | |
tree | cc60e2c79077c16bf8c23da4bb6431583945204d /sd/source/ui/remotecontrol | |
parent | 34abe04f1c7fde015b87c117a8b3c9ad076627e7 (diff) |
Hopefully fix the remote config access to work with the new schema.
Change-Id: I0f7e355c4a50ea51c386e9db02047e130b354a26
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index c2f62a7f0eb8..f072f27c9f4d 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -11,7 +11,7 @@ #include <vector> #include "officecfg/Office/Common.hxx" -#include "officecfg/Office/Impress.hxx" +#include "officecfg/Office/Impress-sdremote.hxx" #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNameContainer.hpp> @@ -125,7 +125,7 @@ void RemoteServer::execute() while ( aLine.getLength() > 0 ); // Check if we already have this server. - Reference< XNameAccess > xConfig = officecfg::Office::Impress::Misc::AuthorisedRemotes::get(); + Reference< XNameAccess > xConfig = officecfg::Office::Impress-sdremote::Content::AuthorisedRemotes::get(); Sequence< OUString > aNames = xConfig->getElementNames(); bool aFound = false; for ( int i = 0; i < aNames.getLength(); i++ ) @@ -232,7 +232,7 @@ sal_Bool RemoteServer::connectClient( ClientInfo* pClient, rtl::OUString aPin ) { // Save in settings first boost::shared_ptr< ConfigurationChanges > aChanges = ConfigurationChanges::create(); - Reference< XNameContainer > xConfig = officecfg::Office::Impress::Misc::AuthorisedRemotes::get( aChanges ); + Reference< XNameContainer > xConfig = officecfg::Office::Impress-sdremote::Content::AuthorisedRemotes::get( aChanges ); Reference<XSingleServiceFactory> xChildFactory ( xConfig, UNO_QUERY); |