From 38ecca9b30e0fc5f7cc6264857f983e40dd58195 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Jul 2015 16:22:29 +0200 Subject: inline a bunch of use-once macros no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc --- xmlhelp/source/cxxhelp/provider/content.cxx | 3 ++- xmlhelp/source/cxxhelp/provider/content.hxx | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'xmlhelp/source') diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx index 2e180d8314a7..da0688fb0ca1 100644 --- a/xmlhelp/source/cxxhelp/provider/content.cxx +++ b/xmlhelp/source/cxxhelp/provider/content.cxx @@ -140,7 +140,8 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] = MYUCP_CONTENT_SERVICE_NAME ; + aSNS.getArray()[ 0 ] = "com.sun.star.ucb.CHelpContent"; + return aSNS; } diff --git a/xmlhelp/source/cxxhelp/provider/content.hxx b/xmlhelp/source/cxxhelp/provider/content.hxx index a385e49e6f8d..5bb731a94045 100644 --- a/xmlhelp/source/cxxhelp/provider/content.hxx +++ b/xmlhelp/source/cxxhelp/provider/content.hxx @@ -37,10 +37,6 @@ namespace com { namespace sun { namespace star { namespace sdbc { namespace chelp { -// UNO service name for the content. -#define MYUCP_CONTENT_SERVICE_NAME \ - "com.sun.star.ucb.CHelpContent" - class Databases; struct ContentProperties -- cgit v1.2.3