diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-03-05 22:14:10 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-10 14:25:18 +0000 |
commit | 9de93c8e06da3f79929ac208b666fb562b48bd49 (patch) | |
tree | 24f9e7b691436ceb5ee1e71bb670729fb5a124c6 /starmath | |
parent | 07ca1c58d779f4daa4c84895d914780a1c814944 (diff) |
Spare extra call stack
This also drops an unnecessary lock.
Change-Id: Ia5eb459adf3cb585aa2484866670949120315780
Reviewed-on: https://gerrit.libreoffice.org/14765
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/unomodel.hxx | 3 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 13 |
2 files changed, 0 insertions, 16 deletions
diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index 9fcddc75b625..b6a1db01318a 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -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(); }; diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index d45f7327262a..f85e044c0182 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -399,12 +399,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" |