summaryrefslogtreecommitdiffstats
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-27 14:41:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-31 05:32:03 +0000
commit2670ca3fc597decae78499d1397539668eb84e5e (patch)
tree0ebb92fa0e1e92cf4891042046cd8fb83423c01f /include/i18nlangtag
parentofz: we're going to need at last a len field and a CounterByte on each row (diff)
downloadcore-2670ca3fc597decae78499d1397539668eb84e5e.tar.gz
core-2670ca3fc597decae78499d1397539668eb84e5e.zip
a whole bunch of SAL_WARN_UNUSED
Change-Id: Iea28debc7d3abc58cca21bd3856cb65b321dc1e6 Reviewed-on: https://gerrit.libreoffice.org/33693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/languagetag.hxx2
-rw-r--r--include/i18nlangtag/languagetagicu.hxx2
-rw-r--r--include/i18nlangtag/mslangid.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index ea87f5365b70..bc123dbccf21 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -49,7 +49,7 @@ class LanguageTagImpl;
For standalone conversions if no LanguageTag instance is at hand, static
convertTo...() methods exist.
*/
-class I18NLANGTAG_DLLPUBLIC LanguageTag
+class SAL_WARN_UNUSED I18NLANGTAG_DLLPUBLIC LanguageTag
{
friend class LanguageTagImpl;
diff --git a/include/i18nlangtag/languagetagicu.hxx b/include/i18nlangtag/languagetagicu.hxx
index 094f07759a6c..2d0aabdd34ea 100644
--- a/include/i18nlangtag/languagetagicu.hxx
+++ b/include/i18nlangtag/languagetagicu.hxx
@@ -24,7 +24,7 @@ class LanguageTag;
makefiles) with ICU header file inclusion, only the few code actually using
this needs to know about ICU, which it did anyway.
*/
-class I18NLANGTAG_DLLPUBLIC LanguageTagIcu
+class SAL_WARN_UNUSED I18NLANGTAG_DLLPUBLIC LanguageTagIcu
{
public:
diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx
index d9d4eadb2171..1db3616c3d9a 100644
--- a/include/i18nlangtag/mslangid.hxx
+++ b/include/i18nlangtag/mslangid.hxx
@@ -32,7 +32,7 @@ struct IsoLanguageScriptCountryEntry;
/** Methods related to Microsoft language IDs. For details about MS-LANGIDs
please see lang.h */
-class I18NLANGTAG_DLLPUBLIC MsLangId
+class SAL_WARN_UNUSED I18NLANGTAG_DLLPUBLIC MsLangId
{
public: