summaryrefslogtreecommitdiff
path: root/cppu/source/LogBridge
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:00:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:18 +0100
commit1777f6fedbd59b440e06c17f90842a2c2b5e349c (patch)
tree017706ce6823516bd42b79b7fb5bbf3c99feb2b4 /cppu/source/LogBridge
parentd18aa948685c4533694b89af9e3c8bce6dd1e854 (diff)
Clean up C-style casts from pointers to void
Change-Id: I834eb4ecd0fa71caf6fa746901367fac8b538305
Diffstat (limited to 'cppu/source/LogBridge')
-rw-r--r--cppu/source/LogBridge/LogBridge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx
index 7df03f55281b..30cde7fee365 100644
--- a/cppu/source/LogBridge/LogBridge.cxx
+++ b/cppu/source/LogBridge/LogBridge.cxx
@@ -168,7 +168,7 @@ bool LogBridge::v_isValid(rtl::OUString * pReason)
break;
case typelib_TypeClass_TYPE:
{
- const ::rtl::OString sValue( ::rtl::OUStringToOString(((com::sun::star::uno::Type*)pArg)->getTypeName(),osl_getThreadTextEncoding()));
+ const ::rtl::OString sValue( ::rtl::OUStringToOString(static_cast<com::sun::star::uno::Type*>(pArg)->getTypeName(),osl_getThreadTextEncoding()));
SAL_INFO("cppu.log", "" << sValue.getStr());
}
break;