[Libreoffice-commits] core.git: sc/source

Albert Thuswaldner albert.thuswaldner at gmail.com
Mon Sep 7 15:22:13 PDT 2015


 sc/source/ui/view/tabvwshg.cxx |   12 ++++++------
 sc/source/ui/view/tabvwshh.cxx |   16 ++++++++--------
 2 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 33ca969387e2e4f92bad159619a5610e67272246
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Fri Sep 4 20:08:30 2015 +0200

    tdf#39468 translated german comments in tabvwshg.cxx and tabvwshh.cxx
    
    Change-Id: I4c978a1d2f2a63eae08e30a2f349b445b4a98ecc
    Reviewed-on: https://gerrit.libreoffice.org/18347
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx
index 0387b74..7711cfe 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<awt::XControlModel> 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 971edda..4d32414 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?");
     }
 }
 


More information about the Libreoffice-commits mailing list