summaryrefslogtreecommitdiff
path: root/io/source/TextInputStream/TextInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/TextInputStream/TextInputStream.cxx')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 607f04104674..115ba041998e 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -436,7 +436,7 @@ Reference< XInputStream > OTextInputStream::getInputStream()
Reference< XInterface > SAL_CALL TextInputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference< XComponentContext > &)
{
- return Reference < XInterface >( ( OWeakObject * ) new OTextInputStream() );
+ return Reference < XInterface >( static_cast<OWeakObject *>(new OTextInputStream()) );
}
OUString TextInputStream_getImplementationName()