Kaydet (Commit) 3ca42d8d authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

reduce boilerplate

Change-Id: I726d824d6b6c42e7e395a99a6b3b6019d91e764d
üst c50e1c44
......@@ -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()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment