diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-28 09:47:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 11:44:31 +0000 |
commit | 2c10714426cc813c36aa82e4870b7b51c5c03050 (patch) | |
tree | decd4f4343fb19a1e058c034e32b03be17cd9547 /compilerplugins | |
parent | 0c8fa58a2d73702770687ed15b98822d09f96ac3 (diff) |
Make OUStringLiteral1 a wrapper around UTF-16 instead of just ASCII
...not merely an ASCII character
Change-Id: Id2b381b35fe3a15574728ed973d60263dfef7249
Reviewed-on: https://gerrit.libreoffice.org/28446
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/stringstatic.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compilerplugins/clang/stringstatic.cxx b/compilerplugins/clang/stringstatic.cxx index 4ddac65d7e07..823fc7bab4b3 100644 --- a/compilerplugins/clang/stringstatic.cxx +++ b/compilerplugins/clang/stringstatic.cxx @@ -66,13 +66,6 @@ bool StringStatic::VisitVarDecl(VarDecl const* varDecl) if (ignoreLocation(varDecl)) { return true; } - // We could use OUStringLiteral1 here, but we'd need to update OUStringLiteral1 to allow BMP chars first: - if (compiler.getSourceManager().getFilename(varDecl->getLocation()) - == SRCDIR "/chart2/inc/SpecialUnicodes.hxx") - { - return true; - } - QualType qt = varDecl->getType(); if (!varDecl->hasGlobalStorage() || !varDecl->isThisDeclarationADefinition() |