Thanks.
On 11/18/2016 11:25 AM, mar...@apache.org wrote:
Author: marcus
Date: Fri Nov 18 19:25:19 2016
New Revision: 1770427
URL: http://svn.apache.org/viewvc?rev=1770427=rev
Log:
Translated comments from German to English
Modified:
openoffice/trunk/main/sfx2/source/appl/linkmgr2.cxx
Modified: openoffice/trunk/main/sfx2/source/appl/linkmgr2.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/appl/linkmgr2.cxx?rev=1770427=1770426=1770427=diff
==
--- openoffice/trunk/main/sfx2/source/appl/linkmgr2.cxx (original)
+++ openoffice/trunk/main/sfx2/source/appl/linkmgr2.cxx Fri Nov 18 19:25:19 2016
@@ -88,12 +88,12 @@ LinkManager::~LinkManager()
/
|*LinkManager::Remove()
|*
-|*Beschreibung
+|*Description
*/
void LinkManager::Remove( SvBaseLink *pLink )
{
- // keine Links doppelt einfuegen
+ // do not insert links double
int bFound = sal_False;
SvBaseLinkRef** ppRef = (SvBaseLinkRef**)aLinkTbl.GetData();
for( sal_uInt16 n = aLinkTbl.Count(); n; --n, ++ppRef )
@@ -106,7 +106,7 @@ void LinkManager::Remove( SvBaseLink *pL
bFound = sal_True;
}
- // falls noch leere rum stehen sollten, weg damit
+ // if there are still some empty ones, get rid of them
if( !(*ppRef)->Is() )
{
delete *ppRef;
@@ -143,7 +143,7 @@ void LinkManager::Remove( sal_uInt16 nPo
sal_Bool LinkManager::Insert( SvBaseLink* pLink )
{
- // keine Links doppelt einfuegen
+ // do not insert links double
for( sal_uInt16 n = 0; n < aLinkTbl.Count(); ++n )
{
SvBaseLinkRef* pTmp = aLinkTbl[ n ];
@@ -166,7 +166,7 @@ sal_Bool LinkManager::InsertLink( SvBase
sal_uInt16
nUpdateMode,
const String*
pName )
{
- // unbedingt zuerst
+ // in any case: do this first
pLink->SetObjType( nObjType );
if( pName )
pLink->SetName( *pName );
@@ -205,7 +205,7 @@ sal_Bool LinkManager::InsertDDELink( SvB
}
-// erfrage die Strings fuer den Dialog
+// ask for the strings to be used in the dialog
sal_Bool LinkManager::GetDisplayNames( const SvBaseLink * pLink,
String* pType,
String* pFile,
@@ -278,8 +278,7 @@ void LinkManager::UpdateAllLinks(
SvStringsDtor aApps, aTopics, aItems;
String sApp, sTopic, sItem;
- // erstmal eine Kopie vom Array machen, damit sich updatende Links in
- // Links in ... nicht dazwischen funken!!
+ // first create a copy of the array, so that updated links to not
interfere with ... in between!!
SvPtrarr aTmpArr( 255, 50 );
sal_uInt16 n;
for( n = 0; n < aLinkTbl.Count(); ++n )
@@ -297,7 +296,7 @@ void LinkManager::UpdateAllLinks(
{
SvBaseLink* pLink = (SvBaseLink*)aTmpArr[ n ];
- // suche erstmal im Array nach dem Eintrag
+ // first search the entry in the array
sal_uInt16 nFndPos = USHRT_MAX;
for( sal_uInt16 i = 0; i < aLinkTbl.Count(); ++i )
if( pLink == *aLinkTbl[ i ] )
@@ -307,9 +306,9 @@ void LinkManager::UpdateAllLinks(
}
if( USHRT_MAX == nFndPos )
- continue; // war
noch nicht vorhanden!
+ continue; // was
not already existing!
- // Graphic-Links noch nicht updaten
+ // do not update graphic links yet
if( !pLink->IsVisible() ||
( !bUpdateGrfLinks && OBJECT_CLIENT_GRF ==
pLink->GetObjType() ))
continue;
@@ -327,9 +326,9 @@ void LinkManager::UpdateAllLinks(
rEmbeddedObjectContainer.setUserAllowsLinkUpdate(false);
}
- return ;// es soll nichts
geupdatet werden
+ return ;// nothing should be
updated
}
- bAskUpdate = sal_False; // einmal reicht
+ bAskUpdate = sal_False; // one time is OK
}
pLink->Update();
@@ -339,7 +338,7 @@ void LinkManager::UpdateAllLinks(
/
|*SvBaseLink::CreateObject()
|*
-|*Beschreibung
+|*