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
308eee79
Kaydet (Commit)
308eee79
authored
Nis 06, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifiers
Change-Id: I0505cf418688d568c0c110bc70b2552e2fb8265c
üst
2a0d0e7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
svxrtf.cxx
editeng/source/rtf/svxrtf.cxx
+6
-6
svxrtf.hxx
include/editeng/svxrtf.hxx
+3
-3
No files found.
editeng/source/rtf/svxrtf.cxx
Dosyayı görüntüle @
308eee79
...
...
@@ -207,7 +207,7 @@ INSINGLECHAR:
break
;
case
'{'
:
if
(
bNewGroup
)
// Nesting!
_GetAttrSet
();
GetAttrSet_
();
bNewGroup
=
true
;
break
;
case
'}'
:
...
...
@@ -803,7 +803,7 @@ const vcl::Font& SvxRTFParser::GetFont( sal_uInt16 nId )
return
*
pDfltFont
;
}
SvxRTFItemStackType
*
SvxRTFParser
::
_GetAttrSet
()
SvxRTFItemStackType
*
SvxRTFParser
::
GetAttrSet_
()
{
SvxRTFItemStackType
*
pAkt
=
aAttrStack
.
empty
()
?
nullptr
:
aAttrStack
.
back
();
SvxRTFItemStackType
*
pNew
;
...
...
@@ -820,7 +820,7 @@ SvxRTFItemStackType* SvxRTFParser::_GetAttrSet()
}
void
SvxRTFParser
::
_ClearStyleAttr
(
SvxRTFItemStackType
&
rStkType
)
void
SvxRTFParser
::
ClearStyleAttr_
(
SvxRTFItemStackType
&
rStkType
)
{
// check attributes to the attributes of the stylesheet or to
// the default attrs of the document
...
...
@@ -957,8 +957,8 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
if
(
IsChkStyleAttr
()
)
{
_ClearStyleAttr
(
*
pOld
);
_ClearStyleAttr
(
*
pNew
);
//#i10381#, methinks.
ClearStyleAttr_
(
*
pOld
);
ClearStyleAttr_
(
*
pNew
);
//#i10381#, methinks.
}
if
(
pAkt
)
...
...
@@ -994,7 +994,7 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
redundant properties.
*/
if
(
IsChkStyleAttr
()
&&
!
pAkt
)
_ClearStyleAttr
(
*
pOld
);
ClearStyleAttr_
(
*
pOld
);
if
(
pAkt
)
{
...
...
include/editeng/svxrtf.hxx
Dosyayı görüntüle @
308eee79
...
...
@@ -223,8 +223,8 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser
void
ClearStyleTbl
();
void
ClearAttrStack
();
SvxRTFItemStackType
*
_GetAttrSet
();
// Create new ItemStackType:s
void
_ClearStyleAttr
(
SvxRTFItemStackType
&
rStkType
);
SvxRTFItemStackType
*
GetAttrSet_
();
// Create new ItemStackType:s
void
ClearStyleAttr_
(
SvxRTFItemStackType
&
rStkType
);
// Sets all the attributes that are different from the current
void
SetAttrSet
(
SvxRTFItemStackType
&
rSet
);
...
...
@@ -393,7 +393,7 @@ inline SfxItemSet& SvxRTFParser::GetAttrSet()
{
SvxRTFItemStackType
*
pTmp
;
if
(
bNewGroup
||
nullptr
==
(
pTmp
=
aAttrStack
.
empty
()
?
nullptr
:
aAttrStack
.
back
())
)
pTmp
=
_GetAttrSet
();
pTmp
=
GetAttrSet_
();
return
pTmp
->
aAttrSet
;
}
...
...
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