diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-30 14:09:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-30 14:12:31 +0200 |
commit | 909a76c7da77d8ecee8d797dd1ba77a5062ac303 (patch) | |
tree | 460c6d9c6fcafbb44ac66a23574bb69568df74ab /include/comphelper | |
parent | fdo#76324: Use one static SvXMLTokenMap object, it's faster. (diff) | |
download | core-909a76c7da77d8ecee8d797dd1ba77a5062ac303.tar.gz core-909a76c7da77d8ecee8d797dd1ba77a5062ac303.zip |
New loplugin:inlinevisible to flag inline functions marked DLLEXPORT
...which does not make sense. On Linux and Mac OS X, they potentially end up
exported from multiple libs (weakly, though), while on Windows the potentially
even end up not emitted at all, which could cause link errors.
Change-Id: I092c9ba39e686c17b6e91581cdd4753f1c4d582f
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/string.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index 181ca8b92a6e..ca47fb560968 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -253,13 +253,13 @@ namespace detail @return rBuf; */ -COMPHELPER_DLLPUBLIC inline OStringBuffer& truncateToLength( +inline OStringBuffer& truncateToLength( OStringBuffer& rBuffer, sal_Int32 nLength) SAL_THROW(()) { return detail::truncateToLength(rBuffer, nLength); } -COMPHELPER_DLLPUBLIC inline OUStringBuffer& truncateToLength( +inline OUStringBuffer& truncateToLength( OUStringBuffer& rBuffer, sal_Int32 nLength) SAL_THROW(()) { return detail::truncateToLength(rBuffer, nLength); @@ -294,14 +294,14 @@ namespace detail @return rBuf; */ -COMPHELPER_DLLPUBLIC inline OStringBuffer& padToLength( +inline OStringBuffer& padToLength( OStringBuffer& rBuffer, sal_Int32 nLength, sal_Char cFill = '\0') SAL_THROW(()) { return detail::padToLength(rBuffer, nLength, cFill); } -COMPHELPER_DLLPUBLIC inline OUStringBuffer& padToLength( +inline OUStringBuffer& padToLength( OUStringBuffer& rBuffer, sal_Int32 nLength, sal_Unicode cFill = '\0') SAL_THROW(()) { @@ -433,32 +433,32 @@ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(const OString &rString); */ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(const OUString &rString); -COMPHELPER_DLLPUBLIC inline bool isdigitAscii(sal_Unicode c) +inline bool isdigitAscii(sal_Unicode c) { return ((c >= '0') && (c <= '9')); } -COMPHELPER_DLLPUBLIC inline bool isxdigitAscii(sal_Unicode c) +inline bool isxdigitAscii(sal_Unicode c) { return isdigitAscii(c) || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f'); } -COMPHELPER_DLLPUBLIC inline bool islowerAscii(sal_Unicode c) +inline bool islowerAscii(sal_Unicode c) { return ((c >= 'a') && (c <= 'z')); } -COMPHELPER_DLLPUBLIC inline bool isupperAscii(sal_Unicode c) +inline bool isupperAscii(sal_Unicode c) { return ((c >= 'A') && (c <= 'Z')); } -COMPHELPER_DLLPUBLIC inline bool isalphaAscii(sal_Unicode c) +inline bool isalphaAscii(sal_Unicode c) { return islowerAscii(c) || isupperAscii(c); } -COMPHELPER_DLLPUBLIC inline bool isalnumAscii(sal_Unicode c) +inline bool isalnumAscii(sal_Unicode c) { return isalphaAscii(c) || isdigitAscii(c); } |