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
95bee23d
Kaydet (Commit)
95bee23d
authored
Şub 24, 2018
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#104250 import sheetProtection hash attributes
Change-Id: Ibae0934a84173b0933a03a6050abaaf3384404cb
üst
1bf8006f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
worksheetsettings.cxx
sc/source/filter/oox/worksheetsettings.cxx
+6
-0
No files found.
sc/source/filter/oox/worksheetsettings.cxx
Dosyayı görüntüle @
95bee23d
...
@@ -241,6 +241,12 @@ void WorksheetSettings::finalizeImport()
...
@@ -241,6 +241,12 @@ void WorksheetSettings::finalizeImport()
{
{
ScTableProtection
aProtect
;
ScTableProtection
aProtect
;
aProtect
.
setProtected
(
true
);
aProtect
.
setProtected
(
true
);
aProtect
.
setPasswordHash
(
maSheetProt
.
maAlgorithmName
,
maSheetProt
.
maHashValue
,
maSheetProt
.
maSaltValue
,
maSheetProt
.
mnSpinCount
);
// Set the simple hash after the proper hash because setting the proper
// hash resets the simple hash, yet if the simple hash is present we
// may as well use it and more important want to keep it for saving the
// document again.
if
(
maSheetProt
.
mnPasswordHash
)
if
(
maSheetProt
.
mnPasswordHash
)
{
{
Sequence
<
sal_Int8
>
aPass
(
2
);
Sequence
<
sal_Int8
>
aPass
(
2
);
...
...
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