diff options
-rw-r--r-- | writerfilter/source/rtftok/rtfcharsets.cxx | 9 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfcharsets.hxx | 24 |
2 files changed, 19 insertions, 14 deletions
diff --git a/writerfilter/source/rtftok/rtfcharsets.cxx b/writerfilter/source/rtftok/rtfcharsets.cxx index 674040b47590..9e84b1e6a4c2 100644 --- a/writerfilter/source/rtftok/rtfcharsets.cxx +++ b/writerfilter/source/rtftok/rtfcharsets.cxx @@ -10,11 +10,14 @@ #include <rtfcharsets.hxx> #include <sal/macros.h> -namespace writerfilter { -namespace rtftok { +namespace writerfilter +{ +namespace rtftok +{ // See RTF spec v1.9.1, page 19 -RTFEncoding aRTFEncodings[] = { +RTFEncoding aRTFEncodings[] = +{ // charset codepage Windows / Mac name {0, 1252}, // ANSI {1, 0}, // Default diff --git a/writerfilter/source/rtftok/rtfcharsets.hxx b/writerfilter/source/rtftok/rtfcharsets.hxx index c2cca62d3eab..99e9d86e685c 100644 --- a/writerfilter/source/rtftok/rtfcharsets.hxx +++ b/writerfilter/source/rtftok/rtfcharsets.hxx @@ -10,17 +10,19 @@ #ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX #define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX -namespace writerfilter { - namespace rtftok { - /// RTF legacy charsets - typedef struct - { - int charset; - int codepage; - } RTFEncoding; - extern RTFEncoding aRTFEncodings[]; - extern int nRTFEncodings; - } // namespace rtftok +namespace writerfilter +{ +namespace rtftok +{ +/// RTF legacy charsets +typedef struct +{ + int charset; + int codepage; +} RTFEncoding; +extern RTFEncoding aRTFEncodings[]; +extern int nRTFEncodings; +} // namespace rtftok } // namespace writerfilter #endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCHARSETS_HXX |