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
22980bea
Kaydet (Commit)
22980bea
authored
Kas 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr (automatic rewrite)
Change-Id: I04ceb5b1514a1d0bf123a1cded5e1aac3e8dde2f
üst
a96b564a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
27 deletions
+27
-27
TextInputStream.cxx
io/source/TextInputStream/TextInputStream.cxx
+3
-3
TextOutputStream.cxx
io/source/TextOutputStream/TextOutputStream.cxx
+2
-2
acceptor.cxx
io/source/acceptor/acceptor.cxx
+4
-4
services.cxx
io/source/services.cxx
+13
-13
omark.cxx
io/source/stm/omark.cxx
+1
-1
opipe.cxx
io/source/stm/opipe.cxx
+1
-1
opump.cxx
io/source/stm/opump.cxx
+1
-1
streamhelper.cxx
io/source/stm/streamhelper.cxx
+2
-2
No files found.
io/source/TextInputStream/TextInputStream.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -115,10 +115,10 @@ public:
OTextInputStream
::
OTextInputStream
()
:
mbEncodingInitialized
(
false
)
,
mConvText2Unicode
(
NULL
)
,
mContextText2Unicode
(
NULL
)
,
mConvText2Unicode
(
nullptr
)
,
mContextText2Unicode
(
nullptr
)
,
mSeqSource
(
READ_BYTE_COUNT
)
,
mpBuffer
(
NULL
)
,
mpBuffer
(
nullptr
)
,
mnBufferSize
(
0
)
,
mnCharsInBuffer
(
0
)
,
mbReachedEOF
(
false
)
...
...
io/source/TextOutputStream/TextOutputStream.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -95,8 +95,8 @@ public:
OTextOutputStream
::
OTextOutputStream
()
:
mbEncodingInitialized
(
false
)
,
mConvUnicode2Text
(
NULL
)
,
mContextUnicode2Text
(
NULL
)
,
mConvUnicode2Text
(
nullptr
)
,
mContextUnicode2Text
(
nullptr
)
{
}
...
...
io/source/acceptor/acceptor.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -79,8 +79,8 @@ namespace io_acceptor
OAcceptor
::
OAcceptor
(
const
Reference
<
XComponentContext
>
&
xCtx
)
:
m_pPipe
(
0
)
,
m_pSocket
(
0
)
:
m_pPipe
(
nullptr
)
,
m_pSocket
(
nullptr
)
,
m_bInAccept
(
false
)
,
_xSMgr
(
xCtx
->
getServiceManager
()
)
,
_xCtx
(
xCtx
)
...
...
@@ -163,7 +163,7 @@ namespace io_acceptor
{
MutexGuard
g
(
m_mutex
);
delete
m_pPipe
;
m_pPipe
=
0
;
m_pPipe
=
nullptr
;
}
throw
;
}
...
...
@@ -197,7 +197,7 @@ namespace io_acceptor
{
MutexGuard
g
(
m_mutex
);
delete
m_pSocket
;
m_pSocket
=
0
;
m_pSocket
=
nullptr
;
}
throw
;
}
...
...
io/source/services.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -35,64 +35,64 @@ static const struct ImplementationEntry g_entries[] =
{
io_acceptor
::
acceptor_CreateInstance
,
io_acceptor
::
acceptor_getImplementationName
,
io_acceptor
::
acceptor_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
stoc_connector
::
connector_CreateInstance
,
stoc_connector
::
connector_getImplementationName
,
stoc_connector
::
connector_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OPipeImpl_CreateInstance
,
io_stm
::
OPipeImpl_getImplementationName
,
io_stm
::
OPipeImpl_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OPumpImpl_CreateInstance
,
io_stm
::
OPumpImpl_getImplementationName
,
io_stm
::
OPumpImpl_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
ODataInputStream_CreateInstance
,
io_stm
::
ODataInputStream_getImplementationName
,
io_stm
::
ODataInputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
ODataOutputStream_CreateInstance
,
io_stm
::
ODataOutputStream_getImplementationName
,
io_stm
::
ODataOutputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OObjectInputStream_CreateInstance
,
io_stm
::
OObjectInputStream_getImplementationName
,
io_stm
::
OObjectInputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OObjectOutputStream_CreateInstance
,
io_stm
::
OObjectOutputStream_getImplementationName
,
io_stm
::
OObjectOutputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OMarkableInputStream_CreateInstance
,
io_stm
::
OMarkableInputStream_getImplementationName
,
io_stm
::
OMarkableInputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_stm
::
OMarkableOutputStream_CreateInstance
,
io_stm
::
OMarkableOutputStream_getImplementationName
,
io_stm
::
OMarkableOutputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_TextInputStream
::
TextInputStream_CreateInstance
,
io_TextInputStream
::
TextInputStream_getImplementationName
,
io_TextInputStream
::
TextInputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
io_TextOutputStream
::
TextOutputStream_CreateInstance
,
io_TextOutputStream
::
TextOutputStream_getImplementationName
,
io_TextOutputStream
::
TextOutputStream_getSupportedServiceNames
,
createSingleComponentFactory
,
0
,
0
nullptr
,
0
},
{
0
,
0
,
0
,
0
,
0
,
0
}
{
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
0
}
};
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
io_component_getFactory
(
...
...
io/source/stm/omark.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -717,7 +717,7 @@ void OMarkableInputStream::closeInput() throw (NotConnectedException, RuntimeExc
setSuccessor
(
Reference
<
XConnectable
>
()
);
delete
m_pBuffer
;
m_pBuffer
=
0
;
m_pBuffer
=
nullptr
;
m_nCurrentPos
=
0
;
m_nCurrentMark
=
0
;
}
...
...
io/source/stm/opipe.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -263,7 +263,7 @@ void OPipeImpl::closeInput()
m_bInputStreamClosed
=
true
;
delete
m_pFIFO
;
m_pFIFO
=
0
;
m_pFIFO
=
nullptr
;
// readBytes may throw an exception
m_conditionBytesAvail
.
set
();
...
...
io/source/stm/opump.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -105,7 +105,7 @@ namespace io_stm {
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
std
::
exception
)
override
;
};
Pump
::
Pump
()
:
m_aThread
(
0
),
Pump
::
Pump
()
:
m_aThread
(
nullptr
),
m_cnt
(
m_aMutex
),
m_closeFired
(
false
)
{
...
...
io/source/stm/streamhelper.cxx
Dosyayı görüntüle @
22980bea
...
...
@@ -52,7 +52,7 @@ void MemFIFO::skip( sal_Int32 nBytesToSkip ) throw ( css::io::BufferSizeExceeded
MemRingBuffer
::
MemRingBuffer
()
{
m_nBufferLen
=
0
;
m_p
=
0
;
m_p
=
nullptr
;
m_nStart
=
0
;
m_nOccupiedBuffer
=
0
;
}
...
...
@@ -187,7 +187,7 @@ void MemRingBuffer::shrink() throw ()
if
(
m_p
)
{
free
(
m_p
);
}
m_p
=
0
;
m_p
=
nullptr
;
m_nBufferLen
=
0
;
m_nStart
=
0
;
}
...
...
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