summaryrefslogtreecommitdiff
path: root/sw/source/ui/web
diff options
context:
space:
mode:
authorMatthias Freund <matti_lx@yahoo.de>2013-03-09 21:28:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 21:56:38 +0000
commit503cde2a28b730fc76d6fb9c3c13216f96cd61a9 (patch)
treeb8f15e0cd7cdb15cb9465fb01861228af52397f0 /sw/source/ui/web
parentd2157548221e28d8f702cc81991f7aef198b523e (diff)
Comment translation DE-EN in /sw/source/ui/web/
Translations and some cleanups... Change-Id: I70484c2b3e1380e611ed1456a7befccafee58f37 Reviewed-on: https://gerrit.libreoffice.org/2619 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sw/source/ui/web')
-rw-r--r--sw/source/ui/web/wdocsh.cxx2
-rw-r--r--sw/source/ui/web/wfrmsh.cxx5
-rw-r--r--sw/source/ui/web/wtextsh.cxx3
-rw-r--r--sw/source/ui/web/wview.cxx26
4 files changed, 17 insertions, 19 deletions
diff --git a/sw/source/ui/web/wdocsh.cxx b/sw/source/ui/web/wdocsh.cxx
index fd5622c6d022..67ca9f4fa1b6 100644
--- a/sw/source/ui/web/wdocsh.cxx
+++ b/sw/source/ui/web/wdocsh.cxx
@@ -30,7 +30,7 @@
#include "swtypes.hxx"
#include "shellio.hxx"
-// nur wegen des Itemtypes
+// just because of the itemtypes
#include "wdocsh.hxx"
#include "web.hrc"
diff --git a/sw/source/ui/web/wfrmsh.cxx b/sw/source/ui/web/wfrmsh.cxx
index 03aa04333dba..c30d0f751a68 100644
--- a/sw/source/ui/web/wfrmsh.cxx
+++ b/sw/source/ui/web/wfrmsh.cxx
@@ -20,8 +20,7 @@
#include "hintids.hxx"
#include <sfx2/app.hxx>
#include <sfx2/objface.hxx>
-#include <svl/srchitem.hxx> //***
-
+#include <svl/srchitem.hxx>
#include "swtypes.hxx"
#include "cmdid.h"
#include "view.hxx"
@@ -32,7 +31,7 @@
#include "web.hrc"
-// STATIC DATA -----------------------------------------------------------
+// STATIC DATA
#define SwWebFrameShell
#include <sfx2/msg.hxx>
#include "swslots.hxx"
diff --git a/sw/source/ui/web/wtextsh.cxx b/sw/source/ui/web/wtextsh.cxx
index 633d6baa66b6..d433a6e9965b 100644
--- a/sw/source/ui/web/wtextsh.cxx
+++ b/sw/source/ui/web/wtextsh.cxx
@@ -36,8 +36,7 @@
#include <unomid.h>
-
-// STATIC DATA -----------------------------------------------------------
+// STATIC DATA
#define SwWebTextShell
#define Paragraph
#define HyphenZone
diff --git a/sw/source/ui/web/wview.cxx b/sw/source/ui/web/wview.cxx
index 707e128ba598..072d92aa89ed 100644
--- a/sw/source/ui/web/wview.cxx
+++ b/sw/source/ui/web/wview.cxx
@@ -47,7 +47,7 @@
#include <barcfg.hxx>
#include <doc.hxx>
-// EIGENTLICH nicht moeglich !!
+// TECHNICALLY not possible !!
#include <beziersh.hxx>
#include <drawsh.hxx>
#include <drwtxtsh.hxx>
@@ -104,15 +104,15 @@ SwWebView::~SwWebView()
void SwWebView::SelectShell()
{
- // Entscheidung, ob UpdateTable gerufen werden muss
+ // Decision whether UpdateTable must be called
bool bUpdateTable = false;
const SwFrmFmt* pCurTableFmt = GetWrtShell().GetTableFmt();
if(pCurTableFmt && pCurTableFmt != GetLastTblFrmFmt())
{
- bUpdateTable = true; // kann erst spaeter ausgefuehrt werden
+ bUpdateTable = true; // can only be executed later
}
SetLastTblFrmFmt(pCurTableFmt);
- //SEL_TBL und SEL_TBL_CELLS koennen verodert sein!
+ //SEL_TBL and SEL_TBL_CELLS can be ored!
int nNewSelectionType = (GetWrtShell().GetSelectionType()
& ~nsSelectionType::SEL_TBL_CELLS);
@@ -122,7 +122,7 @@ void SwWebView::SelectShell()
GetViewFrame()->GetBindings().InvalidateAll( sal_False );
if ( _nSelectionType & nsSelectionType::SEL_OLE ||
_nSelectionType & nsSelectionType::SEL_GRF )
- //Fuer Grafiken und OLE kann sich natuerlich das Verb aendern!
+ //The verb may of course change for graphics and OLE!
ImpSetVerb( nNewSelectionType );
}
else
@@ -132,9 +132,9 @@ void SwWebView::SelectShell()
if( GetCurShell() )
{
- rDispatcher.Flush(); // alle gecachten Shells wirklich loeschen
+ rDispatcher.Flush(); // really delete all cached shells
- //Zur alten Selektion merken welche Toolbar sichtbar war
+ //Additonal to the old selection remember which toolbar was visible.
sal_Int32 nId = rDispatcher.GetObjectBarId( SFX_OBJECTBAR_OBJECT );
if ( nId )
pBarCfg->SetTopToolbar( _nSelectionType, nId );
@@ -269,10 +269,10 @@ void SwWebView::SelectShell()
GetEditWin().SetInputContext( aCntxt );
}
- //Zur neuen Selektion die Toolbar aktivieren, die auch beim letzten Mal
- //aktiviert war
- //Vorher muss ein Flush() sein, betrifft aber lt. MBA nicht das UI und ist
- //kein Performance-Problem
+ //Additional to the selection enable the toolbar, which was
+ //activated last time
+ //Before must be a Flush(), but concerns according to MBA not the
+ //user interface and is not a performance issue.
// TODO/LATER: maybe now the Flush() command is superfluous?!
rDispatcher.Flush();
@@ -288,11 +288,11 @@ void SwWebView::SelectShell()
}
GetViewImpl()->GetUNOObject_Impl()->NotifySelChanged();
- //Guenstiger Zeitpunkt fuer die Kommunikation mit OLE-Objekten?
+ //Opportune time for the communication with OLE objects?
if ( GetDocShell()->GetDoc()->IsOLEPrtNotifyPending() )
GetDocShell()->GetDoc()->PrtOLENotify( sal_False );
- //jetzt das Tabellen-Update
+ //now the table update
if(bUpdateTable)
GetWrtShell().UpdateTable();
}