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
e87f71ce
Kaydet (Commit)
e87f71ce
authored
Eki 29, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: noExplicitConstructor
Change-Id: Id6d969713d94b558a93d303c6dabcbfdd1c65194
üst
8be504b6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
fastparser.cxx
sax/source/fastparser/fastparser.cxx
+3
-3
fastserializer.hxx
sax/source/tools/fastserializer.hxx
+2
-2
testsax.cxx
sax/test/sax/testsax.cxx
+1
-1
testwriter.cxx
sax/test/sax/testwriter.cxx
+2
-2
saxdemo.cxx
sax/test/saxdemo.cxx
+2
-2
No files found.
sax/source/fastparser/fastparser.cxx
Dosyayı görüntüle @
e87f71ce
...
@@ -200,7 +200,7 @@ namespace sax_fastparser {
...
@@ -200,7 +200,7 @@ namespace sax_fastparser {
class
FastSaxParserImpl
class
FastSaxParserImpl
{
{
public
:
public
:
FastSaxParserImpl
(
FastSaxParser
*
pFront
);
explicit
FastSaxParserImpl
(
FastSaxParser
*
pFront
);
~
FastSaxParserImpl
();
~
FastSaxParserImpl
();
// XFastParser
// XFastParser
...
@@ -270,7 +270,7 @@ class ParserThread: public salhelper::Thread
...
@@ -270,7 +270,7 @@ class ParserThread: public salhelper::Thread
{
{
FastSaxParserImpl
*
mpParser
;
FastSaxParserImpl
*
mpParser
;
public
:
public
:
ParserThread
(
FastSaxParserImpl
*
pParser
)
:
Thread
(
"Parser"
),
mpParser
(
pParser
)
{}
explicit
ParserThread
(
FastSaxParserImpl
*
pParser
)
:
Thread
(
"Parser"
),
mpParser
(
pParser
)
{}
private
:
private
:
virtual
void
execute
()
override
virtual
void
execute
()
override
{
{
...
@@ -331,7 +331,7 @@ static int call_callbackExternalEntityRef( XML_Parser parser,
...
@@ -331,7 +331,7 @@ static int call_callbackExternalEntityRef( XML_Parser parser,
class
FastLocatorImpl
:
public
WeakImplHelper
<
XLocator
>
class
FastLocatorImpl
:
public
WeakImplHelper
<
XLocator
>
{
{
public
:
public
:
FastLocatorImpl
(
FastSaxParserImpl
*
p
)
:
mpParser
(
p
)
{}
explicit
FastLocatorImpl
(
FastSaxParserImpl
*
p
)
:
mpParser
(
p
)
{}
void
dispose
()
{
mpParser
=
0
;
}
void
dispose
()
{
mpParser
=
0
;
}
void
checkDispose
()
throw
(
RuntimeException
)
{
if
(
!
mpParser
)
throw
DisposedException
();
}
void
checkDispose
()
throw
(
RuntimeException
)
{
if
(
!
mpParser
)
throw
DisposedException
();
}
...
...
sax/source/tools/fastserializer.hxx
Dosyayı görüntüle @
e87f71ce
...
@@ -48,7 +48,7 @@ class FastSaxSerializer
...
@@ -48,7 +48,7 @@ class FastSaxSerializer
typedef
css
::
uno
::
Sequence
<
::
sal_Int32
>
Int32Sequence
;
typedef
css
::
uno
::
Sequence
<
::
sal_Int32
>
Int32Sequence
;
public
:
public
:
FastSaxSerializer
(
const
css
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>&
xOutputStream
);
explicit
FastSaxSerializer
(
const
css
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>&
xOutputStream
);
~
FastSaxSerializer
();
~
FastSaxSerializer
();
css
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>
getOutputStream
();
css
::
uno
::
Reference
<
css
::
io
::
XOutputStream
>
getOutputStream
();
...
@@ -176,7 +176,7 @@ private:
...
@@ -176,7 +176,7 @@ private:
std
::
deque
<
sal_Int32
>
m_DebugPostponedStartedElements
;
std
::
deque
<
sal_Int32
>
m_DebugPostponedStartedElements
;
#endif
#endif
ForMerge
(
sal_Int32
const
nTag
)
:
m_Tag
(
nTag
)
{}
explicit
ForMerge
(
sal_Int32
const
nTag
)
:
m_Tag
(
nTag
)
{}
virtual
~
ForMerge
()
{}
virtual
~
ForMerge
()
{}
virtual
void
setCurrentElement
(
::
sal_Int32
/*nToken*/
)
{}
virtual
void
setCurrentElement
(
::
sal_Int32
/*nToken*/
)
{}
...
...
sax/test/sax/testsax.cxx
Dosyayı görüntüle @
e87f71ce
...
@@ -47,7 +47,7 @@ namespace sax_test {
...
@@ -47,7 +47,7 @@ namespace sax_test {
class
OSaxParserTest
:
public
WeakImplHelper
<
XSimpleTest
>
class
OSaxParserTest
:
public
WeakImplHelper
<
XSimpleTest
>
{
{
public
:
public
:
OSaxParserTest
(
const
Reference
<
XMultiServiceFactory
>
&
rFactory
)
:
m_rFactory
(
rFactory
)
explicit
OSaxParserTest
(
const
Reference
<
XMultiServiceFactory
>
&
rFactory
)
:
m_rFactory
(
rFactory
)
{
{
}
}
...
...
sax/test/sax/testwriter.cxx
Dosyayı görüntüle @
e87f71ce
...
@@ -49,7 +49,7 @@ class OFileWriter :
...
@@ -49,7 +49,7 @@ class OFileWriter :
public
WeakImplHelper
<
XOutputStream
>
public
WeakImplHelper
<
XOutputStream
>
{
{
public
:
public
:
OFileWriter
(
char
*
pcFile
)
{
strncpy
(
m_pcFile
,
pcFile
,
256
-
1
);
m_f
=
0
;
}
explicit
OFileWriter
(
char
*
pcFile
)
{
strncpy
(
m_pcFile
,
pcFile
,
256
-
1
);
m_f
=
0
;
}
public
:
public
:
...
@@ -94,7 +94,7 @@ class OSaxWriterTest :
...
@@ -94,7 +94,7 @@ class OSaxWriterTest :
public
WeakImplHelper
<
XSimpleTest
>
public
WeakImplHelper
<
XSimpleTest
>
{
{
public
:
public
:
OSaxWriterTest
(
const
Reference
<
XMultiServiceFactory
>
&
rFactory
)
:
m_rFactory
(
rFactory
)
explicit
OSaxWriterTest
(
const
Reference
<
XMultiServiceFactory
>
&
rFactory
)
:
m_rFactory
(
rFactory
)
{
{
}
}
...
...
sax/test/saxdemo.cxx
Dosyayı görüntüle @
e87f71ce
...
@@ -59,7 +59,7 @@ using namespace ::com::sun::star::io;
...
@@ -59,7 +59,7 @@ using namespace ::com::sun::star::io;
class
OInputStream
:
public
WeakImplHelper
<
XInputStream
>
class
OInputStream
:
public
WeakImplHelper
<
XInputStream
>
{
{
public
:
public
:
OInputStream
(
const
Sequence
<
sal_Int8
>&
seq
)
:
explicit
OInputStream
(
const
Sequence
<
sal_Int8
>&
seq
)
:
m_seq
(
seq
),
m_seq
(
seq
),
nPos
(
0
)
nPos
(
0
)
{}
{}
...
@@ -433,7 +433,7 @@ class OFileWriter :
...
@@ -433,7 +433,7 @@ class OFileWriter :
public
WeakImplHelper
<
XOutputStream
>
public
WeakImplHelper
<
XOutputStream
>
{
{
public
:
public
:
OFileWriter
(
char
*
pcFile
)
{
strncpy
(
m_pcFile
,
pcFile
,
256
-
1
);
m_f
=
0
;
}
explicit
OFileWriter
(
char
*
pcFile
)
{
strncpy
(
m_pcFile
,
pcFile
,
256
-
1
);
m_f
=
0
;
}
public
:
public
:
...
...
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