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
d54861ba
Kaydet (Commit)
d54861ba
authored
Agu 08, 2018
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify control logic
Change-Id: I71d688862458df25e3f417e7aee32d072aa51d50
üst
bb22d405
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
viewdata.cxx
sc/source/ui/view/viewdata.cxx
+2
-7
No files found.
sc/source/ui/view/viewdata.cxx
Dosyayı görüntüle @
d54861ba
...
...
@@ -2838,8 +2838,7 @@ void ScViewData::ReadUserData(const OUString& rData)
if
(
rData
.
isEmpty
())
// empty string on "reload"
return
;
// then exit without assertion
sal_Int32
nCount
=
comphelper
::
string
::
getTokenCount
(
rData
,
';'
);
if
(
nCount
<=
2
)
if
(
comphelper
::
string
::
getTokenCount
(
rData
,
';'
)
<=
2
)
{
// when reload, in page preview, the preview UserData may have been left intact.
// we don't want the zoom from the page preview here.
...
...
@@ -2847,9 +2846,6 @@ void ScViewData::ReadUserData(const OUString& rData)
return
;
}
// not per sheet:
SCTAB
nTabStart
=
2
;
Fraction
aZoomX
,
aZoomY
,
aPageZoomX
,
aPageZoomY
;
// evaluate (all sheets?)
sal_Int32
nMainIdx
{
0
};
...
...
@@ -2879,7 +2875,6 @@ void ScViewData::ReadUserData(const OUString& rData)
if
(
aTabOpt
.
startsWith
(
TAG_TABBARWIDTH
,
&
aRest
))
{
pView
->
SetTabBarWidth
(
aRest
.
toInt32
());
nTabStart
=
3
;
}
else
{
...
...
@@ -2889,7 +2884,7 @@ void ScViewData::ReadUserData(const OUString& rData)
// per sheet
SCTAB
nPos
=
0
;
while
(
n
Count
>
nPos
+
nTabStart
)
while
(
n
MainIdx
>
0
)
{
aTabOpt
=
rData
.
getToken
(
0
,
';'
,
nMainIdx
);
EnsureTabDataSize
(
nPos
+
1
);
...
...
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