diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-02 08:37:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-18 15:12:34 +0200 |
commit | 2b9e6cfc8fb63eb621c397a6c53e75ee60a0c2fb (patch) | |
tree | a6bb7386201277831f25df8ac9281d9a4c43467b /sw | |
parent | 59f8370e6286964ccf932d8f8295390dcec123d0 (diff) |
Log using LOK_WARN instead of std::cerr
Change-Id: I3a3cabd90154cb7293949d6a21f599417c364b9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174370
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Attila Szűcs <attila.szucs@collabora.com>
(cherry picked from commit 4baad2222e36fe2a71b2030b1a1292310821e104)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175123
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 971ddb4183fd..aa2219dc2fb3 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -42,6 +42,7 @@ #include <sfx2/viewfrm.hxx> #include <vcl/unohelp2.hxx> #include <vcl/weld.hxx> +#include <sfx2/lokhelper.hxx> #include <sfx2/request.hxx> #include <svl/eitem.hxx> #include <editeng/lrspitem.hxx> @@ -815,7 +816,7 @@ void DeleteFields(SfxRequest& rReq, SwWrtShell& rWrtSh) void lcl_LogWarning(std::string sWarning) { - std::cerr << "Warning: " << sWarning << "\n"; + LOK_WARN("sw.transform", sWarning); } bool lcl_ChangeChartColumnCount(const uno::Reference<chart2::XChartDocument>& xChartDoc, sal_Int32 nId, |