Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
63a73c11
Kaydet (Commit)
63a73c11
authored
Eyl 18, 2012
tarafından
Andrzej J.R. Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Hopefully fix the remote config access to work with the new schema.
Change-Id: I0f7e355c4a50ea51c386e9db02047e130b354a26
üst
34abe04f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Server.cxx
sd/source/ui/remotecontrol/Server.cxx
+3
-3
No files found.
sd/source/ui/remotecontrol/Server.cxx
Dosyayı görüntüle @
63a73c11
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment