reduce boilerplate
Change-Id: I726d824d6b6c42e7e395a99a6b3b6019d91e764d
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 9d5a2ad..5168aa7 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -148,9 +148,7 @@ public:
};
OUString SwXStyleFamilies::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SwXStyleFamilies");
}
{ return {"SwXStyleFamilies"}; }
sal_Bool SwXStyleFamilies::supportsService(const OUString& rServiceName) throw( uno::RuntimeException, std::exception )
{
@@ -158,10 +156,7 @@ sal_Bool SwXStyleFamilies::supportsService(const OUString& rServiceName) throw(
}
uno::Sequence< OUString > SwXStyleFamilies::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence<OUString> aRet { "com.sun.star.style.StyleFamilies" };
return aRet;
}
{ return { "com.sun.star.style.StyleFamilies" }; }
SwXStyleFamilies::SwXStyleFamilies(SwDocShell& rDocShell) :
SwUnoCollection(rDocShell.GetDoc()),