Kaydet (Commit) 1721236b authored tarafından Albert Thuswaldner's avatar Albert Thuswaldner Kaydeden (comit) Markus Mohrhard

tdf#39468 clean-up/translated german comments in auditsh.cxx and cellsh*.cxx

Change-Id: I6fdc60164dc3144b23dfe08ca8ce9b40a07081b2
Reviewed-on: https://gerrit.libreoffice.org/17191Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 791f2fa1
......@@ -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: */
......@@ -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
......
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment