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
18cd0184
Kaydet (Commit)
18cd0184
authored
Eki 06, 2015
tarafından
Andrea Pescetti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i126572# Use correct priority when updating links.
üst
ea92e14d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
docsh4.cxx
sc/source/ui/docshell/docsh4.cxx
+7
-3
docnew.cxx
sw/source/core/doc/docnew.cxx
+8
-0
No files found.
sc/source/ui/docshell/docsh4.cxx
Dosyayı görüntüle @
18cd0184
...
...
@@ -67,6 +67,7 @@ using namespace ::com::sun::star;
#include <svl/PasswordHelper.hxx>
#include <svl/documentlockfile.hxx>
#include <svl/sharecontrolfile.hxx>
#include <unotools/securityoptions.hxx>
#include <comphelper/processfactory.hxx>
#include "docuno.hxx"
...
...
@@ -452,12 +453,15 @@ void ScDocShell::Execute( SfxRequest& rReq )
if
(
nCanUpdate
==
com
::
sun
::
star
::
document
::
UpdateDocMode
::
NO_UPDATE
)
nSet
=
LM_NEVER
;
else
if
(
nCanUpdate
==
com
::
sun
::
star
::
document
::
UpdateDocMode
::
QUIET_UPDATE
&&
nSet
==
LM_ON_DEMAND
)
nSet
=
LM_NEVER
;
else
if
(
nCanUpdate
==
com
::
sun
::
star
::
document
::
UpdateDocMode
::
FULL_UPDATE
)
nSet
=
LM_ALWAYS
;
if
(
nSet
==
LM_ALWAYS
&&
!
(
SvtSecurityOptions
().
GetMacroSecurityLevel
()
==
0
))
nSet
=
LM_ON_DEMAND
;
if
(
nCanUpdate
==
com
::
sun
::
star
::
document
::
UpdateDocMode
::
QUIET_UPDATE
&&
nSet
==
LM_ON_DEMAND
)
nSet
=
LM_NEVER
;
if
(
nSet
==
LM_ON_DEMAND
)
{
QueryBox
aBox
(
GetActiveDialogParent
(),
WinBits
(
WB_YES_NO
|
WB_DEF_YES
),
...
...
sw/source/core/doc/docnew.cxx
Dosyayı görüntüle @
18cd0184
...
...
@@ -118,6 +118,7 @@
#include <sfx2/Metadatable.hxx>
#include <fmtmeta.hxx> // MetaFieldManager
#include <unotools/securityoptions.hxx>
//UUUU
#include <svx/xfillit0.hxx>
...
...
@@ -1017,6 +1018,13 @@ void SwDoc::UpdateLinks( sal_Bool bUI )
case
document
:
:
UpdateDocMode
::
QUIET_UPDATE
:
bAskUpdate
=
sal_False
;
break
;
case
document
:
:
UpdateDocMode
::
FULL_UPDATE
:
bAskUpdate
=
sal_True
;
break
;
}
if
(
nLinkMode
==
AUTOMATIC
&&
!
bAskUpdate
)
{
if
(
!
(
SvtSecurityOptions
().
GetMacroSecurityLevel
()
==
0
))
{
bAskUpdate
=
true
;
}
}
if
(
bUpdate
&&
(
bUI
||
!
bAskUpdate
)
)
{
SfxMedium
*
pMedium
=
GetDocShell
()
->
GetMedium
();
...
...
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