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
481293fc
Kaydet (Commit)
481293fc
authored
Ock 30, 2017
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Indentation fixes
Change-Id: I22247da71d1594187c531ca5552cf75363aaddfd
üst
b67bdae5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
rtfimport.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
+14
-5
rtfdispatchvalue.cxx
writerfilter/source/rtftok/rtfdispatchvalue.cxx
+2
-2
No files found.
sw/qa/extras/rtfimport/rtfimport.cxx
Dosyayı görüntüle @
481293fc
...
...
@@ -1616,17 +1616,26 @@ DECLARE_RTFIMPORT_TEST(testCp1000018, "cp1000018.rtf")
CPPUNIT_ASSERT_EQUAL
(
aExpected
,
xTextRange
->
getString
());
}
class
testTdf105511
:
public
Test
{
class
testTdf105511
:
public
Test
{
protected
:
virtual
OUString
getTestName
()
override
{
return
OUString
(
"testTdf105511"
);
}
virtual
OUString
getTestName
()
override
{
return
OUString
(
"testTdf105511"
);
}
public
:
CPPUNIT_TEST_SUITE
(
testTdf105511
);
CPPUNIT_TEST
(
Import
);
CPPUNIT_TEST_SUITE_END
();
void
Import
()
{
struct
DefaultLocale
:
public
comphelper
::
ConfigurationProperty
<
DefaultLocale
,
rtl
::
OUString
>
{
static
OUString
path
()
{
return
OUString
(
"/org.openoffice.Office.Linguistic/General/DefaultLocale"
);
}
void
Import
()
{
struct
DefaultLocale
:
public
comphelper
::
ConfigurationProperty
<
DefaultLocale
,
rtl
::
OUString
>
{
static
OUString
path
()
{
return
OUString
(
"/org.openoffice.Office.Linguistic/General/DefaultLocale"
);
}
~
DefaultLocale
()
=
delete
;
};
auto
batch
=
comphelper
::
ConfigurationChanges
::
create
();
...
...
writerfilter/source/rtftok/rtfdispatchvalue.cxx
Dosyayı görüntüle @
481293fc
...
...
@@ -394,8 +394,8 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
case
RTF_CPG
:
{
rtl_TextEncoding
nEncoding
=
(
nParam
==
0
)
?
utl_getWinTextEncodingFromLangStr
(
getLODefaultLanguage
().
toUtf8
().
getStr
())
:
rtl_getTextEncodingFromWindowsCodePage
(
nParam
);
utl_getWinTextEncodingFromLangStr
(
getLODefaultLanguage
().
toUtf8
().
getStr
())
:
rtl_getTextEncodingFromWindowsCodePage
(
nParam
);
if
(
nKeyword
==
RTF_ANSICPG
)
m_aDefaultState
.
nCurrentEncoding
=
nEncoding
;
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