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

Albert Thuswaldner albert.thuswaldner at gmail.com
Fri Oct 16 11:52:42 PDT 2015


 sc/source/ui/view/tabvwsh8.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 7387baaa128f2b005addabc7f6a3ac0aca55a78c
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Sun Oct 11 13:49:11 2015 +0200

    tdf#39468 translated german comments in tabvwsh8.cxx
    
    Change-Id: Iae5d5138e8a030bb6beb0ec646949892b96e2a63
    Reviewed-on: https://gerrit.libreoffice.org/19301
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/view/tabvwsh8.cxx b/sc/source/ui/view/tabvwsh8.cxx
index 65ac59e..7485f11 100644
--- a/sc/source/ui/view/tabvwsh8.cxx
+++ b/sc/source/ui/view/tabvwsh8.cxx
@@ -42,10 +42,10 @@ void ScTabViewShell::SetDefaultFrameLine( const ::editeng::SvxBorderLine* pLine
 bool ScTabViewShell::HasSelection( bool bText ) const
 {
     bool bHas = false;
-    ScViewData* pData = const_cast<ScViewData*>(&GetViewData());     // const weggecasted
+    ScViewData* pData = const_cast<ScViewData*>(&GetViewData());
     if ( bText )
     {
-        //  Text enthalten: Anzahl2 >= 1
+        // Content contained: Count2 >= 1
         ScDocument* pDoc = pData->GetDocument();
         ScMarkData& rMark = pData->GetMarkData();
         ScAddress aCursor( pData->GetCurX(), pData->GetCurY(), pData->GetTabNo() );
@@ -69,11 +69,11 @@ void ScTabViewShell::UIDeactivated( SfxInPlaceClient* pClient )
 {
     ClearHighlightRanges();
 
-    //  Move an der ViewShell soll eigentlich vom Sfx gerufen werden, wenn sich
-    //  das Frame-Window wegen unterschiedlicher Toolboxen o.ae. verschiebt
-    //  (um nicht aus Versehen z.B. Zeichenobjekte zu verschieben, #56515#).
-    //  Dieser Mechanismus funktioniert aber momentan nicht, darum hier der Aufruf
-    //  per Hand (im Move wird verglichen, ob die Position wirklich geaendert ist).
+    // Move in the ViewShell should really be called from Sfx, when the
+    // frame window is moved due to different toolboxes or other things
+    // (to not  move painted objects by mistake, #56515#).
+    // this mechanism does however not work at the moment, that is why this
+    // call is here (in Move it is checked if the position has really changed).
     ForceMove();
     SfxViewShell::UIDeactivated( pClient );
 }


More information about the Libreoffice-commits mailing list