summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/reffind.cxx
diff options
context:
space:
mode:
authorgerhard oettl <lodev@ogersoft.at>2012-09-08 13:15:19 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-09-09 09:14:52 +0000
commit1e7e6647be5392dae58f5c67f64521d6fbf7b327 (patch)
tree4a494d691aa78bd24841744cc4293aea51e88f84 /sc/source/core/tool/reffind.cxx
parent337ef5808dd8e55c06d00b222e69c5ba287acab5 (diff)
fdo#39468: Translated German comments in sc/source/core/tool
Change-Id: I8e31d452a10f1f3f9e10e270f87a13cc64eb5e71 Reviewed-on: https://gerrit.libreoffice.org/586 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sc/source/core/tool/reffind.cxx')
-rw-r--r--sc/source/core/tool/reffind.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/core/tool/reffind.cxx b/sc/source/core/tool/reffind.cxx
index 88af930e0b0b..8593dde47a5f 100644
--- a/sc/source/core/tool/reffind.cxx
+++ b/sc/source/core/tool/reffind.cxx
@@ -37,7 +37,7 @@
namespace {
-// incl. Doppelpunkt -> Doppelte Referenzen werden einzeln behandelt
+// include colon -> duplicate referenced are handled individual
const sal_Unicode pDelimiters[] = {
'=','(',')','+','-','*','/','^','&',' ','{','}','<','>',':', 0
};
@@ -224,7 +224,7 @@ sal_uInt16 lcl_NextFlags( sal_uInt16 nOld )
nNew = ( nNew - 1 ) & 7; // weiterzaehlen
if (!(nOld & SCA_TAB_3D))
- nNew &= ~SCA_TAB_ABSOLUTE; // nicht 3D -> nie absolut!
+ nNew &= ~SCA_TAB_ABSOLUTE; // not 3D -> never absolute!
return ( nOld & 0xfff8 ) | nNew;
}
@@ -234,9 +234,9 @@ void ScRefFinder::ToggleRel( xub_StrLen nStartPos, xub_StrLen nEndPos )
xub_StrLen nLen = aFormula.Len();
if (!nLen)
return;
- const sal_Unicode* pSource = aFormula.GetBuffer(); // fuer schnellen Zugriff
+ const sal_Unicode* pSource = aFormula.GetBuffer(); // for quick access
- // Selektion erweitern, und statt Selektion Start- und Endindex
+ // expand selection, and instead of selection start- and end-index
if ( nEndPos < nStartPos )
::std::swap(nEndPos, nStartPos);
@@ -269,13 +269,13 @@ void ScRefFinder::ToggleRel( xub_StrLen nStartPos, xub_StrLen nEndPos )
xub_StrLen nAbsStart = nStartPos+aResult.Len()+aSep.Len();
- if (!nFound) // erste Referenz ?
+ if (!nFound) // first reference ?
nSelStart = nAbsStart;
- nSelEnd = nAbsStart+aExpr.Len(); // Selektion, keine Indizes
+ nSelEnd = nAbsStart+aExpr.Len(); // selection, no indizes
++nFound;
}
- // zusammenbauen
+ // assemble
aResult += aSep;
aResult += aExpr;