diff options
author | Albert Thuswaldner <albert.thuswaldner@gmail.com> | 2015-07-19 12:05:59 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-19 19:34:19 +0000 |
commit | 1721236b5b3fad5660495d638f7cdf6abfcb7a47 (patch) | |
tree | 99f20e438d3434079e7ffc1002dba446e638ddcd | |
parent | 791f2fa12dcffe3de68f14e657eafd80157d2c5b (diff) |
tdf#39468 clean-up/translated german comments in auditsh.cxx and cellsh*.cxx
Change-Id: I6fdc60164dc3144b23dfe08ca8ce9b40a07081b2
Reviewed-on: https://gerrit.libreoffice.org/17191
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/ui/view/auditsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 11 |
3 files changed, 9 insertions, 12 deletions
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx index d341175635df..4194841c025e 100644 --- a/sc/source/ui/view/auditsh.cxx +++ b/sc/source/ui/view/auditsh.cxx @@ -125,7 +125,7 @@ void ScAuditingShell::Execute( SfxRequest& rReq ) void ScAuditingShell::GetState( SfxItemSet& rSet ) { - rSet.Put( SfxBoolItem( nFunction, true ) ); // aktive Funktion markieren + rSet.Put( SfxBoolItem( nFunction, true ) ); // mark active functions } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 202c4b82d8a9..7d334bd2d604 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -279,9 +279,9 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet ) } } -// functionen, disabled depending on cursor position -// Default: -// SID_INSERT_POSTIT, SID_CHARMAP, SID_OPENDLG_FUNCTION +// functions, disabled depending on cursor position +// Default: +// SID_INSERT_POSTIT, SID_CHARMAP, SID_OPENDLG_FUNCTION void ScCellShell::GetCellState( SfxItemSet& rSet ) { @@ -925,7 +925,6 @@ void ScCellShell::GetState(SfxItemSet &rSet) case FID_COL_WIDTH: { - //GetViewData()->GetCurX(); SfxUInt16Item aWidthItem( FID_COL_WIDTH, pDoc->GetColWidth( nPosX , nTab) ); rSet.Put( aWidthItem ); if ( pDocSh->IsReadOnly()) @@ -937,7 +936,6 @@ void ScCellShell::GetState(SfxItemSet &rSet) case FID_ROW_HEIGHT: { - //GetViewData()->GetCurY(); SfxUInt16Item aHeightItem( FID_ROW_HEIGHT, pDoc->GetRowHeight( nPosY , nTab) ); rSet.Put( aHeightItem ); //XXX disable if not conclusive diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index b1b5d7f6a8ed..0f961210759a 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -75,7 +75,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) // (on closing the dialog StopEditShell is called) case SID_OPENDLG_FUNCTION: // inplace leads to trouble with EditShell ... - //! cannot always be switched werden ???? + //! cannot always be switched ???? if (!pTabViewShell->GetViewFrame()->GetFrame().IsInPlace()) pTabViewShell->SetDontSwitch(true); // do not switch off EditShell // no break @@ -257,7 +257,6 @@ void ScCellShell::Execute( SfxRequest& rReq ) { SfxStringItem aItem( SID_ENTER_STRING, aString ); - // SfxBindings& rBindings = pTabViewShell->GetViewFrame()->GetBindings(); const SfxPoolItem* aArgs[2]; aArgs[0] = &aItem; aArgs[1] = NULL; @@ -449,7 +448,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) // first test, if the prefix is recognised as valid, // else avoid only doubles bool bPrefix = ScDocument::ValidTabName( aBaseName ); - OSL_ENSURE(bPrefix, "ungueltiger Tabellenname"); + OSL_ENSURE(bPrefix, "invalid sheet name"); while ( pDoc->IsScenario(nTab+i) ) i++; @@ -748,7 +747,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) if ( pReqArgs && pReqArgs->GetItemState(nSlot, true, &pItem) == SfxItemState::SET ) { - OSL_ENSURE(pItem && pItem->ISA(SfxBoolItem), "falsches Item"); + OSL_ENSURE(pItem && pItem->ISA(SfxBoolItem), "wrong item"); bMoveContents = static_cast<const SfxBoolItem*>(pItem)->GetValue(); } @@ -871,7 +870,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) break; case FID_INPUTLINE_STATUS: - OSL_FAIL("Execute von InputLine-Status"); + OSL_FAIL("Execute from InputLine status"); break; case SID_STATUS_DOCPOS: @@ -886,7 +885,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) break; default: - OSL_FAIL("Unbekannter Slot bei ScCellShell::Execute"); + OSL_FAIL("ScCellShell::Execute: unknown slot"); break; } } |