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
b4af1664
Kaydet (Commit)
b4af1664
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: I3003db8a411740db48c2e0c6ecd81a7fd9209e6c
üst
05b49021
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
40 additions
and
40 deletions
+40
-40
cancelcommandexecution.hxx
include/ucbhelper/cancelcommandexecution.hxx
+1
-1
content.hxx
include/ucbhelper/content.hxx
+1
-1
fd_inputstream.hxx
include/ucbhelper/fd_inputstream.hxx
+1
-1
macros.hxx
include/ucbhelper/macros.hxx
+1
-1
resultset.hxx
include/ucbhelper/resultset.hxx
+1
-1
content.cxx
ucbhelper/source/client/content.cxx
+5
-5
contenthelper.cxx
ucbhelper/source/provider/contenthelper.cxx
+8
-8
contentidentifier.cxx
ucbhelper/source/provider/contentidentifier.cxx
+1
-1
contentinfo.cxx
ucbhelper/source/provider/contentinfo.cxx
+4
-4
fd_inputstream.cxx
ucbhelper/source/provider/fd_inputstream.cxx
+3
-3
interactionrequest.cxx
ucbhelper/source/provider/interactionrequest.cxx
+7
-7
resultset.cxx
ucbhelper/source/provider/resultset.cxx
+4
-4
resultsethelper.cxx
ucbhelper/source/provider/resultsethelper.cxx
+2
-2
simplenameclashresolverequest.cxx
ucbhelper/source/provider/simplenameclashresolverequest.cxx
+1
-1
No files found.
include/ucbhelper/cancelcommandexecution.hxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -90,7 +90,7 @@ UCBHELPER_DLLPUBLIC void cancelCommandExecution( const css::ucb::IOErrorCode eEr
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
&
rArgs
,
const
css
::
uno
::
Reference
<
css
::
ucb
::
XCommandEnvironment
>
&
xEnv
,
const
OUString
&
rMessage
=
OUString
(),
const
css
::
uno
::
Reference
<
css
::
ucb
::
XCommandProcessor
>
&
xContext
=
0
)
const
css
::
uno
::
Reference
<
css
::
ucb
::
XCommandProcessor
>
&
xContext
=
nullptr
)
throw
(
css
::
uno
::
Exception
);
}
...
...
include/ucbhelper/content.hxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -653,7 +653,7 @@ public:
const
OUString
&
rMimeType
=
OUString
(
),
bool
bMajorVersion
=
false
,
const
OUString
&
rCommentVersion
=
OUString
(
),
OUString
*
pResultURL
=
NULL
,
OUString
*
pResultURL
=
nullptr
,
const
OUString
&
rDocumentId
=
OUString
(
)
)
throw
(
css
::
ucb
::
CommandAbortedException
,
css
::
uno
::
RuntimeException
,
...
...
include/ucbhelper/fd_inputstream.hxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -49,7 +49,7 @@ namespace ucbhelper
* on which the inputstream acts.
*/
FdInputStream
(
oslFileHandle
tmpfl
=
0
);
FdInputStream
(
oslFileHandle
tmpfl
=
nullptr
);
virtual
~
FdInputStream
();
...
...
include/ucbhelper/macros.hxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -52,7 +52,7 @@ css::uno::Sequence< css::uno::Type > SAL_CALL \
Class::getTypes() \
throw( css::uno::RuntimeException, std::exception ) \
{ \
static cppu::OTypeCollection* pCollection =
NULL
; \
static cppu::OTypeCollection* pCollection =
nullptr
; \
if ( !pCollection ) \
{ \
osl::Guard< osl::Mutex > aGuard( osl::Mutex::getGlobalMutex() ); \
...
...
include/ucbhelper/resultset.hxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -428,7 +428,7 @@ class ResultSetDataSupplier : public salhelper::SimpleReferenceObject
ResultSet
*
m_pResultSet
;
public
:
ResultSetDataSupplier
()
:
m_pResultSet
(
0
)
{}
ResultSetDataSupplier
()
:
m_pResultSet
(
nullptr
)
{}
/**
* This method returns the resultset this supplier belongs to.
...
...
ucbhelper/source/client/content.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -1042,7 +1042,7 @@ bool Content::transferContent( const Content& rSourceContent,
}
Any
aRet
=
pBroker
->
execute
(
aCommand
,
0
,
m_xImpl
->
getEnvironment
()
);
if
(
pResultURL
!=
NULL
)
if
(
pResultURL
!=
nullptr
)
aRet
>>=
*
pResultURL
;
return
true
;
}
...
...
@@ -1151,7 +1151,7 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
{
osl
::
MutexGuard
aGuard
(
m_aMutex
);
m_xCommandProcessor
=
0
;
m_xCommandProcessor
=
nullptr
;
// #92581# - Don't reset m_aURL!!!
...
...
@@ -1183,7 +1183,7 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
// content object again if demanded ( --> Content_Impl::getContent() )
getURL
();
m_xContent
=
0
;
m_xContent
=
nullptr
;
}
}
...
...
@@ -1216,8 +1216,8 @@ void Content_Impl::disposing( const EventObject& Source )
xContent
=
m_xContent
;
m_aURL
.
clear
();
m_xCommandProcessor
=
0
;
m_xContent
=
0
;
m_xCommandProcessor
=
nullptr
;
m_xContent
=
nullptr
;
}
if
(
xContent
.
is
()
)
...
...
ucbhelper/source/provider/contenthelper.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -98,11 +98,11 @@ struct ContentImplHelper_Impl
PropertyChangeListeners
*
m_pPropertyChangeListeners
;
ContentImplHelper_Impl
()
:
m_pDisposeEventListeners
(
0
),
m_pContentEventListeners
(
0
),
m_pPropSetChangeListeners
(
0
),
m_pCommandChangeListeners
(
0
),
m_pPropertyChangeListeners
(
0
)
{}
:
m_pDisposeEventListeners
(
nullptr
),
m_pContentEventListeners
(
nullptr
),
m_pPropSetChangeListeners
(
nullptr
),
m_pCommandChangeListeners
(
nullptr
),
m_pPropertyChangeListeners
(
nullptr
)
{}
~
ContentImplHelper_Impl
()
{
...
...
@@ -554,7 +554,7 @@ void SAL_CALL ContentImplHelper::removeProperty( const OUString& Name )
throw
;
}
xContainer
=
0
;
xContainer
=
nullptr
;
// Success!
...
...
@@ -566,7 +566,7 @@ void SAL_CALL ContentImplHelper::removeProperty( const OUString& Name )
if
(
xReg
.
is
()
)
{
OUString
aKey
(
xSet
->
getKey
()
);
xSet
=
0
;
xSet
=
nullptr
;
xReg
->
removePropertySet
(
aKey
);
}
}
...
...
@@ -722,7 +722,7 @@ void ContentImplHelper::notifyPropertiesChange(
cppu
::
OInterfaceIteratorHelper
aIter
(
*
pPropsContainer
);
while
(
aIter
.
hasMoreElements
()
)
{
PropertyEventSequence
*
p
=
NULL
;
PropertyEventSequence
*
p
=
nullptr
;
beans
::
XPropertiesChangeListener
*
pListener
=
static_cast
<
beans
::
XPropertiesChangeListener
*
>
(
...
...
ucbhelper/source/provider/contentidentifier.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -146,7 +146,7 @@ Sequence< com::sun::star::uno::Type > SAL_CALL
ContentIdentifier
::
getTypes
()
throw
(
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
NULL
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
ucbhelper/source/provider/contentinfo.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -46,7 +46,7 @@ PropertySetInfo::PropertySetInfo(
const
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XCommandEnvironment
>&
rxEnv
,
ContentImplHelper
*
pContent
)
:
m_xEnv
(
rxEnv
),
m_pProps
(
0
),
m_pProps
(
nullptr
),
m_pContent
(
pContent
)
{
}
...
...
@@ -191,7 +191,7 @@ void PropertySetInfo::reset()
{
osl
::
MutexGuard
aGuard
(
m_aMutex
);
delete
m_pProps
;
m_pProps
=
0
;
m_pProps
=
nullptr
;
}
...
...
@@ -229,7 +229,7 @@ CommandProcessorInfo::CommandProcessorInfo(
const
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XCommandEnvironment
>&
rxEnv
,
ContentImplHelper
*
pContent
)
:
m_xEnv
(
rxEnv
),
m_pCommands
(
0
),
m_pCommands
(
nullptr
),
m_pContent
(
pContent
)
{
}
...
...
@@ -377,7 +377,7 @@ void CommandProcessorInfo::reset()
{
osl
::
MutexGuard
aGuard
(
m_aMutex
);
delete
m_pCommands
;
m_pCommands
=
0
;
m_pCommands
=
nullptr
;
}
...
...
ucbhelper/source/provider/fd_inputstream.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -35,7 +35,7 @@ namespace ucbhelper
,
m_nLength
(
0
)
{
if
(
!
m_tmpfl
)
osl_createTempFile
(
NULL
,
&
m_tmpfl
,
NULL
);
osl_createTempFile
(
nullptr
,
&
m_tmpfl
,
nullptr
);
OSL_ENSURE
(
m_tmpfl
,
"input stream without tempfile!"
);
if
(
osl_setFilePos
(
m_tmpfl
,
osl_Pos_End
,
0
)
==
osl_File_E_None
)
...
...
@@ -50,7 +50,7 @@ namespace ucbhelper
FdInputStream
::~
FdInputStream
()
{
if
(
0
!=
m_tmpfl
)
if
(
nullptr
!=
m_tmpfl
)
osl_closeFile
(
m_tmpfl
);
}
...
...
@@ -127,7 +127,7 @@ namespace ucbhelper
{
osl
::
MutexGuard
aGuard
(
m_aMutex
);
if
(
m_tmpfl
)
osl_closeFile
(
m_tmpfl
),
m_tmpfl
=
0
;
osl_closeFile
(
m_tmpfl
),
m_tmpfl
=
nullptr
;
}
...
...
ucbhelper/source/provider/interactionrequest.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -158,7 +158,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionRequest
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -293,7 +293,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionAbort
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -383,7 +383,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionRetry
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -473,7 +473,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionApprove
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -563,7 +563,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionDisapprove
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -655,7 +655,7 @@ InteractionSupplyAuthentication::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionSupplyAuthentication
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
@@ -907,7 +907,7 @@ InteractionReplaceExistingData::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionReplaceExistingData
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
ucbhelper/source/provider/resultset.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -66,10 +66,10 @@ static const PropertyInfo aPropertyTable[] =
beans
::
PropertyAttribute
::
BOUND
|
beans
::
PropertyAttribute
::
READONLY
,
&
sal_Int32_getCppuType
},
{
0
,
{
nullptr
,
0
,
0
,
0
nullptr
}
};
...
...
@@ -178,8 +178,8 @@ inline ResultSet_Impl::ResultSet_Impl(
m_xEnv
(
rxEnv
),
m_aProperties
(
rProperties
),
m_xDataSupplier
(
rDataSupplier
),
m_pDisposeEventListeners
(
0
),
m_pPropertyChangeListeners
(
0
),
m_pDisposeEventListeners
(
nullptr
),
m_pPropertyChangeListeners
(
nullptr
),
m_nPos
(
0
),
// Position is one-based. Zero means: before first element.
m_bWasNull
(
false
),
m_bAfterLast
(
false
)
...
...
ucbhelper/source/provider/resultsethelper.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -52,7 +52,7 @@ namespace ucbhelper {
ResultSetImplHelper
::
ResultSetImplHelper
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
com
::
sun
::
star
::
ucb
::
OpenCommandArgument2
&
rCommand
)
:
m_pDisposeEventListeners
(
0
),
:
m_pDisposeEventListeners
(
nullptr
),
m_bStatic
(
false
),
m_bInitDone
(
false
),
m_aCommand
(
rCommand
),
...
...
@@ -272,7 +272,7 @@ void SAL_CALL ResultSetImplHelper::connectToCache(
if
(
xStubFactory
.
is
()
)
{
xStubFactory
->
connectToCache
(
this
,
xCache
,
m_aCommand
.
SortingInfo
,
0
);
this
,
xCache
,
m_aCommand
.
SortingInfo
,
nullptr
);
return
;
}
}
...
...
ucbhelper/source/provider/simplenameclashresolverequest.cxx
Dosyayı görüntüle @
b4af1664
...
...
@@ -113,7 +113,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
uno
::
Sequence
<
uno
::
Type
>
SAL_CALL
InteractionSupplyName
::
getTypes
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
cppu
::
OTypeCollection
*
pCollection
=
0
;
static
cppu
::
OTypeCollection
*
pCollection
=
nullptr
;
if
(
!
pCollection
)
{
osl
::
Guard
<
osl
::
Mutex
>
aGuard
(
osl
::
Mutex
::
getGlobalMutex
()
);
...
...
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