diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-24 16:22:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-27 08:18:16 +0200 |
commit | 38ecca9b30e0fc5f7cc6264857f983e40dd58195 (patch) | |
tree | 3ad61e6d5cddcf161d27cfe4c6ca85fcf1cab8f6 /xmlhelp | |
parent | efac5fa06e2d00bd67c582d8a6b1f1fc69c9b9f5 (diff) |
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
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/content.cxx | 3 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/content.hxx | 4 |
2 files changed, 2 insertions, 5 deletions
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 |