Kaydet (Commit) 5a43b764 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

remove boilerplate

Change-Id: Id06e8bfdff74a9cfecd74bcae4daa70782e684e0
üst 3ca42d8d
...@@ -357,9 +357,7 @@ uno::Sequence< beans::PropertyValue > SwXStyleFamilies::getStyleLoaderOptions() ...@@ -357,9 +357,7 @@ uno::Sequence< beans::PropertyValue > SwXStyleFamilies::getStyleLoaderOptions()
} }
OUString SwXStyleFamily::getImplementationName() throw( uno::RuntimeException, std::exception ) OUString SwXStyleFamily::getImplementationName() throw( uno::RuntimeException, std::exception )
{ { return {"SwXStyleFamily"}; }
return OUString("SwXStyleFamily");
}
sal_Bool SwXStyleFamily::supportsService(const OUString& rServiceName) throw( uno::RuntimeException, std::exception ) sal_Bool SwXStyleFamily::supportsService(const OUString& rServiceName) throw( uno::RuntimeException, std::exception )
{ {
...@@ -367,10 +365,7 @@ sal_Bool SwXStyleFamily::supportsService(const OUString& rServiceName) throw( un ...@@ -367,10 +365,7 @@ sal_Bool SwXStyleFamily::supportsService(const OUString& rServiceName) throw( un
} }
uno::Sequence< OUString > SwXStyleFamily::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) uno::Sequence< OUString > SwXStyleFamily::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{ { return { "com.sun.star.style.StyleFamily" }; }
uno::Sequence<OUString> aRet { "com.sun.star.style.StyleFamily" };
return aRet;
}
SwXStyleFamily::SwXStyleFamily(SwDocShell* pDocSh, sal_uInt16 nFamily) : SwXStyleFamily::SwXStyleFamily(SwDocShell* pDocSh, sal_uInt16 nFamily) :
m_eFamily((SfxStyleFamily)nFamily), m_eFamily((SfxStyleFamily)nFamily),
......
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