summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrols.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r--toolkit/source/controls/unocontrols.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 18f6503d0483..b2363d8b510b 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -2745,15 +2745,15 @@ void UnoListBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_In
nPos = nOldLen;
sal_uInt16 n;
- // Items vor der Einfuege-Position
+ // Items before the Paste-Position
for ( n = 0; n < nPos; n++ )
pNewData[n] = pOldData[n];
- // Neue Items
+ // New Items
for ( n = 0; n < nNewItems; n++ )
pNewData[nPos+n] = aItems.getConstArray()[n];
- // Rest der alten Items
+ // Rest of old Items
for ( n = nPos; n < nOldLen; n++ )
pNewData[nNewItems+n] = pOldData[n];
@@ -2778,11 +2778,11 @@ void UnoListBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount )
OUString* pOldData = aSeq.getArray();
sal_uInt16 n;
- // Items vor der Entfern-Position
+ // Items before the Remove-Position
for ( n = 0; n < nPos; n++ )
pNewData[n] = pOldData[n];
- // Rest der Items
+ // Rest of Items
for ( n = nPos; n < (nOldLen-nCount); n++ )
pNewData[n] = pOldData[n+nCount];