diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /starmath/source/parse.cxx | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 78734943b5b5..04278e1e2d9a 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1023,7 +1023,7 @@ void SmParser::Align() if (CONVERT_40_TO_50 == GetConversion()) // encapsulate expression to be aligned in group braces // (here group-open brace) - { Insert(rtl::OUString('{'), GetTokenIndex()); + { Insert(OUString('{'), GetTokenIndex()); bNeedGroupClose = true; // get first valid align statement in sequence @@ -1061,7 +1061,7 @@ void SmParser::Align() Expression(); if (bNeedGroupClose) - Insert(rtl::OUString('}'), GetTokenIndex()); + Insert(OUString('}'), GetTokenIndex()); if (pSNode) { @@ -1551,7 +1551,7 @@ void SmParser::Term() else // encapsulate old 4.0 style parsing in braces { // insert opening brace - Insert(rtl::OUString('{'), GetTokenIndex()); + Insert(OUString('{'), GetTokenIndex()); // // parse in 4.0 style @@ -1568,7 +1568,7 @@ void SmParser::Term() } // insert closing brace - Insert(rtl::OUString('}'), GetTokenIndex()); + Insert(OUString('}'), GetTokenIndex()); SmStructureNode *pSNode = new SmExpressionNode(pFunc->GetToken()); pSNode->SetSubNodes(pFunc, lcl_popOrZero(m_aNodeStack)); @@ -1901,7 +1901,7 @@ void SmParser::Font() // gets number used as arguments in Math formulas (e.g. 'size' command) // Format: no negative numbers, must start with a digit, no exponent notation, ... -static bool lcl_IsNumber(const rtl::OUString& rText) +static bool lcl_IsNumber(const OUString& rText) { bool bPoint = false; const sal_Unicode* pBuffer = rText.getStr(); @@ -1959,7 +1959,7 @@ void SmParser::FontSize() Fraction aValue( 1L ); if (lcl_IsNumber( m_aCurToken.aText )) { - double fTmp = rtl::OUString(m_aCurToken.aText).toDouble(); + double fTmp = OUString(m_aCurToken.aText).toDouble(); if (fTmp != 0.0) { aValue = fTmp; |