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
994723a9
Kaydet (Commit)
994723a9
authored
Şub 07, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sdremote: Disable Impress Remote in the menu also when not allowed in Options.
Change-Id: Ida8a3847a54c5415e1802a6688e110202bac35c1
üst
576943b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
Server.cxx
sd/source/ui/remotecontrol/Server.cxx
+3
-4
drviews7.cxx
sd/source/ui/view/drviews7.cxx
+9
-2
No files found.
sd/source/ui/remotecontrol/Server.cxx
Dosyayı görüntüle @
994723a9
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
#include <algorithm>
#include <algorithm>
#include <vector>
#include <vector>
#include
"officecfg/Office/Common.hxx"
#include
<officecfg/Office/Common.hxx>
#include
"officecfg/Office/Impress.hxx"
#include
<officecfg/Office/Impress.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
...
@@ -305,12 +305,11 @@ void SdDLL::RegisterRemotes()
...
@@ -305,12 +305,11 @@ void SdDLL::RegisterRemotes()
// Disable unless in experimental mode for now
// Disable unless in experimental mode for now
SAL_INFO
(
"sdremote"
,
"SdDLL::RegisterRemotes called"
);
SAL_INFO
(
"sdremote"
,
"SdDLL::RegisterRemotes called"
);
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
=
comphelper
::
getProcessComponentContext
();
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
=
comphelper
::
getProcessComponentContext
();
if
(
!
xContext
.
is
()
||
!
officecfg
::
Office
::
Impress
::
Misc
::
Start
::
EnableSdremote
::
get
(
xContext
)
)
if
(
xContext
.
is
()
&&
!
officecfg
::
Office
::
Impress
::
Misc
::
Start
::
EnableSdremote
::
get
(
xContext
)
)
return
;
return
;
sd
::
RemoteServer
::
setup
();
sd
::
RemoteServer
::
setup
();
sd
::
DiscoveryService
::
setup
();
sd
::
DiscoveryService
::
setup
();
}
}
bool
RemoteServer
::
isBluetoothDiscoverable
()
bool
RemoteServer
::
isBluetoothDiscoverable
()
...
...
sd/source/ui/view/drviews7.cxx
Dosyayı görüntüle @
994723a9
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include <editeng/eeitem.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/flditem.hxx>
#include <editeng/flditem.hxx>
#include <editeng/outlobj.hxx>
#include <editeng/outlobj.hxx>
#include <officecfg/Office/Impress.hxx>
#include <svx/svxids.hrc>
#include <svx/svxids.hrc>
#include <svx/svdpagv.hxx>
#include <svx/svdpagv.hxx>
#include <svx/clipfmtitem.hxx>
#include <svx/clipfmtitem.hxx>
...
@@ -995,10 +996,16 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
...
@@ -995,10 +996,16 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
rSet
.
DisableItem
(
SID_ZOOM_PREV
);
rSet
.
DisableItem
(
SID_ZOOM_PREV
);
}
}
bool
bDisableSdremoteForGood
=
false
;
#ifndef ENABLE_SDREMOTE
#ifndef ENABLE_SDREMOTE
rSet
.
ClearItem
(
SID_REMOTE_DLG
);
bDisableSdremoteForGood
=
true
;
rSet
.
DisableItem
(
SID_REMOTE_DLG
);
#endif
#endif
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
=
comphelper
::
getProcessComponentContext
();
if
(
bDisableSdremoteForGood
||
(
xContext
.
is
()
&&
!
officecfg
::
Office
::
Impress
::
Misc
::
Start
::
EnableSdremote
::
get
(
xContext
)
)
)
{
rSet
.
ClearItem
(
SID_REMOTE_DLG
);
rSet
.
DisableItem
(
SID_REMOTE_DLG
);
}
// EditText aktiv
// EditText aktiv
if
(
GetViewShellBase
().
GetViewShellManager
()
->
GetShell
(
RID_DRAW_TEXT_TOOLBOX
)
!=
NULL
)
if
(
GetViewShellBase
().
GetViewShellManager
()
->
GetShell
(
RID_DRAW_TEXT_TOOLBOX
)
!=
NULL
)
...
...
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