summaryrefslogtreecommitdiffstats
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/tdmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx
index abd2865dc722..4a454e616324 100644
--- a/cppuhelper/source/tdmgr.cxx
+++ b/cppuhelper/source/tdmgr.cxx
@@ -230,8 +230,8 @@ inline static typelib_TypeDescription * createCTD(
(typelib_TypeClass)xType->getTypeClass(),
aMemberTypeName.pData, // type name
xAttribute->isReadOnly(),
- getExc.size(), getExc.empty() ? 0 : &getExc[0],
- setExc.size(), setExc.empty() ? 0 : &setExc[0] );
+ getExc.size(), getExc.data(),
+ setExc.size(), setExc.data() );
}
return pRet;
}