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
894dac7b
Kaydet (Commit)
894dac7b
authored
Eki 09, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID736196 out of bounds
Change-Id: Iaf9774c84f9ffe1a3d8fcd64c9ce950aacb317ba
üst
9692c7d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ndtxt.cxx
sw/source/core/txtnode/ndtxt.cxx
+10
-2
No files found.
sw/source/core/txtnode/ndtxt.cxx
Dosyayı görüntüle @
894dac7b
...
@@ -2707,8 +2707,16 @@ OUString SwTxtNode::GetNumString( const bool _bInclPrefixAndSuffixStrings,
...
@@ -2707,8 +2707,16 @@ OUString SwTxtNode::GetNumString( const bool _bInclPrefixAndSuffixStrings,
if
(
pRule
&&
if
(
pRule
&&
IsCountedInList
()
)
IsCountedInList
()
)
{
{
int
nLevel
=
GetActualListLevel
();
if
(
nLevel
<
0
)
nLevel
=
0
;
if
(
nLevel
>=
MAXLEVEL
)
nLevel
=
MAXLEVEL
-
1
;
SvxNumberType
const
&
rNumberType
(
SvxNumberType
const
&
rNumberType
(
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
GetActualListLevel
()
)
)
);
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
nLevel
)
)
);
if
(
rNumberType
.
IsTxtFmt
()
||
if
(
rNumberType
.
IsTxtFmt
()
||
//
//
(
style
::
NumberingType
::
NUMBER_NONE
==
rNumberType
.
GetNumberingType
()))
(
style
::
NumberingType
::
NUMBER_NONE
==
rNumberType
.
GetNumberingType
()))
...
@@ -2797,7 +2805,7 @@ sal_Bool SwTxtNode::GetFirstLineOfsWithNum( short& rFLOffset ) const
...
@@ -2797,7 +2805,7 @@ sal_Bool SwTxtNode::GetFirstLineOfsWithNum( short& rFLOffset ) const
const
SwNumFmt
&
rFmt
=
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
nLevel
));
const
SwNumFmt
&
rFmt
=
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
nLevel
));
if
(
rFmt
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
)
if
(
rFmt
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
)
{
{
rFLOffset
=
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
GetActualListLevel
()
))
.
GetFirstLineOffset
();
rFLOffset
=
rFmt
.
GetFirstLineOffset
();
if
(
!
getIDocumentSettingAccess
()
->
get
(
IDocumentSettingAccess
::
IGNORE_FIRST_LINE_INDENT_IN_NUMBERING
))
if
(
!
getIDocumentSettingAccess
()
->
get
(
IDocumentSettingAccess
::
IGNORE_FIRST_LINE_INDENT_IN_NUMBERING
))
{
{
...
...
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