summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-05-04 15:51:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-05-04 15:52:57 +0200
commit135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch)
tree5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /extensions
parentc48fe716225b1b784d657685396b6cf5fee4fc3d (diff)
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'extensions')
-rw-r--r--extensions/workben/testpgp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/workben/testpgp.cxx b/extensions/workben/testpgp.cxx
index bae34b1b425a..e6499dd0c2f1 100644
--- a/extensions/workben/testpgp.cxx
+++ b/extensions/workben/testpgp.cxx
@@ -246,7 +246,7 @@ sal_Bool SAL_CALL DataSource_Impl::queryInterface (
{
if (com::sun::star::uno::queryInterface (
rUik, rIfc,
- SAL_STATIC_CAST (XInputStream*, this)))
+ (static_cast< XInputStream* >(this))))
return sal_True;
else
return OWeakObject::queryInterface (rUik, rIfc);
@@ -357,7 +357,7 @@ sal_Bool SAL_CALL DataSink_Impl::queryInterface (
{
if (com::sun::star::uno::queryInterface (
rUik, rIfc,
- SAL_STATIC_CAST (XOutputStream*, this)))
+ (static_cast< XOutputStream* >(this))))
return sal_True;
else
return OWeakObject::queryInterface (rUik, rIfc);
@@ -456,8 +456,8 @@ sal_Bool SAL_CALL DecoderListener_Impl::queryInterface (
{
if (com::sun::star::uno::queryInterface (
rUik, rIfc,
- SAL_STATIC_CAST (XEventListener*, this),
- SAL_STATIC_CAST (XPGPDecoderListener*, this)))
+ (static_cast< XEventListener* >(this)),
+ (static_cast< XPGPDecoderListener* >(this))))
return sal_True;
else
return OWeakObject::queryInterface (rUik, rIfc);