diff options
Diffstat (limited to 'reportdesign/source/ui/inspection/DataProviderHandler.cxx')
-rw-r--r-- | reportdesign/source/ui/inspection/DataProviderHandler.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/reportdesign/source/ui/inspection/DataProviderHandler.cxx b/reportdesign/source/ui/inspection/DataProviderHandler.cxx index 3659ce67c1f6..1d0a3071ed43 100644 --- a/reportdesign/source/ui/inspection/DataProviderHandler.cxx +++ b/reportdesign/source/ui/inspection/DataProviderHandler.cxx @@ -94,8 +94,7 @@ OUString DataProviderHandler::getImplementationName_Static( ) throw(uno::Runtim uno::Sequence< OUString > DataProviderHandler::getSupportedServiceNames_static( ) throw(uno::RuntimeException) { - uno::Sequence< OUString > aSupported(1); - aSupported[0] = "com.sun.star.report.inspection.DataProviderHandler"; + uno::Sequence< OUString > aSupported { "com.sun.star.report.inspection.DataProviderHandler" }; return aSupported; } @@ -387,8 +386,7 @@ uno::Sequence< beans::Property > SAL_CALL DataProviderHandler::getSupportedPrope uno::Sequence< OUString > SAL_CALL DataProviderHandler::getSupersededProperties() throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet(1); - aRet[0] = PROPERTY_TITLE; // have a look at OPropertyInfoService::getExcludeProperties + uno::Sequence< OUString > aRet { PROPERTY_TITLE }; // have a look at OPropertyInfoService::getExcludeProperties return aRet; } @@ -396,8 +394,7 @@ uno::Sequence< OUString > SAL_CALL DataProviderHandler::getActuatingProperties() { ::osl::MutexGuard aGuard( m_aMutex ); - uno::Sequence< OUString > aSeq(1); - aSeq[0] = PROPERTY_TITLE; + uno::Sequence< OUString > aSeq { PROPERTY_TITLE }; return ::comphelper::concatSequences(m_xFormComponentHandler->getActuatingProperties(),aSeq); } |