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
81a49f68
Kaydet (Commit)
81a49f68
authored
Agu 21, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#93547 - add basic lock-down support for OpenGL settings.
Change-Id: I0459c33ac5230899366dd756886d55fefbe01798
üst
0208dc3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
optgdlg.cxx
cui/source/options/optgdlg.cxx
+10
-2
No files found.
cui/source/options/optgdlg.cxx
Dosyayı görüntüle @
81a49f68
...
...
@@ -144,8 +144,10 @@ OpenGLCfg::~OpenGLCfg()
if
(
mbModified
)
{
std
::
shared_ptr
<
comphelper
::
ConfigurationChanges
>
batch
(
comphelper
::
ConfigurationChanges
::
create
());
officecfg
::
Office
::
Common
::
VCL
::
UseOpenGL
::
set
(
mbUseOpenGL
,
batch
);
officecfg
::
Office
::
Common
::
VCL
::
ForceOpenGL
::
set
(
mbForceOpenGL
,
batch
);
if
(
!
officecfg
::
Office
::
Common
::
VCL
::
UseOpenGL
::
isReadOnly
())
officecfg
::
Office
::
Common
::
VCL
::
UseOpenGL
::
set
(
mbUseOpenGL
,
batch
);
if
(
!
officecfg
::
Office
::
Common
::
VCL
::
ForceOpenGL
::
isReadOnly
())
officecfg
::
Office
::
Common
::
VCL
::
ForceOpenGL
::
set
(
mbForceOpenGL
,
batch
);
batch
->
commit
();
}
}
...
...
@@ -674,6 +676,12 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
// separate auto and other icon themes
m_pIconStyleLB
->
SetSeparatorPos
(
0
);
m_pIconStyleLB
->
SelectEntryPos
(
0
);
// FIXME: should really add code to show a 'lock' icon here.
if
(
officecfg
::
Office
::
Common
::
VCL
::
UseOpenGL
::
isReadOnly
())
m_pUseOpenGL
->
Enable
(
false
);
if
(
officecfg
::
Office
::
Common
::
VCL
::
ForceOpenGL
::
isReadOnly
())
m_pForceOpenGL
->
Enable
(
false
);
}
OfaViewTabPage
::~
OfaViewTabPage
()
...
...
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