summaryrefslogtreecommitdiff
path: root/formula/source/core/api/FormulaOpCodeMapperObj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'formula/source/core/api/FormulaOpCodeMapperObj.cxx')
-rw-r--r--formula/source/core/api/FormulaOpCodeMapperObj.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/formula/source/core/api/FormulaOpCodeMapperObj.cxx b/formula/source/core/api/FormulaOpCodeMapperObj.cxx
index d7bbaf4dcec6..4439834ee453 100644
--- a/formula/source/core/api/FormulaOpCodeMapperObj.cxx
+++ b/formula/source/core/api/FormulaOpCodeMapperObj.cxx
@@ -19,21 +19,17 @@
#include "formula/FormulaOpCodeMapperObj.hxx"
#include "formula/opcode.hxx"
#include <comphelper/sequence.hxx>
+#include <cppuhelper/supportsservice.hxx>
-// =============================================================================
namespace formula
{
-// =============================================================================
-
using namespace ::com::sun::star;
- // -----------------------------------------------------------------------------
-// --------------------------------------------------------------------------------
sal_Bool SAL_CALL FormulaOpCodeMapperObj::supportsService( const OUString& _rServiceName ) throw(uno::RuntimeException)
{
- return ::comphelper::findValue( getSupportedServiceNames_Static(), _rServiceName, sal_True ).getLength() != 0;
+ return cppu::supportsService(this, _rServiceName);
}
-//------------------------------------------------------------------------
+
SAL_WNODEPRECATED_DECLARATIONS_PUSH
FormulaOpCodeMapperObj::FormulaOpCodeMapperObj(::std::auto_ptr<FormulaCompiler> _pCompiler)
: m_pCompiler(_pCompiler)
@@ -45,7 +41,6 @@ FormulaOpCodeMapperObj::~FormulaOpCodeMapperObj()
{
}
-
::sal_Int32 SAL_CALL FormulaOpCodeMapperObj::getOpCodeExternal()
throw (::com::sun::star::uno::RuntimeException)
{