summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-03-08 12:56:06 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-03-08 12:52:12 +0000
commit6b6d59d04e0398d67e789db05b6071faf2255ec1 (patch)
tree6fa22479829e2558eb9491cf8e04c596235d65c0 /linguistic
parentc405820c8e7195e331539e11c5a1ea14596f62a1 (diff)
Add some SAL_WARNs and SAL_INFOs
These help when debugging the LanguageTool issues. Change-Id: I04bb84dbffc8e4c4e0b353f8e830fe66d8dff576 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148199 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/gciterator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx
index a43a990a886f..edd028e31e28 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -565,6 +565,11 @@ uno::Reference< linguistic2::XProofreader > GrammarCheckingIterator::GetGrammarC
}
}
}
+ else // not found - quite normal
+ {
+ SAL_INFO("linguistic", "No grammar checker found for \""
+ << LanguageTag::convertToBcp47(rLocale, false) << "\"");
+ }
// ---- THREAD SAFE END ----
return xRes;