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
6b300173
Kaydet (Commit)
6b300173
authored
Şub 21, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
parse html filter options more legibly.
Change-Id: I951d26df9c99f47b3e1415b96efaa050adf82892
üst
4e794997
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
docsh.cxx
sc/source/ui/docshell/docsh.cxx
+10
-11
No files found.
sc/source/ui/docshell/docsh.cxx
Dosyayı görüntüle @
6b300173
...
...
@@ -122,8 +122,6 @@ using namespace com::sun::star;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
::
com
::
sun
::
star
::
uno
::
UNO_QUERY
;
using
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
;
using
::
rtl
::
OUString
;
using
::
rtl
::
OUStringBuffer
;
using
::
boost
::
shared_ptr
;
using
::
std
::
vector
;
...
...
@@ -947,30 +945,31 @@ sal_Bool ScDocShell::LoadFrom( SfxMedium& rMedium )
static
void
lcl_parseHtmlFilterOption
(
const
OUString
&
rOption
,
LanguageType
&
rLang
,
bool
&
rDateConvert
)
{
OUStringBuffer
aBuf
;
OUString
aTokens
[
2
]
;
std
::
vector
<
OUString
>
aTokens
;
sal_Int32
n
=
rOption
.
getLength
();
const
sal_Unicode
*
p
=
rOption
.
getStr
();
sal_Int32
nTokenId
=
0
;
for
(
sal_Int32
i
=
0
;
i
<
n
;
++
i
)
{
const
sal_Unicode
c
=
p
[
i
];
if
(
c
==
sal_Unicode
(
' '
))
{
if
(
aBuf
.
getLength
())
aTokens
[
nTokenId
++
]
=
aBuf
.
makeStringAndClear
(
);
aTokens
.
push_back
(
aBuf
.
makeStringAndClear
()
);
}
else
aBuf
.
append
(
c
);
if
(
nTokenId
>=
2
)
break
;
}
if
(
aBuf
.
getLength
())
aTokens
[
nTokenId
]
=
aBuf
.
makeStringAndClear
();
aTokens
.
push_back
(
aBuf
.
makeStringAndClear
()
);
rLang
=
LanguageType
(
0
);
rDateConvert
=
false
;
rLang
=
static_cast
<
LanguageType
>
(
aTokens
[
0
].
toInt32
());
rDateConvert
=
static_cast
<
bool
>
(
aTokens
[
1
].
toInt32
());
if
(
aTokens
.
size
()
>
0
)
rLang
=
static_cast
<
LanguageType
>
(
aTokens
[
0
].
toInt32
());
if
(
aTokens
.
size
()
>
1
)
rDateConvert
=
static_cast
<
bool
>
(
aTokens
[
1
].
toInt32
());
}
sal_Bool
ScDocShell
::
ConvertFrom
(
SfxMedium
&
rMedium
)
...
...
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