Kaydet (Commit) 9de93c8e authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Michael Stahl

Spare extra call stack

This also drops an unnecessary lock.

Change-Id: Ia5eb459adf3cb585aa2484866670949120315780
Reviewed-on: https://gerrit.libreoffice.org/14765Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 07ca1c58
......@@ -96,9 +96,6 @@ public:
// oox::FormulaImportBase
virtual void readFormulaOoxml( oox::formulaimport::XmlStream& stream ) SAL_OVERRIDE;
virtual Size getFormulaSize() const SAL_OVERRIDE;
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
static OUString getImplementationName_Static();
};
......
......@@ -398,12 +398,6 @@ static sal_Int16 lcl_AnyToINT16(const uno::Any& rAny)
}
OUString SmModel::getImplementationName(void) throw( uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
OUString SmModel::getImplementationName_Static()
{
return OUString("com.sun.star.comp.math.FormulaDocument");
}
......@@ -415,13 +409,6 @@ sal_Bool SmModel::supportsService(const OUString& rServiceName) throw( uno::Runt
uno::Sequence< OUString > SmModel::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
uno::Sequence< OUString > SmModel::getSupportedServiceNames_Static(void)
{
SolarMutexGuard aGuard;
return uno::Sequence<OUString>{
"com.sun.star.document.OfficeDocument",
"com.sun.star.formula.FormulaProperties"
......
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