From 33ca969387e2e4f92bad159619a5610e67272246 Mon Sep 17 00:00:00 2001 From: Albert Thuswaldner Date: Fri, 4 Sep 2015 20:08:30 +0200 Subject: tdf#39468 translated german comments in tabvwshg.cxx and tabvwshh.cxx Change-Id: I4c978a1d2f2a63eae08e30a2f349b445b4a98ecc Reviewed-on: https://gerrit.libreoffice.org/18347 Tested-by: Jenkins Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- sc/source/ui/view/tabvwshg.cxx | 12 ++++++------ sc/source/ui/view/tabvwshh.cxx | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx index 0387b746495e..7711cfe0ec17 100644 --- a/sc/source/ui/view/tabvwshg.cxx +++ b/sc/source/ui/view/tabvwshg.cxx @@ -41,7 +41,7 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR const OUString& rTarget, const Point* pInsPos ) { - // Tabelle geschuetzt ? + // protected sheet ? ScViewData& rViewData = GetViewData(); ScDocument* pDoc = rViewData.GetDocument(); @@ -66,7 +66,7 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR return; uno::Reference xControlModel = pUnoCtrl->GetUnoControlModel(); - OSL_ENSURE( xControlModel.is(), "UNO-Control ohne Model" ); + OSL_ENSURE( xControlModel.is(), "UNO control without model" ); if( !xControlModel.is() ) return; @@ -102,7 +102,7 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR else aPos = GetInsertPos(); - // Groesse wie in 3.1: + // Size as in 3.1: Size aSize = GetActiveWin()->PixelToLogic(Size(140, 20)); if ( pDoc->IsNegativePage(nTab) ) @@ -110,10 +110,10 @@ void ScTabViewShell::InsertURLButton( const OUString& rName, const OUString& rUR pObj->SetLogicRect(Rectangle(aPos, aSize)); - // am alten VC-Button musste die Position/Groesse nochmal explizit - // gesetzt werden - das scheint mit UnoControls nicht noetig zu sein + // for the old VC-Button the position/size had to be set explicitly once more + // that seems not to be needed with UnoControls - // nicht markieren wenn Ole + // do not mark when Ole pDrView->InsertObjectSafe( pObj, *pDrView->GetSdrPageView() ); } diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index 971eddafa79f..4d32414b5db1 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -58,7 +58,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) sal_uInt16 nSlotId = rReq.GetSlot(); const SfxItemSet* pReqArgs = rReq.GetArgs(); - // Objekte aktivieren/deaktivieren immer auf der sichtbaren View + // Always activate/deactivate object in the visible View ScTabViewShell* pVisibleSh = this; if ( nSlotId == SID_OLE_SELECT || nSlotId == SID_OLE_ACTIVATE || nSlotId == SID_OLE_DEACTIVATE ) @@ -71,7 +71,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) case SID_OLE_SELECT: case SID_OLE_ACTIVATE: { - // in beiden Faellen erstmal auf der sichtbaren View selektieren + // In both cases, first select in the visible View OUString aName; SdrView* pDrView = GetSdrView(); @@ -83,7 +83,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) } pVisibleSh->SelectObject( aName ); - // aktivieren + // activate if ( nSlotId == SID_OLE_ACTIVATE ) pVisibleSh->DoVerb( 0 ); @@ -106,7 +106,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) if ( nNewVal < 0 ) nNewVal = 0; - //! von irgendwas in 1/100mm umrechnen ?????? + //! convert from something into 1/100mm ?????? SdrView* pDrView = GetSdrView(); if ( pDrView ) @@ -135,7 +135,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING if (!bDone) - SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // Basic-Fehler + SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // basic error #endif } break; @@ -143,7 +143,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) } } -static uno::Reference < embed::XEmbeddedObject > lcl_GetSelectedObj( SdrView* pDrView ) //! Member von ScDrawView? +static uno::Reference < embed::XEmbeddedObject > lcl_GetSelectedObj( SdrView* pDrView ) //! member of ScDrawView? { uno::Reference < embed::XEmbeddedObject > xRet; if (pDrView) @@ -208,7 +208,7 @@ void ScTabViewShell::GetObjectState( SfxItemSet& rSet ) else // if ( nWhich == SID_OBJECT_HEIGHT ) nVal = aRect.GetHeight(); - //! von 1/100mm in irgendwas umrechnen ?????? + //! convert from 1/100mm to something else ?????? rSet.Put( SfxInt32Item( nWhich, nVal ) ); } @@ -244,7 +244,7 @@ void ScTabViewShell::RemoveAccessibilityObject( SfxListener& rObject ) } else { - OSL_FAIL("kein Accessibility-Broadcaster?"); + OSL_FAIL("no accessibility broadcaster?"); } } -- cgit