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 ) ...@@ -125,7 +125,7 @@ void ScAuditingShell::Execute( SfxRequest& rReq )
void ScAuditingShell::GetState( SfxItemSet& rSet ) 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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -279,9 +279,9 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet ) ...@@ -279,9 +279,9 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
} }
} }
// functionen, disabled depending on cursor position // functions, disabled depending on cursor position
// Default: // Default:
// SID_INSERT_POSTIT, SID_CHARMAP, SID_OPENDLG_FUNCTION // SID_INSERT_POSTIT, SID_CHARMAP, SID_OPENDLG_FUNCTION
void ScCellShell::GetCellState( SfxItemSet& rSet ) void ScCellShell::GetCellState( SfxItemSet& rSet )
{ {
...@@ -925,7 +925,6 @@ void ScCellShell::GetState(SfxItemSet &rSet) ...@@ -925,7 +925,6 @@ void ScCellShell::GetState(SfxItemSet &rSet)
case FID_COL_WIDTH: case FID_COL_WIDTH:
{ {
//GetViewData()->GetCurX();
SfxUInt16Item aWidthItem( FID_COL_WIDTH, pDoc->GetColWidth( nPosX , nTab) ); SfxUInt16Item aWidthItem( FID_COL_WIDTH, pDoc->GetColWidth( nPosX , nTab) );
rSet.Put( aWidthItem ); rSet.Put( aWidthItem );
if ( pDocSh->IsReadOnly()) if ( pDocSh->IsReadOnly())
...@@ -937,7 +936,6 @@ void ScCellShell::GetState(SfxItemSet &rSet) ...@@ -937,7 +936,6 @@ void ScCellShell::GetState(SfxItemSet &rSet)
case FID_ROW_HEIGHT: case FID_ROW_HEIGHT:
{ {
//GetViewData()->GetCurY();
SfxUInt16Item aHeightItem( FID_ROW_HEIGHT, pDoc->GetRowHeight( nPosY , nTab) ); SfxUInt16Item aHeightItem( FID_ROW_HEIGHT, pDoc->GetRowHeight( nPosY , nTab) );
rSet.Put( aHeightItem ); rSet.Put( aHeightItem );
//XXX disable if not conclusive //XXX disable if not conclusive
......
...@@ -75,7 +75,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -75,7 +75,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
// (on closing the dialog StopEditShell is called) // (on closing the dialog StopEditShell is called)
case SID_OPENDLG_FUNCTION: case SID_OPENDLG_FUNCTION:
// inplace leads to trouble with EditShell ... // inplace leads to trouble with EditShell ...
//! cannot always be switched werden ???? //! cannot always be switched ????
if (!pTabViewShell->GetViewFrame()->GetFrame().IsInPlace()) if (!pTabViewShell->GetViewFrame()->GetFrame().IsInPlace())
pTabViewShell->SetDontSwitch(true); // do not switch off EditShell pTabViewShell->SetDontSwitch(true); // do not switch off EditShell
// no break // no break
...@@ -257,7 +257,6 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -257,7 +257,6 @@ void ScCellShell::Execute( SfxRequest& rReq )
{ {
SfxStringItem aItem( SID_ENTER_STRING, aString ); SfxStringItem aItem( SID_ENTER_STRING, aString );
// SfxBindings& rBindings = pTabViewShell->GetViewFrame()->GetBindings();
const SfxPoolItem* aArgs[2]; const SfxPoolItem* aArgs[2];
aArgs[0] = &aItem; aArgs[0] = &aItem;
aArgs[1] = NULL; aArgs[1] = NULL;
...@@ -449,7 +448,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -449,7 +448,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
// first test, if the prefix is recognised as valid, // first test, if the prefix is recognised as valid,
// else avoid only doubles // else avoid only doubles
bool bPrefix = ScDocument::ValidTabName( aBaseName ); bool bPrefix = ScDocument::ValidTabName( aBaseName );
OSL_ENSURE(bPrefix, "ungueltiger Tabellenname"); OSL_ENSURE(bPrefix, "invalid sheet name");
while ( pDoc->IsScenario(nTab+i) ) while ( pDoc->IsScenario(nTab+i) )
i++; i++;
...@@ -748,7 +747,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -748,7 +747,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
if ( pReqArgs && if ( pReqArgs &&
pReqArgs->GetItemState(nSlot, true, &pItem) == SfxItemState::SET ) 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(); bMoveContents = static_cast<const SfxBoolItem*>(pItem)->GetValue();
} }
...@@ -871,7 +870,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -871,7 +870,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
break; break;
case FID_INPUTLINE_STATUS: case FID_INPUTLINE_STATUS:
OSL_FAIL("Execute von InputLine-Status"); OSL_FAIL("Execute from InputLine status");
break; break;
case SID_STATUS_DOCPOS: case SID_STATUS_DOCPOS:
...@@ -886,7 +885,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) ...@@ -886,7 +885,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
break; break;
default: default:
OSL_FAIL("Unbekannter Slot bei ScCellShell::Execute"); OSL_FAIL("ScCellShell::Execute: unknown slot");
break; 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