diff options
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.cxx | 12 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.hxx | 8 |
2 files changed, 13 insertions, 7 deletions
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx index 1076f9d672b7..578c54881f17 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.cxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx @@ -13,10 +13,13 @@ #include <sal/macros.h> #include <string.h> -namespace writerfilter { -namespace rtftok { +namespace writerfilter +{ +namespace rtftok +{ -RTFSymbol aRTFControlWords[] = { +RTFSymbol aRTFControlWords[] = +{ // sKeyword nControlType nIndex {"'", CONTROL_SYMBOL, RTF_HEXCHAR}, {"-", CONTROL_SYMBOL, RTF_OPTHYPH}, @@ -1851,7 +1854,8 @@ bool RTFSymbol::operator<(const RTFSymbol& rOther) const return strcmp(sKeyword, rOther.sKeyword) < 0; } -RTFMathSymbol aRTFMathControlWords[] = { +RTFMathSymbol aRTFMathControlWords[] = +{ // eKeyword nToken eDestination {RTF_MOMATH, M_TOKEN(oMath), DESTINATION_MOMATH}, {RTF_MF, M_TOKEN(f), DESTINATION_MF}, diff --git a/writerfilter/source/rtftok/rtfcontrolwords.hxx b/writerfilter/source/rtftok/rtfcontrolwords.hxx index f699b7947e27..f89e4cfe3860 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.hxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.hxx @@ -10,8 +10,10 @@ #ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCONTROLWORDS_HXX #define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFCONTROLWORDS_HXX -namespace writerfilter { -namespace rtftok { +namespace writerfilter +{ +namespace rtftok +{ // Note that this is not a 1:1 mapping between destination control // words, e.g. RTF_PICT gets mapped to DESTINATION_PICT or @@ -1981,7 +1983,7 @@ enum RTFControlTypes /// Respresents an RTF Control Word struct RTFSymbol { - const char *sKeyword; + const char* sKeyword; int nControlType; RTFKeyword nIndex; |