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
5c6afc77
Kaydet (Commit)
5c6afc77
authored
Ock 16, 2001
tarafından
jp
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #80628#: Modify - if reset numrule then call first the modify of the base class
üst
dec9f2a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
node.cxx
sw/source/core/docnode/node.cxx
+7
-4
No files found.
sw/source/core/docnode/node.cxx
Dosyayı görüntüle @
5c6afc77
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: node.cxx,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author: jp $ $Date: 200
0-11-20 16:36:58
$
* last change: $Author: jp $ $Date: 200
1-01-16 19:18:34
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -962,7 +962,7 @@ void SwCntntNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
{
USHORT
nWhich
=
pOldValue
?
pOldValue
->
Which
()
:
pNewValue
?
pNewValue
->
Which
()
:
0
;
BOOL
bNumRuleSet
=
FALSE
;
BOOL
bNumRuleSet
=
FALSE
,
bCallModify
=
TRUE
;
String
sNumRule
,
sOldNumRule
;
const
SfxPoolItem
*
pItem
;
...
...
@@ -1077,6 +1077,8 @@ void SwCntntNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
}
else
if
(
((
SwTxtNode
*
)
this
)
->
GetNum
()
)
{
bCallModify
=
FALSE
;
SwModify
::
Modify
(
pOldValue
,
pNewValue
);
((
SwTxtNode
*
)
this
)
->
UpdateNum
(
SwNodeNum
(
NO_NUMBERING
)
);
#ifndef NUM_RELSPACE
SetNumLSpace
(
TRUE
);
...
...
@@ -1090,7 +1092,8 @@ void SwCntntNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
pRule
->
SetInvalidRule
(
TRUE
);
}
SwModify
::
Modify
(
pOldValue
,
pNewValue
);
if
(
bCallModify
)
SwModify
::
Modify
(
pOldValue
,
pNewValue
);
}
BOOL
SwCntntNode
::
InvalidateNumRule
()
...
...
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