summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-08-25 10:02:33 +0200
committerDavid Tardon <dtardon@redhat.com>2015-08-25 10:03:11 +0200
commit51adbedb840470919b9275c6b006c3af7673b6a0 (patch)
treee51813d9567086648e8ad0e9efab98a46f641eae /writerperfect
parent2a0f9f08914fad8ec858d2a8d6e9d16ceddaa7e3 (diff)
astyle
Change-Id: I597c007e4636f6b05873f24ef3e89c0a7c2c3670
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/WPFTEncodingDialog.cxx99
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
2 files changed, 67 insertions, 34 deletions
diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx
index 2841be8ac80b..238df4a1c97d 100644
--- a/writerperfect/source/common/WPFTEncodingDialog.cxx
+++ b/writerperfect/source/common/WPFTEncodingDialog.cxx
@@ -30,7 +30,8 @@ namespace writerperfect
namespace
{
-std::pair<OUStringLiteral, OUStringLiteral> const s_encodings[] = {
+std::pair<OUStringLiteral, OUStringLiteral> const s_encodings[] =
+{
{OUStringLiteral("MacArabic"), OUStringLiteral("Arabic (Apple Macintosh)")},
{OUStringLiteral("CP864"), OUStringLiteral("Arabic (DOS/OS2-864)")},
{OUStringLiteral("CP1006"), OUStringLiteral("Arabic (IBM-1006)")},
@@ -38,21 +39,33 @@ std::pair<OUStringLiteral, OUStringLiteral> const s_encodings[] = {
{OUStringLiteral("CP775"), OUStringLiteral("Baltic (DOS/OS2-775)")},
{OUStringLiteral("CP1257"), OUStringLiteral("Baltic (Windows-1257)")},
{OUStringLiteral("MacCeltic"), OUStringLiteral("Celtic (Apple Macintosh)")},
- {OUStringLiteral("MacCyrillic"),
- OUStringLiteral("Cyrillic (Apple Macintosh)")},
+ {
+ OUStringLiteral("MacCyrillic"),
+ OUStringLiteral("Cyrillic (Apple Macintosh)")
+ },
{OUStringLiteral("CP855"), OUStringLiteral("Cyrillic (DOS/OS2-855)")},
- {OUStringLiteral("CP866"),
- OUStringLiteral("Cyrillic (DOS/OS2-866/Russian)")},
+ {
+ OUStringLiteral("CP866"),
+ OUStringLiteral("Cyrillic (DOS/OS2-866/Russian)")
+ },
{OUStringLiteral("CP1251"), OUStringLiteral("Cyrillic (Windows-1251)")},
- {OUStringLiteral("MacCEurope"),
- OUStringLiteral("Eastern Europe (Apple Macintosh)")},
- {OUStringLiteral("MacCroatian"),
- OUStringLiteral("Eastern Europe (Apple Macintosh/Croatian)")},
- {OUStringLiteral("MacRomanian"),
- OUStringLiteral("Eastern Europe (Apple Macintosh/Romanian)")},
+ {
+ OUStringLiteral("MacCEurope"),
+ OUStringLiteral("Eastern Europe (Apple Macintosh)")
+ },
+ {
+ OUStringLiteral("MacCroatian"),
+ OUStringLiteral("Eastern Europe (Apple Macintosh/Croatian)")
+ },
+ {
+ OUStringLiteral("MacRomanian"),
+ OUStringLiteral("Eastern Europe (Apple Macintosh/Romanian)")
+ },
{OUStringLiteral("CP852"), OUStringLiteral("Eastern Europe (DOS/OS2-852)")},
- {OUStringLiteral("CP1250"),
- OUStringLiteral("Eastern Europe (Windows-1250/WinLatin 2)")},
+ {
+ OUStringLiteral("CP1250"),
+ OUStringLiteral("Eastern Europe (Windows-1250/WinLatin 2)")
+ },
{OUStringLiteral("MacGreek"), OUStringLiteral("Greek (Apple Macintosh)")},
{OUStringLiteral("CP737"), OUStringLiteral("Greek (DOS/OS2-737)")},
{OUStringLiteral("CP869"), OUStringLiteral("Greek (DOS/OS2-869/Greek-2)")},
@@ -66,31 +79,51 @@ std::pair<OUStringLiteral, OUStringLiteral> const s_encodings[] = {
{OUStringLiteral("CP500"), OUStringLiteral("International (DOS/OS2-500)")},
{OUStringLiteral("MacThai"), OUStringLiteral("Thai (Apple Macintosh)")},
{OUStringLiteral("CP874"), OUStringLiteral("Thai (DOS/OS2-874)")},
- {OUStringLiteral("MacTurkish"),
- OUStringLiteral("Turkish (Apple Macintosh)")},
+ {
+ OUStringLiteral("MacTurkish"),
+ OUStringLiteral("Turkish (Apple Macintosh)")
+ },
{OUStringLiteral("CP857"), OUStringLiteral("Turkish (DOS/OS2-857)")},
{OUStringLiteral("CP1026"), OUStringLiteral("Turkish (DOS/OS2-1026)")},
{OUStringLiteral("CP1254"), OUStringLiteral("Turkish (Windows-1254)")},
{OUStringLiteral("CP1258"), OUStringLiteral("Vietnamese (Windows-1258)")},
- {OUStringLiteral("MacRoman"),
- OUStringLiteral("Western Europe (Apple Macintosh)")},
- {OUStringLiteral("MacIceland"),
- OUStringLiteral("Western Europe (Apple Macintosh/Icelandic)")},
- {OUStringLiteral("CP037"),
- OUStringLiteral("Western Europe (DOS/OS2-037/US-Canada)")},
- {OUStringLiteral("CP437"),
- OUStringLiteral("Western Europe (DOS/OS2-437/US)")},
+ {
+ OUStringLiteral("MacRoman"),
+ OUStringLiteral("Western Europe (Apple Macintosh)")
+ },
+ {
+ OUStringLiteral("MacIceland"),
+ OUStringLiteral("Western Europe (Apple Macintosh/Icelandic)")
+ },
+ {
+ OUStringLiteral("CP037"),
+ OUStringLiteral("Western Europe (DOS/OS2-037/US-Canada)")
+ },
+ {
+ OUStringLiteral("CP437"),
+ OUStringLiteral("Western Europe (DOS/OS2-437/US)")
+ },
{OUStringLiteral("CP850"), OUStringLiteral("Western Europe (DOS/OS2-850)")},
- {OUStringLiteral("CP860"),
- OUStringLiteral("Western Europe (DOS/OS2-860/Portuguese)")},
- {OUStringLiteral("CP861"),
- OUStringLiteral("Western Europe (DOS/OS2-861/Icelandic)")},
- {OUStringLiteral("CP863"),
- OUStringLiteral("Western Europe (DOS/OS2-863/French)")},
- {OUStringLiteral("CP865"),
- OUStringLiteral("Western Europe (DOS/OS2-865/Nordic)")},
- {OUStringLiteral("CP1252"),
- OUStringLiteral("Western Europe (Windows-1252/WinLatin 1)")}
+ {
+ OUStringLiteral("CP860"),
+ OUStringLiteral("Western Europe (DOS/OS2-860/Portuguese)")
+ },
+ {
+ OUStringLiteral("CP861"),
+ OUStringLiteral("Western Europe (DOS/OS2-861/Icelandic)")
+ },
+ {
+ OUStringLiteral("CP863"),
+ OUStringLiteral("Western Europe (DOS/OS2-863/French)")
+ },
+ {
+ OUStringLiteral("CP865"),
+ OUStringLiteral("Western Europe (DOS/OS2-865/Nordic)")
+ },
+ {
+ OUStringLiteral("CP1252"),
+ OUStringLiteral("Western Europe (Windows-1252/WinLatin 1)")
+ }
};
std::size_t const numEncodings = SAL_N_ELEMENTS(s_encodings);
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index 180461a7345b..d3befd07921b 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -401,7 +401,7 @@ class WPXSvInputStreamImpl
{
public:
explicit WPXSvInputStreamImpl(::com::sun::star::uno::Reference<
- ::com::sun::star::io::XInputStream > xStream);
+ ::com::sun::star::io::XInputStream > xStream);
~WPXSvInputStreamImpl();
bool isStructured();