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
9537ddcf
Kaydet (Commit)
9537ddcf
authored
Mar 15, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
editeng: nAnz -> nCount
Change-Id: Ieda943586c95e3edcd277dfa5e8586cc8c27867a
üst
a936658e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
rtfitem.cxx
editeng/source/rtf/rtfitem.cxx
+6
-6
No files found.
editeng/source/rtf/rtfitem.cxx
Dosyayı görüntüle @
9537ddcf
...
@@ -1863,19 +1863,19 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
...
@@ -1863,19 +1863,19 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
// Calculate the ratio of default TabWidth / Tabs and
// Calculate the ratio of default TabWidth / Tabs and
// calculate the corresponding new number.
// calculate the corresponding new number.
// ?? how did one come up with 13 ??
// ?? how did one come up with 13 ??
sal_uInt16
n
AnzTabs
=
(
SVX_TAB_DEFDIST
*
13
)
/
sal_uInt16
(
nValue
);
sal_uInt16
n
TabCount
=
(
SVX_TAB_DEFDIST
*
13
)
/
sal_uInt16
(
nValue
);
/*
/*
cmc, make sure we have at least one, or all hell breaks loose in
cmc, make sure we have at least one, or all hell breaks loose in
everybodies exporters, #i8247#
everybodies exporters, #i8247#
*/
*/
if
(
n
AnzTabs
<
1
)
if
(
n
TabCount
<
1
)
n
AnzTabs
=
1
;
n
TabCount
=
1
;
// we want Defaulttabs
// we want Defaulttabs
SvxTabStopItem
aNewTab
(
n
AnzTabs
,
sal_uInt16
(
nValue
),
SvxTabStopItem
aNewTab
(
n
TabCount
,
sal_uInt16
(
nValue
),
SVX_TAB_ADJUST_DEFAULT
,
aPardMap
.
nTabStop
);
SVX_TAB_ADJUST_DEFAULT
,
aPardMap
.
nTabStop
);
while
(
n
AnzTabs
)
while
(
n
TabCount
)
((
SvxTabStop
&
)
aNewTab
[
--
n
AnzTabs
]).
GetAdjustment
()
=
SVX_TAB_ADJUST_DEFAULT
;
((
SvxTabStop
&
)
aNewTab
[
--
n
TabCount
]).
GetAdjustment
()
=
SVX_TAB_ADJUST_DEFAULT
;
pAttrPool
->
SetPoolDefaultItem
(
aNewTab
);
pAttrPool
->
SetPoolDefaultItem
(
aNewTab
);
}
}
...
...
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