[Libreoffice-commits] core.git: sc/source
Albert Thuswaldner
albert.thuswaldner at gmail.com
Tue Sep 8 01:40:30 PDT 2015
sc/source/ui/view/tabvwshc.cxx | 24 ++++++++++++------------
sc/source/ui/view/tabvwshd.cxx | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
New commits:
commit 607197f6ce494ed8672b0e5c44d975ad942f00fa
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date: Fri Sep 4 21:00:11 2015 +0200
tdf#39468 translated german comments in tabvwshc.cxx and tabvwshd.cxx
Change-Id: I1dd4c8a27bb63a91bead11d386748cd9cf2fe31c
Reviewed-on: https://gerrit.libreoffice.org/18349
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/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 38502d2..6b8118e 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -118,8 +118,8 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
SfxChildWinInfo* pInfo,
vcl::Window* pParent, sal_uInt16 nSlotId )
{
- // Dialog nur aufmachen, wenn ueber ScModule::SetRefDialog gerufen, damit
- // z.B. nach einem Absturz offene Ref-Dialoge nicht wiederkommen (#42341#).
+ // only open dialog when called through ScModule::SetRefDialog,
+ // so that it does not re appear for instance after a crash (#42341#).
if ( SC_MOD()->GetCurRefDlgId() != nSlotId )
return NULL;
@@ -236,7 +236,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
case SID_DEFINE_DBNAME:
{
- // wenn auf einem bestehenden Bereich aufgerufen, den markieren
+ // when called for an existing range, then mark
GetDBData( true, SC_DB_OLD );
const ScMarkData& rMark = GetViewData().GetMarkData();
if ( !rMark.IsMarked() && !rMark.IsMultiMarked() )
@@ -268,7 +268,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
aArgSet.Put( aItem );
- // aktuelle Tabelle merken (wg. RefInput im Dialog)
+ // mark current sheet (due to RefInput in dialog)
GetViewData().SetRefTabNo( GetViewData().GetTabNo() );
pResult = VclPtr<ScSpecialFilterDlg>::Create( pB, pCW, pParent, aArgSet );
@@ -295,7 +295,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
&GetViewData(),
&aQueryParam ) );
- // aktuelle Tabelle merken (wg. RefInput im Dialog)
+ // mark current sheet (due to RefInput in dialog)
GetViewData().SetRefTabNo( GetViewData().GetTabNo() );
pResult = VclPtr<ScFilterDlg>::Create( pB, pCW, pParent, aArgSet );
@@ -406,7 +406,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
case SID_OPENDLG_PIVOTTABLE:
{
- // all settings must be in pDialogDPObject
+ // all settings must be in pDialogDPObject
if( pDialogDPObject )
{
@@ -427,7 +427,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
case SID_OPENDLG_FUNCTION:
{
- // Dialog schaut selber, was in der Zelle steht
+ // dialog checks, what is in the cell
pResult = VclPtr<ScFormulaDlg>::Create( pB, pCW, pParent, &GetViewData(),ScGlobal::GetStarCalcFunctionMgr() );
}
@@ -443,7 +443,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
case FID_CHG_SHOW:
{
- // Dialog schaut selber, was in der Zelle steht
+ // dialog checks, what is in the cell
pResult = VclPtr<ScHighlightChgDlg>::Create( pB, pCW, pParent, &GetViewData() );
}
@@ -451,7 +451,7 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
case WID_SIMPLE_REF:
{
- // Dialog schaut selber, was in der Zelle steht
+ // dialog checks, what is in the cell
ScViewData& rViewData = GetViewData();
rViewData.SetRefTabNo( rViewData.GetTabNo() );
@@ -518,9 +518,9 @@ VclPtr<SfxModelessDialog> ScTabViewShell::CreateRefDialog(
if (pResult)
{
- // Die Dialoge gehen immer mit eingeklapptem Zusaetze-Button auf,
- // darum muss die Groesse ueber das Initialize gerettet werden
- // (oder den Zusaetze-Status mit speichern !!!)
+ // the dialogs are always displayed with the option button collapsed,
+ // the size has to be carried over initialize
+ // (or store the option status !!!)
Size aSize = pResult->GetSizePixel();
pResult->Initialize( pInfo );
diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx
index de13fc6..1602ef5 100644
--- a/sc/source/ui/view/tabvwshd.cxx
+++ b/sc/source/ui/view/tabvwshd.cxx
@@ -32,7 +32,7 @@
// STATIC DATA -----------------------------------------------------------
-//! Parent-Window fuer Dialoge
+//! parent window for dialogs
//! Problem: OLE Server!
vcl::Window* ScTabViewShell::GetDialogParent()
More information about the Libreoffice-commits
mailing list