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
3dac2c4b
Kaydet (Commit)
3dac2c4b
authored
Haz 23, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: fix inefficient checking
Change-Id: If015900345304a9545ab0b66c6998a9d6bad9d1f
üst
0e7237e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+3
-3
No files found.
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
3dac2c4b
...
@@ -513,7 +513,7 @@ void RTFDocumentImpl::sectBreak(bool bFinal = false)
...
@@ -513,7 +513,7 @@ void RTFDocumentImpl::sectBreak(bool bFinal = false)
dispatchFlag
(
RTF_PARD
);
dispatchFlag
(
RTF_PARD
);
dispatchSymbol
(
RTF_PAR
);
dispatchSymbol
(
RTF_PAR
);
}
}
while
(
m_nHeaderFooterPositions
.
size
())
while
(
!
m_nHeaderFooterPositions
.
empty
())
{
{
std
::
pair
<
Id
,
sal_uInt32
>
aPair
=
m_nHeaderFooterPositions
.
front
();
std
::
pair
<
Id
,
sal_uInt32
>
aPair
=
m_nHeaderFooterPositions
.
front
();
m_nHeaderFooterPositions
.
pop
();
m_nHeaderFooterPositions
.
pop
();
...
@@ -4563,7 +4563,7 @@ int RTFDocumentImpl::popState()
...
@@ -4563,7 +4563,7 @@ int RTFDocumentImpl::popState()
case
DESTINATION_SHPPICT
:
case
DESTINATION_SHPPICT
:
case
DESTINATION_SHAPE
:
case
DESTINATION_SHAPE
:
m_aStates
.
top
().
aFrame
=
aState
.
aFrame
;
m_aStates
.
top
().
aFrame
=
aState
.
aFrame
;
if
(
aState
.
nDestinationState
==
DESTINATION_SHPPICT
&&
m_aStates
.
size
()
&&
m_aStates
.
top
().
nDestinationState
==
DESTINATION_LISTPICTURE
)
if
(
aState
.
nDestinationState
==
DESTINATION_SHPPICT
&&
!
m_aStates
.
empty
()
&&
m_aStates
.
top
().
nDestinationState
==
DESTINATION_LISTPICTURE
)
{
{
RTFSprms
aAttributes
;
RTFSprms
aAttributes
;
aAttributes
.
set
(
NS_ooxml
::
LN_CT_NumPicBullet_numPicBulletId
,
RTFValue
::
Pointer_t
(
new
RTFValue
(
m_nListPictureId
++
)));
aAttributes
.
set
(
NS_ooxml
::
LN_CT_NumPicBullet_numPicBulletId
,
RTFValue
::
Pointer_t
(
new
RTFValue
(
m_nListPictureId
++
)));
...
@@ -4609,7 +4609,7 @@ int RTFDocumentImpl::popState()
...
@@ -4609,7 +4609,7 @@ int RTFDocumentImpl::popState()
m_bHasFootnote
=
false
;
m_bHasFootnote
=
false
;
}
}
if
(
m_aStates
.
size
())
if
(
!
m_aStates
.
empty
())
{
{
m_aStates
.
top
().
nCells
=
aState
.
nCells
;
m_aStates
.
top
().
nCells
=
aState
.
nCells
;
m_aStates
.
top
().
aTableCellsSprms
=
aState
.
aTableCellsSprms
;
m_aStates
.
top
().
aTableCellsSprms
=
aState
.
aTableCellsSprms
;
...
...
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