summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-02 21:44:43 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-02 22:13:58 +0200
commit66c3d569187c4cef80b9c46ce216a8b2af0ebf02 (patch)
treefc35e2f76331a3b11561a3b4c3eac562f9e4ae43 /writerfilter
parent56cce6fd8151a916e1be540ac18724b46d1b15fc (diff)
writerfilter: fix indentation in rtfcontrolwords
Change-Id: Iab15548826efd7f11f3103fd63d66be443e9039f
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfcontrolwords.cxx12
-rw-r--r--writerfilter/source/rtftok/rtfcontrolwords.hxx8
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;