summaryrefslogtreecommitdiff
path: root/io/source/stm
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm')
-rw-r--r--io/source/stm/odata.cxx16
-rw-r--r--io/source/stm/omark.cxx8
-rw-r--r--io/source/stm/opipe.cxx6
3 files changed, 15 insertions, 15 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 5583e24b8fe4..3e40e25da82e 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -440,7 +440,7 @@ void ODataInputStream::setSuccessor( const Reference < XConnectable > &r ) throw
if( m_succ.is() ) {
/// set this instance as the sink !
m_succ->setPredecessor( Reference< XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -459,7 +459,7 @@ void ODataInputStream::setPredecessor( const Reference < XConnectable > &r )
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor( Reference< XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -850,7 +850,7 @@ void ODataOutputStream::setSuccessor( const Reference < XConnectable > &r )
{
/// set this instance as the sink !
m_succ->setPredecessor( Reference < XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ));
+ (static_cast< XConnectable * >(this)) ));
}
}
}
@@ -867,7 +867,7 @@ void ODataOutputStream::setPredecessor( const Reference < XConnectable > &r )
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor( Reference< XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ));
+ (static_cast< XConnectable * >(this)) ));
}
}
}
@@ -1097,7 +1097,7 @@ void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj
if( bWriteObj )
xPObj->write( Reference< XObjectOutputStream > (
- SAL_STATIC_CAST( XObjectOutputStream * , this ) ) );
+ (static_cast< XObjectOutputStream * >(this)) ) );
sal_Int32 nObjLen = m_rMarkable->offsetToMark( nObjLenMark ) -4;
m_rMarkable->jumpToMark( nObjLenMark );
@@ -1195,7 +1195,7 @@ Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance(
throw(Exception)
{
OObjectOutputStream *p = new OObjectOutputStream;
- return Reference< XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) );
+ return Reference< XInterface > ( (static_cast< OWeakObject * >(p)) );
}
OUString OObjectOutputStream_getImplementationName()
@@ -1383,7 +1383,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() throw (::com::sun:
m_aPersistVector[nId] = xLoadedObj;
xLoadedObj->read( Reference< XObjectInputStream >(
- SAL_STATIC_CAST( XObjectInputStream *, this ) ) );
+ (static_cast< XObjectInputStream * >(this)) ) );
}
else
{
@@ -1516,7 +1516,7 @@ Sequence< OUString > OObjectInputStream::getSupportedServiceNames(void) throw ()
Reference< XInterface > SAL_CALL OObjectInputStream_CreateInstance( const Reference < XComponentContext > & rCtx ) throw(Exception)
{
OObjectInputStream *p = new OObjectInputStream( rCtx );
- return Reference< XInterface> ( SAL_STATIC_CAST( OWeakObject *, p ) );
+ return Reference< XInterface> ( (static_cast< OWeakObject * >(p)) );
}
OUString OObjectInputStream_getImplementationName()
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 49fa8e20e0b6..4070f52551c6 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -367,7 +367,7 @@ void OMarkableOutputStream::setSuccessor( const Reference< XConnectable > &r )
if( m_succ.is() ) {
m_succ->setPredecessor( Reference < XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -385,7 +385,7 @@ void OMarkableOutputStream::setPredecessor( const Reference< XConnectable > &r )
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor( Reference < XConnectable > (
- SAL_STATIC_CAST ( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this )) ) );
}
}
}
@@ -900,7 +900,7 @@ void OMarkableInputStream::setSuccessor( const Reference< XConnectable > &r )
if( m_succ.is() ) {
/// set this instance as the sink !
m_succ->setPredecessor( Reference< XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -919,7 +919,7 @@ void OMarkableInputStream::setPredecessor( const Reference < XConnectable > &r
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor( Reference< XConnectable > (
- SAL_STATIC_CAST( XConnectable * , this ) ) );
+ (static_cast< XConnectable * >(this)) ) );
}
}
}
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index 9de67a94537b..5d9fd0f0e770 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -386,7 +386,7 @@ void OPipeImpl::setSuccessor( const Reference < XConnectable > &r )
if( m_succ.is() )
{
m_succ->setPredecessor(
- Reference< XConnectable > ( SAL_STATIC_CAST( XConnectable * , this ) ) );
+ Reference< XConnectable > ( (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -405,7 +405,7 @@ void OPipeImpl::setPredecessor( const Reference < XConnectable > &r )
m_pred = r;
if( m_pred.is() ) {
m_pred->setSuccessor(
- Reference < XConnectable > ( SAL_STATIC_CAST( XConnectable * , this ) ) );
+ Reference < XConnectable > ( (static_cast< XConnectable * >(this)) ) );
}
}
}
@@ -459,7 +459,7 @@ Reference < XInterface > SAL_CALL OPipeImpl_CreateInstance(
{
OPipeImpl *p = new OPipeImpl;
- return Reference < XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) );
+ return Reference < XInterface > ( (static_cast< OWeakObject * >(p)) );
}