Kaydet (Commit) 63a73c11 authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

Hopefully fix the remote config access to work with the new schema.

Change-Id: I0f7e355c4a50ea51c386e9db02047e130b354a26
üst 34abe04f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment