summaryrefslogtreecommitdiff
path: root/cppu/source/uno/EnvDcp.c
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-05 13:05:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-05 13:10:48 +0100
commit9720e8e5ef49ee56e3612123a52b4a464d5e96ad (patch)
tree4b725a63422f12f4d78abb240a15bd24689e1dc9 /cppu/source/uno/EnvDcp.c
parent32fb1cd5041383908041811c58fdf8d06e75cc49 (diff)
Some loplugin:revisibility clean-up
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
Diffstat (limited to 'cppu/source/uno/EnvDcp.c')
-rw-r--r--cppu/source/uno/EnvDcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/EnvDcp.c b/cppu/source/uno/EnvDcp.c
index 2ef5d279d584..5e2ac2e2f97c 100644
--- a/cppu/source/uno/EnvDcp.c
+++ b/cppu/source/uno/EnvDcp.c
@@ -20,7 +20,7 @@
#include "uno/EnvDcp.h"
-CPPU_DLLPUBLIC void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTypeName)
+void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvTypeName)
{
sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':');
if (colIdx >= 0)
@@ -30,7 +30,7 @@ CPPU_DLLPUBLIC void uno_EnvDcp_getTypeName(rtl_uString const * pEnvDcp, rtl_uStr
rtl_uString_newFromStr(ppEnvTypeName, pEnvDcp->buffer);
}
-CPPU_DLLPUBLIC void uno_EnvDcp_getPurpose(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvPurpose)
+void uno_EnvDcp_getPurpose(rtl_uString const * pEnvDcp, rtl_uString ** ppEnvPurpose)
{
sal_Int32 colIdx = rtl_ustr_indexOfChar_WithLength(pEnvDcp->buffer, pEnvDcp->length, ':');
if (colIdx >= 0)