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
5a7e4766
Kaydet (Commit)
5a7e4766
authored
Haz 04, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTFDocumentImpl::dispatchValue: fix indentation
Change-Id: I521462315ebe8b69b65e05df98042e7a33d60dbb
üst
2df0d9d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
rtfimport.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
+1
-2
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+4
-6
No files found.
sw/qa/extras/rtfimport/rtfimport.cxx
Dosyayı görüntüle @
5a7e4766
...
...
@@ -294,8 +294,7 @@ DECLARE_RTFIMPORT_TEST(testFdo79384, "fdo79384.rtf")
{
uno
::
Reference
<
text
::
XTextRange
>
xTextRange
=
getRun
(
getParagraph
(
1
),
1
);
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"Маркеры спискамЫ"
,
31
,
RTL_TEXTENCODING_UTF8
),
xTextRange
->
getString
());
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"Маркеры спискамЫ"
,
31
,
RTL_TEXTENCODING_UTF8
),
xTextRange
->
getString
());
}
DECLARE_RTFIMPORT_TEST
(
testFdo47326
,
"fdo47326.rtf"
)
...
...
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
5a7e4766
...
...
@@ -986,8 +986,7 @@ int RTFDocumentImpl::resolveChars(char ch)
{
// fdo#79384: Word will reject Shift-JIS following \loch
// but apparently OOo could read and (worse) write such documents
SAL_INFO_IF
(
m_aStates
.
top
().
eRunType
!=
RTFParserState
::
DBCH
,
"writerfilter.rtf"
,
"invalid Shift-JIS without DBCH"
);
SAL_INFO_IF
(
m_aStates
.
top
().
eRunType
!=
RTFParserState
::
DBCH
,
"writerfilter.rtf"
,
"invalid Shift-JIS without DBCH"
);
unsigned
char
uch
=
ch
;
if
((
uch
>=
0x80
&&
uch
<=
0x9F
)
||
uch
>=
0xE0
)
{
...
...
@@ -3495,8 +3494,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
{
case
RTF_F
:
case
RTF_AF
:
if
(
m_aStates
.
top
().
isRightToLeft
||
m_aStates
.
top
().
eRunType
==
RTFParserState
::
HICH
)
if
(
m_aStates
.
top
().
isRightToLeft
||
m_aStates
.
top
().
eRunType
==
RTFParserState
::
HICH
)
{
nSprm
=
NS_ooxml
::
LN_CT_Fonts_cs
;
}
...
...
@@ -3521,8 +3519,8 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
RTFSprms
aRunPropsSprms
;
aRunPropsSprms
.
set
(
NS_ooxml
::
LN_EG_RPrBase_rFonts
,
RTFValue
::
Pointer_t
(
new
RTFValue
(
aFontAttributes
)));
m_aStates
.
top
().
aTableSprms
.
set
(
NS_ooxml
::
LN_CT_Lvl_rPr
,
RTFValue
::
Pointer_t
(
new
RTFValue
(
RTFSprms
(),
aRunPropsSprms
)),
OVERWRITE_NO_APPEND
);
RTFValue
::
Pointer_t
(
new
RTFValue
(
RTFSprms
(),
aRunPropsSprms
)),
OVERWRITE_NO_APPEND
);
}
else
{
...
...
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