summaryrefslogtreecommitdiff
path: root/unusedcode.exclude
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:25:24 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commit746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (patch)
tree41ce4775ff7bd938408ec3ad639a95e3eec42534 /unusedcode.exclude
parentd60d957a680d9c98823aac05facb652bf619a750 (diff)
loplugin:passstuffbyref in sax
Change-Id: I95f0a17b9b8bab592a60f6b5223b4668c5355275
Diffstat (limited to 'unusedcode.exclude')
0 files changed, 0 insertions, 0 deletions
ic LanguageTag::convertTo...() for standalone conversions
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
Diffstat (limited to 'sfx2/source/doc/SfxDocumentMetaData.cxx')
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index f1e96c6645d0..fe08d67a0fcd 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -1524,7 +1524,7 @@ void SAL_CALL
SfxDocumentMetaData::setLanguage(const css::lang::Locale & the_value)
throw (css::uno::RuntimeException)
{
- OUString text( LanguageTag( the_value).getBcp47( false));
+ OUString text( LanguageTag::convertToBcp47( the_value, false));
setMetaTextAndNotify("dc:language", text);
}