summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2015-10-11 13:49:11 +0200
committerEike Rathke <erack@redhat.com>2015-10-16 18:52:19 +0000
commit7387baaa128f2b005addabc7f6a3ac0aca55a78c (patch)
tree547a0a89c507be4be87d01b572412139b022edbb /sc
parentc1d38a06752e8f8fd7c79eb1c1a736662e4ccc8b (diff)
tdf#39468 translated german comments in tabvwsh8.cxx
Change-Id: Iae5d5138e8a030bb6beb0ec646949892b96e2a63 Reviewed-on: https://gerrit.libreoffice.org/19301 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabvwsh8.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/view/tabvwsh8.cxx b/sc/source/ui/view/tabvwsh8.cxx
index 65ac59e8e6c5..7485f116f513 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 );
}