diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-05 16:34:15 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-05 17:03:51 +0300 |
commit | 136ce66dc629ea24f2467b8fa7b96392190c5889 (patch) | |
tree | 2061bfc7e009365e2fbdeccfbda85a49c935b7cc /sw/inc | |
parent | 42553d230488ad38a3b6c6c418b151c89a2745d9 (diff) |
Why use sal_Unicode for this when OUStringLiteral1 takes a char anyway?
The compiler generates an error anyway if we would pass a sal_Unicode that is
outside the range of 'char' as the template parameter to OUStringLiteral1, so
if for some reason we would want cSequenceMarkSeparator to be outside of
ASCII, the code would need changes.
Change-Id: I1f6be560d3347cb957e1283dea2f7f7920d3aba7
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swtypes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx index 0773da7426ee..b5107323d63f 100644 --- a/sw/inc/swtypes.hxx +++ b/sw/inc/swtypes.hxx @@ -169,7 +169,7 @@ SW_DLLPUBLIC Size GetGraphicSizeTwip( const Graphic&, OutputDevice* pOutDev ); // Separator for jumps to different content types in document. const sal_Unicode cMarkSeparator = '|'; // Sequences names for jumps are <name of sequence>!<no> -const sal_Unicode cSequenceMarkSeparator = '!'; +const char cSequenceMarkSeparator = '!'; #define DB_DELIM ((sal_Unicode)0xff) // Database <-> table separator. |