summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@collabora.co.uk>2024-02-13 16:15:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-13 18:53:21 +0100
commit34a09df2d112a9d6828a9a65d9965aacae6c7c41 (patch)
tree862d7101ae95dbadec7d08880749aed292956624 /comphelper/source
parent29c9587df7f0e7ce27e616c6fc9640a1df0d20a7 (diff)
fix windows --enable-mergelibs build
after commit b663d94cf67a5af4fd89c1ac8bdffd6059f6bf85 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Feb 5 08:50:24 2024 +0200 create --enable-mergelibs=more Change-Id: Ib9f0b3b28df70a9bab10d9bb0aa77a2b2decc616 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163308 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/errcode.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/errcode.cxx b/comphelper/source/misc/errcode.cxx
index e7b667745808..716daab1793e 100644
--- a/comphelper/source/misc/errcode.cxx
+++ b/comphelper/source/misc/errcode.cxx
@@ -21,7 +21,7 @@
#include <rtl/ustrbuf.hxx>
#include <o3tl/runtimetooustring.hxx>
-COMPHELPER_DLLPUBLIC OUString ErrCode::toString() const
+UNLESS_MERGELIBS(COMPHELPER_DLLPUBLIC) OUString ErrCode::toString() const
{
std::u16string_view pWarningError;
if (IsWarning())
@@ -150,7 +150,7 @@ COMPHELPER_DLLPUBLIC std::ostream& operator<<(std::ostream& os, const ErrCode& e
return os;
}
-COMPHELPER_DLLPUBLIC OUString ErrCodeMsg::toString() const
+UNLESS_MERGELIBS(COMPHELPER_DLLPUBLIC) OUString ErrCodeMsg::toString() const
{
OUString s = mnCode.toString();
if (!maArg1.isEmpty())