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
2e767575
Kaydet (Commit)
2e767575
authored
Eyl 27, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert remnants of String to OUString in filter module
Change-Id: I83cea804b73d9219019354223bd2c966f52c5688
üst
d11ed5a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
util.cxx
filter/source/msfilter/util.cxx
+16
-17
No files found.
filter/source/msfilter/util.cxx
Dosyayı görüntüle @
2e767575
...
...
@@ -629,7 +629,7 @@ EquationResult Read_SubF_Combined(WW8ReadFieldParams& rReadParam)
{
EquationResult
aResult
;
String
sCombinedCharacters
;
OU
String
sCombinedCharacters
;
WW8ReadFieldParams
aOriFldParam
=
rReadParam
;
const
sal_Int32
cGetChar
=
rReadParam
.
SkipToNextToken
();
switch
(
cGetChar
)
...
...
@@ -659,43 +659,42 @@ EquationResult Read_SubF_Combined(WW8ReadFieldParams& rReadParam)
{
if
(
-
2
==
rReadParam
.
SkipToNextToken
())
{
String
sPart
=
rReadParam
.
GetResult
();
xub_StrLen
nBegin
=
sPart
.
Search
(
'('
);
OU
String
sPart
=
rReadParam
.
GetResult
();
sal_Int32
nBegin
=
sPart
.
indexOf
(
'('
);
//Word disallows brackets in this field, which
//aids figuring out the case of an end of )) vs )
xub_StrLen
nEnd
=
sPart
.
Search
(
')'
);
sal_Int32
nEnd
=
sPart
.
indexOf
(
')'
);
if
((
nBegin
!=
STRING_NOTFOUND
)
&&
(
nEnd
!=
STRING_NOTFOUND
))
if
(
nBegin
!=
-
1
&&
nEnd
!=
-
1
)
{
sCombinedCharacters
+=
sPart
.
C
opy
(
nBegin
+
1
,
nEnd
-
nBegin
-
1
);
sPart
.
c
opy
(
nBegin
+
1
,
nEnd
-
nBegin
-
1
);
}
}
}
}
}
if
(
sCombinedCharacters
.
Len
())
if
(
!
sCombinedCharacters
.
isEmpty
())
{
aResult
.
sType
=
"CombinedCharacters"
;
aResult
.
sResult
=
sCombinedCharacters
;
}
else
{
const
String
sPart
=
aOriFldParam
.
GetResult
();
xub_StrLen
nBegin
=
sPart
.
Search
(
'('
);
xub_StrLen
nEnd
=
sPart
.
Search
(
','
);
if
(
nEnd
==
STRING_NOTFOUND
)
const
OU
String
sPart
=
aOriFldParam
.
GetResult
();
sal_Int32
nBegin
=
sPart
.
indexOf
(
'('
);
sal_Int32
nEnd
=
sPart
.
indexOf
(
','
);
if
(
nEnd
==
-
1
)
{
nEnd
=
sPart
.
Search
(
')'
);
nEnd
=
sPart
.
indexOf
(
')'
);
}
if
(
(
nBegin
!=
STRING_NOTFOUND
)
&&
(
nEnd
!=
STRING_NOTFOUND
)
)
if
(
nBegin
!=
-
1
&&
nEnd
!=
-
1
)
{
// skip certain leading characters
for
(
int
i
=
nBegin
;
i
<
nEnd
-
1
;
i
++
)
{
const
sal_Unicode
cC
=
sPart
.
GetChar
(
nBegin
+
1
)
;
const
sal_Unicode
cC
=
sPart
[
nBegin
+
1
]
;
if
(
cC
<
32
)
{
nBegin
++
;
...
...
@@ -703,8 +702,8 @@ EquationResult Read_SubF_Combined(WW8ReadFieldParams& rReadParam)
else
break
;
}
sCombinedCharacters
=
sPart
.
C
opy
(
nBegin
+
1
,
nEnd
-
nBegin
-
1
);
if
(
sCombinedCharacters
.
Len
()
)
sCombinedCharacters
=
sPart
.
c
opy
(
nBegin
+
1
,
nEnd
-
nBegin
-
1
);
if
(
!
sCombinedCharacters
.
isEmpty
()
)
{
aResult
.
sType
=
"Input"
;
aResult
.
sResult
=
sCombinedCharacters
;
...
...
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