diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-19 05:53:26 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-19 10:54:14 +0000 |
commit | e9e2d065b33d441ffa8838cc15f70a99155893de (patch) | |
tree | bb790fe95af7bd529842d2bb603ab8304cea025e /inc | |
parent | ignore the right build-dir... now one level up (diff) | |
download | binfilter-e9e2d065b33d441ffa8838cc15f70a99155893de.tar.gz binfilter-e9e2d065b33d441ffa8838cc15f70a99155893de.zip |
Change ucb_Unicode to sal_Unicode
Change-Id: Ia48a9bf27e7495cb86fbbbc4b0edc2ff756075b9
Reviewed-on: https://gerrit.libreoffice.org/889
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/bf_starmath/node.hxx | 8 | ||||
-rw-r--r-- | inc/bf_starmath/types.hxx | 278 | ||||
-rw-r--r-- | inc/bf_sw/ndtxt.hxx | 4 |
3 files changed, 145 insertions, 145 deletions
diff --git a/inc/bf_starmath/node.hxx b/inc/bf_starmath/node.hxx index 9114dcee5..ca43d97cb 100644 --- a/inc/bf_starmath/node.hxx +++ b/inc/bf_starmath/node.hxx @@ -354,8 +354,8 @@ protected: SmMathSymbolNode(SmNodeType eNodeType, const SmToken &rNodeToken) : SmSpecialNode(eNodeType, rNodeToken, FNT_MATH) { - xub_Unicode cChar = GetToken().cMathChar; - if ((xub_Unicode) '\0' != cChar) + sal_Unicode cChar = GetToken().cMathChar; + if ((sal_Unicode) '\0' != cChar) SetText( cChar ); } @@ -398,7 +398,7 @@ public: SmPlaceNode(const SmToken &rNodeToken) : SmMathSymbolNode(NPLACE, rNodeToken) { - SetText((xub_Unicode) MS_PLACE); + SetText((sal_Unicode) MS_PLACE); } virtual void Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell); @@ -415,7 +415,7 @@ public: SmErrorNode(SmParseError /*eError*/, const SmToken &rNodeToken) : SmMathSymbolNode(NERROR, rNodeToken) { - SetText((xub_Unicode) MS_ERROR); + SetText((sal_Unicode) MS_ERROR); } virtual void Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell); diff --git a/inc/bf_starmath/types.hxx b/inc/bf_starmath/types.hxx index f28dadf4b..8bdc5f231 100644 --- a/inc/bf_starmath/types.hxx +++ b/inc/bf_starmath/types.hxx @@ -36,145 +36,145 @@ enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED }; // enum MathSymbol { - MS_FACT = (xub_Unicode) 0x0021, - MS_INFINITY = (xub_Unicode) 0x221E, - MS_SLASH = (xub_Unicode) 0x002F, - - MS_NDIVIDES = (xub_Unicode) 0x2224, - MS_DRARROW = (xub_Unicode) 0x21D2, - MS_DLARROW = (xub_Unicode) 0x21D0, - MS_DLRARROW = (xub_Unicode) 0x21D4, - MS_UNDERBRACE = (xub_Unicode) 0xE081, - MS_OVERBRACE = (xub_Unicode) 0xE082, - MS_CIRC = (xub_Unicode) 0x00B0, - MS_ASSIGN = (xub_Unicode) 0x003D, - MS_ERROR = (xub_Unicode) 0x00BF, - - MS_NEQ = (xub_Unicode) 0x2260, - MS_PLUS = (xub_Unicode) 0xE083, - MS_MINUS = (xub_Unicode) 0x2212, - MS_MULTIPLY = (xub_Unicode) 0x2217, - MS_TIMES = (xub_Unicode) 0x00D7, - MS_CDOT = (xub_Unicode) 0x22C5, - MS_DIV = (xub_Unicode) 0x00F7, - MS_PLUSMINUS = (xub_Unicode) 0x00B1, - MS_MINUSPLUS = (xub_Unicode) 0x2213, - MS_OPLUS = (xub_Unicode) 0x2295, - MS_OMINUS = (xub_Unicode) 0x2296, - MS_OTIMES = (xub_Unicode) 0x2297, - MS_ODIVIDE = (xub_Unicode) 0x2298, - MS_ODOT = (xub_Unicode) 0x2299, - MS_UNION = (xub_Unicode) 0x222A, - MS_INTERSECT = (xub_Unicode) 0x2229, - - MS_LT = (xub_Unicode) 0xE084, - MS_GT = (xub_Unicode) 0xE085, - MS_LE = (xub_Unicode) 0x2264, - MS_GE = (xub_Unicode) 0x2265, - MS_LESLANT = (xub_Unicode) 0xE086, - MS_GESLANT = (xub_Unicode) 0xE087, - MS_LL = (xub_Unicode) 0x226A, - MS_GG = (xub_Unicode) 0x226B, - MS_SIM = (xub_Unicode) 0x007E, - MS_SIMEQ = (xub_Unicode) 0x2243, - MS_APPROX = (xub_Unicode) 0x2248, - MS_DEF = (xub_Unicode) 0x225D, - MS_EQUIV = (xub_Unicode) 0x2261, - MS_PROP = (xub_Unicode) 0x221D, - MS_PARTIAL = (xub_Unicode) 0x2202, - MS_SUBSET = (xub_Unicode) 0x2282, - - MS_SUPSET = (xub_Unicode) 0x2283, - MS_SUBSETEQ = (xub_Unicode) 0x2286, - MS_SUPSETEQ = (xub_Unicode) 0x2287, - MS_NSUBSET = (xub_Unicode) 0x2284, - MS_NSUPSET = (xub_Unicode) 0x2285, - MS_NSUBSETEQ = (xub_Unicode) 0x2288, - MS_NSUPSETEQ = (xub_Unicode) 0x2289, - MS_IN = (xub_Unicode) 0x2208, - MS_NOTIN = (xub_Unicode) 0x2209, - MS_EXISTS = (xub_Unicode) 0x2203, - MS_BACKEPSILON = (xub_Unicode) 0x220D, - MS_ALEPH = (xub_Unicode) 0x2135, - MS_IM = (xub_Unicode) 0x2111, - MS_RE = (xub_Unicode) 0x211C, - MS_WP = (xub_Unicode) 0x2118, - - MS_LINE = (xub_Unicode) 0x2223, - MS_DLINE = (xub_Unicode) 0x2225, - MS_ORTHO = (xub_Unicode) 0x22A5, - MS_DOTSLOW = (xub_Unicode) 0xE08B, - MS_DOTSAXIS = (xub_Unicode) 0x22EF, - MS_DOTSVERT = (xub_Unicode) 0x22EE, - MS_DOTSUP = (xub_Unicode) 0x22F0, - MS_DOTSDOWN = (xub_Unicode) 0x22F1, - MS_TRANSR = (xub_Unicode) 0x22B6, - MS_TRANSL = (xub_Unicode) 0x22B7, - MS_RIGHTARROW = (xub_Unicode) 0xE08C, - MS_BACKSLASH = (xub_Unicode) 0x2216, - MS_NEG = (xub_Unicode) 0x00AC, - - MS_INT = (xub_Unicode) 0x222B, - MS_IINT = (xub_Unicode) 0x222C, - MS_IIINT = (xub_Unicode) 0x222D, - MS_LINT = (xub_Unicode) 0x222E, - MS_LLINT = (xub_Unicode) 0x222F, - MS_LLLINT = (xub_Unicode) 0x2230, - MS_SQRT = (xub_Unicode) 0xE08D, - MS_SQRT2 = (xub_Unicode) 0xE08F, - MS_COPROD = (xub_Unicode) 0x2210, - MS_PROD = (xub_Unicode) 0x220F, - MS_SUM = (xub_Unicode) 0x2211, - MS_NABLA = (xub_Unicode) 0x2207, - MS_FORALL = (xub_Unicode) 0x2200, - - MS_HAT = (xub_Unicode) 0xE091, - MS_CHECK = (xub_Unicode) 0xE092, - MS_BREVE = (xub_Unicode) 0xE093, - MS_ACUTE = (xub_Unicode) 0xE094, - MS_GRAVE = (xub_Unicode) 0xE095, - MS_TILDE = (xub_Unicode) 0xE096, - MS_BAR = (xub_Unicode) 0xE097, - MS_VEC = (xub_Unicode) 0xE098, - MS_DOT = (xub_Unicode) 0x02D9, - MS_DDOT = (xub_Unicode) 0x00A8, - MS_DDDOT = (xub_Unicode) 0xE09B, - MS_CIRCLE = (xub_Unicode) 0x02DA, - MS_AND = (xub_Unicode) 0x2227, - MS_OR = (xub_Unicode) 0x2228, - MS_NI = (xub_Unicode) 0x220B, - MS_EMPTYSET = (xub_Unicode) 0x2205, - - MS_LBRACE = (xub_Unicode) 0x007B, - MS_RBRACE = (xub_Unicode) 0x007D, - MS_LPARENT = (xub_Unicode) 0xE09E, - MS_RPARENT = (xub_Unicode) 0xE09F, - MS_LANGLE = (xub_Unicode) 0x2329, - MS_RANGLE = (xub_Unicode) 0x232A, - MS_LBRACKET = (xub_Unicode) 0x005B, - MS_RBRACKET = (xub_Unicode) 0x005D, - - MS_LDBRACKET = (xub_Unicode) 0x301A, - MS_RDBRACKET = (xub_Unicode) 0x301B, - MS_PLACE = (xub_Unicode) 0xE0AA, - - MS_LCEIL = (xub_Unicode) 0x2308, - MS_LFLOOR = (xub_Unicode) 0x230A, - MS_RCEIL = (xub_Unicode) 0x2309, - MS_RFLOOR = (xub_Unicode) 0x230B, - MS_SQRT2_X = (xub_Unicode) 0xE0AB, - - MS_TOP = (xub_Unicode) 0xE0D9, - MS_HBAR = (xub_Unicode) 0x210F, - MS_LAMBDABAR = (xub_Unicode) 0x019B, - MS_LEFTARROW = (xub_Unicode) 0xE0DB, - MS_UPARROW = (xub_Unicode) 0xE0DC, - MS_DOWNARROW = (xub_Unicode) 0xE0DD, - MS_SETN = (xub_Unicode) 0x2115, - MS_SETZ = (xub_Unicode) 0x2124, - MS_SETQ = (xub_Unicode) 0x211A, - MS_SETR = (xub_Unicode) 0x211D, - MS_SETC = (xub_Unicode) 0x2102 + MS_FACT = (sal_Unicode) 0x0021, + MS_INFINITY = (sal_Unicode) 0x221E, + MS_SLASH = (sal_Unicode) 0x002F, + + MS_NDIVIDES = (sal_Unicode) 0x2224, + MS_DRARROW = (sal_Unicode) 0x21D2, + MS_DLARROW = (sal_Unicode) 0x21D0, + MS_DLRARROW = (sal_Unicode) 0x21D4, + MS_UNDERBRACE = (sal_Unicode) 0xE081, + MS_OVERBRACE = (sal_Unicode) 0xE082, + MS_CIRC = (sal_Unicode) 0x00B0, + MS_ASSIGN = (sal_Unicode) 0x003D, + MS_ERROR = (sal_Unicode) 0x00BF, + + MS_NEQ = (sal_Unicode) 0x2260, + MS_PLUS = (sal_Unicode) 0xE083, + MS_MINUS = (sal_Unicode) 0x2212, + MS_MULTIPLY = (sal_Unicode) 0x2217, + MS_TIMES = (sal_Unicode) 0x00D7, + MS_CDOT = (sal_Unicode) 0x22C5, + MS_DIV = (sal_Unicode) 0x00F7, + MS_PLUSMINUS = (sal_Unicode) 0x00B1, + MS_MINUSPLUS = (sal_Unicode) 0x2213, + MS_OPLUS = (sal_Unicode) 0x2295, + MS_OMINUS = (sal_Unicode) 0x2296, + MS_OTIMES = (sal_Unicode) 0x2297, + MS_ODIVIDE = (sal_Unicode) 0x2298, + MS_ODOT = (sal_Unicode) 0x2299, + MS_UNION = (sal_Unicode) 0x222A, + MS_INTERSECT = (sal_Unicode) 0x2229, + + MS_LT = (sal_Unicode) 0xE084, + MS_GT = (sal_Unicode) 0xE085, + MS_LE = (sal_Unicode) 0x2264, + MS_GE = (sal_Unicode) 0x2265, + MS_LESLANT = (sal_Unicode) 0xE086, + MS_GESLANT = (sal_Unicode) 0xE087, + MS_LL = (sal_Unicode) 0x226A, + MS_GG = (sal_Unicode) 0x226B, + MS_SIM = (sal_Unicode) 0x007E, + MS_SIMEQ = (sal_Unicode) 0x2243, + MS_APPROX = (sal_Unicode) 0x2248, + MS_DEF = (sal_Unicode) 0x225D, + MS_EQUIV = (sal_Unicode) 0x2261, + MS_PROP = (sal_Unicode) 0x221D, + MS_PARTIAL = (sal_Unicode) 0x2202, + MS_SUBSET = (sal_Unicode) 0x2282, + + MS_SUPSET = (sal_Unicode) 0x2283, + MS_SUBSETEQ = (sal_Unicode) 0x2286, + MS_SUPSETEQ = (sal_Unicode) 0x2287, + MS_NSUBSET = (sal_Unicode) 0x2284, + MS_NSUPSET = (sal_Unicode) 0x2285, + MS_NSUBSETEQ = (sal_Unicode) 0x2288, + MS_NSUPSETEQ = (sal_Unicode) 0x2289, + MS_IN = (sal_Unicode) 0x2208, + MS_NOTIN = (sal_Unicode) 0x2209, + MS_EXISTS = (sal_Unicode) 0x2203, + MS_BACKEPSILON = (sal_Unicode) 0x220D, + MS_ALEPH = (sal_Unicode) 0x2135, + MS_IM = (sal_Unicode) 0x2111, + MS_RE = (sal_Unicode) 0x211C, + MS_WP = (sal_Unicode) 0x2118, + + MS_LINE = (sal_Unicode) 0x2223, + MS_DLINE = (sal_Unicode) 0x2225, + MS_ORTHO = (sal_Unicode) 0x22A5, + MS_DOTSLOW = (sal_Unicode) 0xE08B, + MS_DOTSAXIS = (sal_Unicode) 0x22EF, + MS_DOTSVERT = (sal_Unicode) 0x22EE, + MS_DOTSUP = (sal_Unicode) 0x22F0, + MS_DOTSDOWN = (sal_Unicode) 0x22F1, + MS_TRANSR = (sal_Unicode) 0x22B6, + MS_TRANSL = (sal_Unicode) 0x22B7, + MS_RIGHTARROW = (sal_Unicode) 0xE08C, + MS_BACKSLASH = (sal_Unicode) 0x2216, + MS_NEG = (sal_Unicode) 0x00AC, + + MS_INT = (sal_Unicode) 0x222B, + MS_IINT = (sal_Unicode) 0x222C, + MS_IIINT = (sal_Unicode) 0x222D, + MS_LINT = (sal_Unicode) 0x222E, + MS_LLINT = (sal_Unicode) 0x222F, + MS_LLLINT = (sal_Unicode) 0x2230, + MS_SQRT = (sal_Unicode) 0xE08D, + MS_SQRT2 = (sal_Unicode) 0xE08F, + MS_COPROD = (sal_Unicode) 0x2210, + MS_PROD = (sal_Unicode) 0x220F, + MS_SUM = (sal_Unicode) 0x2211, + MS_NABLA = (sal_Unicode) 0x2207, + MS_FORALL = (sal_Unicode) 0x2200, + + MS_HAT = (sal_Unicode) 0xE091, + MS_CHECK = (sal_Unicode) 0xE092, + MS_BREVE = (sal_Unicode) 0xE093, + MS_ACUTE = (sal_Unicode) 0xE094, + MS_GRAVE = (sal_Unicode) 0xE095, + MS_TILDE = (sal_Unicode) 0xE096, + MS_BAR = (sal_Unicode) 0xE097, + MS_VEC = (sal_Unicode) 0xE098, + MS_DOT = (sal_Unicode) 0x02D9, + MS_DDOT = (sal_Unicode) 0x00A8, + MS_DDDOT = (sal_Unicode) 0xE09B, + MS_CIRCLE = (sal_Unicode) 0x02DA, + MS_AND = (sal_Unicode) 0x2227, + MS_OR = (sal_Unicode) 0x2228, + MS_NI = (sal_Unicode) 0x220B, + MS_EMPTYSET = (sal_Unicode) 0x2205, + + MS_LBRACE = (sal_Unicode) 0x007B, + MS_RBRACE = (sal_Unicode) 0x007D, + MS_LPARENT = (sal_Unicode) 0xE09E, + MS_RPARENT = (sal_Unicode) 0xE09F, + MS_LANGLE = (sal_Unicode) 0x2329, + MS_RANGLE = (sal_Unicode) 0x232A, + MS_LBRACKET = (sal_Unicode) 0x005B, + MS_RBRACKET = (sal_Unicode) 0x005D, + + MS_LDBRACKET = (sal_Unicode) 0x301A, + MS_RDBRACKET = (sal_Unicode) 0x301B, + MS_PLACE = (sal_Unicode) 0xE0AA, + + MS_LCEIL = (sal_Unicode) 0x2308, + MS_LFLOOR = (sal_Unicode) 0x230A, + MS_RCEIL = (sal_Unicode) 0x2309, + MS_RFLOOR = (sal_Unicode) 0x230B, + MS_SQRT2_X = (sal_Unicode) 0xE0AB, + + MS_TOP = (sal_Unicode) 0xE0D9, + MS_HBAR = (sal_Unicode) 0x210F, + MS_LAMBDABAR = (sal_Unicode) 0x019B, + MS_LEFTARROW = (sal_Unicode) 0xE0DB, + MS_UPARROW = (sal_Unicode) 0xE0DC, + MS_DOWNARROW = (sal_Unicode) 0xE0DD, + MS_SETN = (sal_Unicode) 0x2115, + MS_SETZ = (sal_Unicode) 0x2124, + MS_SETQ = (sal_Unicode) 0x211A, + MS_SETR = (sal_Unicode) 0x211D, + MS_SETC = (sal_Unicode) 0x2102 }; diff --git a/inc/bf_sw/ndtxt.hxx b/inc/bf_sw/ndtxt.hxx index 9531051a2..97ba5f3e6 100644 --- a/inc/bf_sw/ndtxt.hxx +++ b/inc/bf_sw/ndtxt.hxx @@ -122,7 +122,7 @@ public: * Einfuegen anderer Datentypen durch Erzeugen eines * temporaeren Strings. */ - SwTxtNode& Insert( xub_Unicode c, const SwIndex &rIdx ); + SwTxtNode& Insert( sal_Unicode c, const SwIndex &rIdx ); SwTxtNode& Insert( const XubString &rStr, const SwIndex &rIdx, const USHORT nMode = INS_DEFAULT ); @@ -174,7 +174,7 @@ public: inline void Cut(SwTxtNode *pDest, const SwIndex &rDestStart, const SwIndex &rStart, xub_StrLen nLen); // ersetze im String an Position nIdx das Zeichen - void Replace( const SwIndex& rStart, xub_Unicode cCh ); + void Replace( const SwIndex& rStart, sal_Unicode cCh ); // virtuelle Methoden aus dem CntntNode virtual SwCntntFrm *MakeFrm(); |