diff options
Diffstat (limited to 'sal/qa/OStringBuffer/rtl_String_Const.h')
-rw-r--r-- | sal/qa/OStringBuffer/rtl_String_Const.h | 51 |
1 files changed, 2 insertions, 49 deletions
diff --git a/sal/qa/OStringBuffer/rtl_String_Const.h b/sal/qa/OStringBuffer/rtl_String_Const.h index fbddc8f10d97..7841e4fd164c 100644 --- a/sal/qa/OStringBuffer/rtl_String_Const.h +++ b/sal/qa/OStringBuffer/rtl_String_Const.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -25,9 +26,6 @@ * ************************************************************************/ -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - #ifndef _RTL_STRING_CONST_H_ #define _RTL_STRING_CONST_H_ @@ -35,14 +33,8 @@ #include <rtl_String_Utils.hxx> #endif -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - #include <limits.h> -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - #ifndef _SAL_TYPES_H_ #include <sal/types.h> #endif @@ -55,28 +47,16 @@ #include <rtl/ustring.h> #endif -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - #ifdef __cplusplus extern "C" { #endif -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const rtl_TextEncoding kEncodingRTLTextUSASCII = RTL_TEXTENCODING_ASCII_US; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_uInt32 kConvertFlagsOUStringToOString = OUSTRING_TO_OSTRING_CVTFLAGS; static const sal_uInt32 kConvertFlagsOStringToOUString = OSTRING_TO_OUSTRING_CVTFLAGS; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Char *kTestStr1 = "Sun Microsystems"; static const sal_Char *kTestStr2 = "Sun Microsystems Java Technology"; static const sal_Char *kTestStr3 = "Sun microsystems"; @@ -138,9 +118,6 @@ static const sal_Char *kTestStr143 = "Sun \377"; static const sal_Char *kTestStr144 = "\377"; static const sal_Char *kTestStr145 = "\50\3\5\7\11\13\15\17sun\377"; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Int32 kTestStr1Len = 16; static const sal_Int32 kTestStr2Len = 32; static const sal_Int32 kTestStr3Len = 16; @@ -314,8 +291,6 @@ static const sal_Int32 kTestStr170Len = 27; static const sal_Int32 kTestStr171Len = 27; static const sal_Int32 kTestStr1PlusStr6Len = kTestStr1Len + kTestStr6Len; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ static const sal_Int32 uTestStr1Len = 16; static const sal_Int32 uTestStr2Len = 32; static const sal_Int32 uTestStr3Len = 16; @@ -324,33 +299,18 @@ static const sal_Int32 uTestStr5Len = 16; static const sal_Int32 uTestStr9Len = 32; static const sal_Int32 uTestStr22Len = 32; - - -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ const sal_Unicode uTestStr31[]= {0x400,0x410,0x4DF}; const sal_Unicode uTestStr32[]= {0x9F9F,0xA000,0x8F80,0x9AD9}; - - -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Int32 uTestStr31Len = 3; static const sal_Int32 uTestStr32Len = 4; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Int16 kRadixBinary = 2; static const sal_Int16 kRadixOctol = 8; static const sal_Int16 kRadixDecimal = 10; static const sal_Int16 kRadixHexdecimal = 16; static const sal_Int16 kRadixBase36 = 36; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Int8 kSInt8Max = SCHAR_MAX; static const sal_Int16 kUInt8Max = UCHAR_MAX; static const sal_Int16 kSInt16Max = SHRT_MAX; @@ -380,9 +340,6 @@ static const sal_Int64 kInt64MaxNums[kInt64MaxNumsCount] = kSInt64Max }; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - static const sal_Int32 kBinaryNumsCount = 16; static const sal_Int32 kBinaryMaxNumsCount = 7; @@ -411,8 +368,6 @@ static const sal_Int32 kBase36NumsCount = 36; static const sal_Int32 kBase36MaxNumsCount = 7; -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ static const sal_Int32 nDoubleCount=24; static const double expValDouble[nDoubleCount]= { @@ -545,8 +500,6 @@ static const sal_Int32 kNonSInt16Max = SHRT_MIN; } #endif -//------------------------------------------------------------------------ -//------------------------------------------------------------------------ - #endif /* _RTL_STRING_CONST_H_ */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |