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
30033dea
Kaydet (Commit)
30033dea
authored
Ock 15, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#85666 when matching existing list indent use matching level
Change-Id: I20bf0fa3a9b1562d46eba6321edca047cf02b128
üst
1a2b8b23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
wrtsh1.cxx
sw/source/uibase/wrtsh/wrtsh1.cxx
+10
-2
No files found.
sw/source/uibase/wrtsh/wrtsh1.cxx
Dosyayı görüntüle @
30033dea
...
...
@@ -1260,14 +1260,22 @@ void SwWrtShell::NumOrBulletOn(bool bNum)
const
SwTwips
nTxtNodeIndent
=
pTxtNode
->
GetAdditionalIndentForStartingNewList
();
if
(
(
nTxtNodeIndent
+
nWidthOfTabs
)
!=
0
)
{
// #i111172#
// #i111172#
/fdo#85666
// If text node is already inside a list, assure that the indents
// are the same. Thus, adjust the indent change value by subtracting
// indents of to be applied list style.
SwTwips
nIndentChange
=
nTxtNodeIndent
+
nWidthOfTabs
;
if
(
pTxtNode
->
GetNumRule
()
)
{
const
SwNumFmt
aFmt
(
aNumRule
.
Get
(
0
)
);
int
nLevel
=
pTxtNode
->
GetActualListLevel
();
if
(
nLevel
<
0
)
nLevel
=
0
;
if
(
nLevel
>=
MAXLEVEL
)
nLevel
=
MAXLEVEL
-
1
;
const
SwNumFmt
aFmt
(
aNumRule
.
Get
(
nLevel
)
);
if
(
aFmt
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_ALIGNMENT
)
{
nIndentChange
-=
aFmt
.
GetIndentAt
()
+
aFmt
.
GetFirstLineIndent
();
...
...
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