diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:38 +0200 |
commit | 80434c1cde058b5dfe6b2fd4dde2b8307e2bf421 (patch) | |
tree | eff1846fc126da9f1ea204247e7f31618fd17481 /writerperfect/source/common | |
parent | a71478d8ba7347f41c20585c56e1d5283757f82e (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I2986cc33a29bdb9a388ce6ac715a3b25502eb556
Diffstat (limited to 'writerperfect/source/common')
-rw-r--r-- | writerperfect/source/common/DocumentHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx index d87a736fc782..1d93bf575bff 100644 --- a/writerperfect/source/common/DocumentHandler.cxx +++ b/writerperfect/source/common/DocumentHandler.cxx @@ -32,7 +32,7 @@ static const unsigned char librvng_utf8_skip_data[256] = 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,1,1 }; -#define librvng_utf8_next_char(p) (char const *)((p) + librvng_utf8_skip_data[*reinterpret_cast<unsigned char const *>(p)]) +#define librvng_utf8_next_char(p) ((p) + librvng_utf8_skip_data[*reinterpret_cast<unsigned char const *>(p)]) static void unescapeXML(const char *s, const unsigned long sz, librevenge::RVNGString &res) { |