summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2015-09-04 21:00:11 +0200
committerEike Rathke <erack@redhat.com>2015-09-08 08:40:08 +0000
commit607197f6ce494ed8672b0e5c44d975ad942f00fa (patch)
tree5e930e3f6f59081e053a118e93e4b85ac1630064
parentbfa5b13b42770fb709dc2af7cab7aff1942eaa50 (diff)
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@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/ui/view/tabvwshc.cxx24
-rw-r--r--sc/source/ui/view/tabvwshd.cxx2
2 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 38502d2856a7..6b8118e07f21 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 de13fc68b63c..1602ef583c4a 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()