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
aa273f05
Kaydet (Commit)
aa273f05
authored
Şub 25, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: declaration shadows a local variable
Change-Id: If7ecddb059fb0fae5de01666a8f088caf36bc32f
üst
86709d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
smdetect.cxx
starmath/source/smdetect.cxx
+4
-4
No files found.
starmath/source/smdetect.cxx
Dosyayı görüntüle @
aa273f05
...
@@ -326,12 +326,12 @@ OUString SAL_CALL SmFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
...
@@ -326,12 +326,12 @@ OUString SAL_CALL SmFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
// 200 should be enough for the XML
// 200 should be enough for the XML
// version, encoding and !DOCTYPE
// version, encoding and !DOCTYPE
// stuff I hope?
// stuff I hope?
const
sal_uInt16
nSize
=
200
;
const
sal_uInt16
n
Buffer
Size
=
200
;
sal_Char
aBuffer
[
nSize
+
1
];
sal_Char
aBuffer
[
n
Buffer
Size
+
1
];
aBuffer
[
nSize
]
=
0
;
aBuffer
[
n
Buffer
Size
]
=
0
;
pStrm
->
Seek
(
STREAM_SEEK_TO_BEGIN
);
pStrm
->
Seek
(
STREAM_SEEK_TO_BEGIN
);
pStrm
->
StartReadingUnicodeText
(
RTL_TEXTENCODING_DONTKNOW
);
// avoid BOM marker
pStrm
->
StartReadingUnicodeText
(
RTL_TEXTENCODING_DONTKNOW
);
// avoid BOM marker
sal_uLong
nBytesRead
=
pStrm
->
Read
(
aBuffer
,
nSize
);
sal_uLong
nBytesRead
=
pStrm
->
Read
(
aBuffer
,
n
Buffer
Size
);
if
(
nBytesRead
>=
6
)
if
(
nBytesRead
>=
6
)
{
{
bool
bIsMathType
=
false
;
bool
bIsMathType
=
false
;
...
...
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