summaryrefslogtreecommitdiff
path: root/io/source/stm/odata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm/odata.cxx')
-rw-r--r--io/source/stm/odata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index a4b48c9ac71f..ca2bc78423fa 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -477,7 +477,7 @@ Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance(
throw( Exception)
{
ODataInputStream *p = new ODataInputStream;
- return Reference< XInterface > ( (OWeakObject * ) p );
+ return Reference< XInterface > ( static_cast<OWeakObject *>(p) );
}
OUString ODataInputStream_getImplementationName()