summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/drwtxtex.cxx
diff options
context:
space:
mode:
authorMatthias Freund <matti_lx@yahoo.de>2013-04-28 09:34:57 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-28 11:55:23 +0000
commitdf0376ea3f80f7bab7f4075dc8004e8f25d0d9a4 (patch)
tree947211af9a6f9ab0c50f3eb1491369e739933c6d /sw/source/ui/shells/drwtxtex.cxx
parent57082b1243e86694b72c5e4fad013bf207bfe81a (diff)
fdo#39468 Comment translation GER-ENG in sw/source/ui/shells/ (Part 2)
Change-Id: I389569b027a900f42e43762c5685ec239bc4b565 Reviewed-on: https://gerrit.libreoffice.org/3646 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sw/source/ui/shells/drwtxtex.cxx')
-rw-r--r--sw/source/ui/shells/drwtxtex.cxx26
1 files changed, 11 insertions, 15 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx
index 8f29349f9166..31760259ed19 100644
--- a/sw/source/ui/shells/drwtxtex.cxx
+++ b/sw/source/ui/shells/drwtxtex.cxx
@@ -80,7 +80,7 @@
#include <edtwin.hxx>
#include <globals.hrc>
#include <hintids.hxx>
-#include <initui.hxx> // fuer SpellPointer
+#include <initui.hxx> // for SpellPointer
#include <langhelper.hxx>
#include <pardlg.hxx>
#include <shells.hrc>
@@ -275,7 +275,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) );
SfxItemSet aDlgAttr(GetPool(), EE_ITEMS_START, EE_ITEMS_END);
- // util::Language gibts an der EditEngine nicht! Daher nicht im Set.
+ // util::Language does not exists in the EditEngine! That is why not in set.
aDlgAttr.Put( aEditAttr );
aDlgAttr.Put( SvxKerningItem(0, RES_CHRATR_KERNING) );
@@ -429,7 +429,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
if (pFieldItem && pFieldItem->GetField()->ISA(SvxURLField))
{
- // Feld selektieren, so dass es beim Insert geloescht wird
+ // Select field so that it will be deleted during insert
ESelection aSel = pOLV->GetSelection();
aSel.nEndPos++;
pOLV->SetSelection(aSel);
@@ -441,7 +441,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
case SID_TEXTDIRECTION_LEFT_TO_RIGHT:
case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
- // Shellwechsel!
+ // Shell switch!
{
SdrObject* pTmpObj = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj();
SdrPageView* pTmpPV = pSdrView->GetSdrPageView();
@@ -529,7 +529,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
void SwDrawTextShell::GetState(SfxItemSet& rSet)
{
- if (!IsTextEdit()) // Sonst manchmal Absturz!
+ if (!IsTextEdit()) // Otherwise sometimes crash!
return;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();
@@ -750,7 +750,7 @@ ASK_ESCAPE:
void SwDrawTextShell::GetDrawTxtCtrlState(SfxItemSet& rSet)
{
- if (!IsTextEdit()) // Sonst Absturz!
+ if (!IsTextEdit()) // Otherwise crash!
return;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();
@@ -814,7 +814,7 @@ void SwDrawTextShell::GetDrawTxtCtrlState(SfxItemSet& rSet)
void SwDrawTextShell::ExecClpbrd(SfxRequest &rReq)
{
- if (!IsTextEdit()) // Sonst Absturz!
+ if (!IsTextEdit()) // Otherwise crash!
return;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();
@@ -844,12 +844,9 @@ void SwDrawTextShell::ExecClpbrd(SfxRequest &rReq)
}
}
-/*--------------------------------------------------------------------
- Beschreibung: ClipBoard-Status
- --------------------------------------------------------------------*/
void SwDrawTextShell::StateClpbrd(SfxItemSet &rSet)
{
- if (!IsTextEdit()) // Sonst Absturz!
+ if (!IsTextEdit()) // Otherwise crash!
return;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();
@@ -895,12 +892,11 @@ void SwDrawTextShell::StateClpbrd(SfxItemSet &rSet)
}
}
-/*--------------------------------------------------------------------
- Beschreibung: Hyperlink-Status
- --------------------------------------------------------------------*/
+// Hyperlink status
+
void SwDrawTextShell::StateInsert(SfxItemSet &rSet)
{
- if (!IsTextEdit()) // Sonst Absturz!
+ if (!IsTextEdit()) // Otherwise crash!
return;
OutlinerView* pOLV = pSdrView->GetTextEditOutlinerView();