diff options
author | Adrià Cereto Massagué <ssorgatem@gmail.com> | 2010-10-26 01:01:43 +0200 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2010-10-26 01:01:43 +0200 |
commit | 5e04331fc0a6434c61d3d18843cb4f80a44e5989 (patch) | |
tree | 892aaefb50ebb82614b3e69e6411f13bc8bb5163 /formula/source/ui/dlg/FormulaHelper.cxx | |
parent | 7b0546a50cc5fca7051439649636b6372a37e601 (diff) |
Several comment translations in formula
Diffstat (limited to 'formula/source/ui/dlg/FormulaHelper.cxx')
-rw-r--r-- | formula/source/ui/dlg/FormulaHelper.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/formula/source/ui/dlg/FormulaHelper.cxx b/formula/source/ui/dlg/FormulaHelper.cxx index dbf43c6ec607..927d882345dc 100644 --- a/formula/source/ui/dlg/FormulaHelper.cxx +++ b/formula/source/ui/dlg/FormulaHelper.cxx @@ -59,7 +59,7 @@ namespace formula }; } //=================================================================== -// class FormulaHelper - statische Methoden +// class FormulaHelper - static Method //=================================================================== #define FUNC_NOTFOUND 0xffff @@ -77,7 +77,7 @@ FormulaHelper::FormulaHelper(const IFunctionManager* _pFunctionManager) } BOOL FormulaHelper::GetNextFunc( const String& rFormula, BOOL bBack, - xub_StrLen& rFStart, // Ein- und Ausgabe + xub_StrLen& rFStart, // Input and output xub_StrLen* pFEnd, // = NULL const IFunctionDescription** ppFDesc, // = NULL ::std::vector< ::rtl::OUString>* pArgs ) const // = NULL @@ -111,7 +111,7 @@ BOOL FormulaHelper::GetNextFunc( const String& rFormula, *ppFDesc = pCurrent; break; } - } // for(sal_uInt32 i = 0 ; i < nCount; ++i) + }// for(sal_uInt32 i = 0 ; i < nCount; ++i) } if ( *ppFDesc && pArgs ) { @@ -146,7 +146,7 @@ void FormulaHelper::FillArgStrings( const String& rFormula, { nStart = GetArgStart( rFormula, nFuncPos, i ); - if ( i+1<nArgs ) // letztes Argument? + if ( i+1<nArgs ) // last argument? { nEnd = GetArgStart( rFormula, nFuncPos, i+1 ); @@ -263,11 +263,11 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula, { if ( IsFormulaText( m_pCharClass,rFormula, nFStart ) ) { - // Funktion gefunden + // Function found if ( pFuncName ) *pFuncName = rFormula.Copy( nFStart, nParPos-nFStart ); } - else // Klammern ohne Funktion -> weitersuchen + else // Brackets without function -> keep searching { bRepeat = TRUE; if ( !bBack ) @@ -278,7 +278,7 @@ xub_StrLen FormulaHelper::GetFunctionStart( const String& rFormula, bRepeat = FALSE; } } - else // keine Klammern gefunden + else // No brackets found { nFStart = FUNC_NOTFOUND; if ( pFuncName ) @@ -323,7 +323,7 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart else if ( nParCount < 0 ) { bFound = TRUE; - nStart--; // einen zu weit gelesen + nStart--; // read one too far } } else if ( c == arrayOpen ) @@ -339,10 +339,10 @@ xub_StrLen FormulaHelper::GetFunctionEnd( const String& rStr, xub_StrLen nStart if ( !bInArray && nParCount == 0 ) { bFound = TRUE; - nStart--; // einen zu weit gelesen + nStart--; // read one too far } } - nStart++; // hinter gefundene Position stellen + nStart++; // Set behind found position } return nStart; |