diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/inscodlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/inscodlg.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx index 63d55ac6f41e..b96ccb1346a6 100644 --- a/sc/source/ui/miscdlgs/inscodlg.cxx +++ b/sc/source/ui/miscdlgs/inscodlg.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,12 +48,12 @@ USHORT ScInsertContentsDlg::nPreviousChecks = (IDF_DATETIME | IDF_STRING | IDF_ATTRIB | IDF_OBJECTS); USHORT ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_NOFUNC; USHORT ScInsertContentsDlg::nPreviousChecks2 = 0; -USHORT ScInsertContentsDlg::nPreviousMoveMode = INS_NONE; // enum InsCellCmd +USHORT ScInsertContentsDlg::nPreviousMoveMode = INS_NONE; // enum InsCellCmd //----------------------------------------------------------------------- -ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent, - USHORT nCheckDefaults, +ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent, + USHORT nCheckDefaults, const String* pStrTitle ) : ModalDialog ( pParent, ScResId( RID_SCDLG_INSCONT ) ), @@ -70,11 +70,11 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent, aFlSep1 ( this, ScResId( FL_SEP1 ) ), aFlOptions ( this, ScResId( FL_OPTIONS ) ), aBtnSkipEmptyCells( this, ScResId(BTN_SKIP_EMPTY ) ), - aBtnTranspose ( this, ScResId( BTN_TRANSPOSE ) ), + aBtnTranspose ( this, ScResId( BTN_TRANSPOSE ) ), aBtnLink ( this, ScResId( BTN_LINK ) ), aFlOperation ( this, ScResId( FL_OPERATION ) ), aRbNoOp ( this, ScResId( BTN_OP_NOOP ) ), - aRbAdd ( this, ScResId( BTN_OP_ADD ) ), + aRbAdd ( this, ScResId( BTN_OP_ADD ) ), aRbSub ( this, ScResId( BTN_OP_SUB ) ), aRbMul ( this, ScResId( BTN_OP_MUL ) ), aRbDiv ( this, ScResId( BTN_OP_DIV ) ), @@ -86,9 +86,9 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent, aBtnOk ( this, ScResId( BTN_OK ) ), aBtnCancel ( this, ScResId( BTN_CANCEL ) ), aBtnHelp ( this, ScResId( BTN_HELP ) ), - bOtherDoc ( FALSE ), - bFillMode ( FALSE ), - bChangeTrack ( FALSE ), + bOtherDoc ( FALSE ), + bFillMode ( FALSE ), + bChangeTrack ( FALSE ), bMoveDownDisabled( FALSE ), bMoveRightDisabled( FALSE ) { @@ -129,14 +129,14 @@ ScInsertContentsDlg::ScInsertContentsDlg( Window* pParent, switch( ScInsertContentsDlg::nPreviousMoveMode ) { - case INS_NONE: aRbMoveNone.Check(TRUE); break; - case INS_CELLSDOWN: aRbMoveDown.Check(TRUE); break; + case INS_NONE: aRbMoveNone.Check(TRUE); break; + case INS_CELLSDOWN: aRbMoveDown.Check(TRUE); break; case INS_CELLSRIGHT: aRbMoveRight.Check(TRUE); break; } aBtnSkipEmptyCells.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_NOEMPTY ) != 0); - aBtnTranspose.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_TRANS ) != 0); - aBtnLink.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_LINK ) != 0); + aBtnTranspose.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_TRANS ) != 0); + aBtnLink.Check( ( ScInsertContentsDlg::nPreviousChecks2 & INS_CONT_LINK ) != 0); DisableChecks( aBtnInsAll.IsChecked() ); @@ -213,7 +213,7 @@ void ScInsertContentsDlg::DisableChecks( BOOL bInsAllChecked ) aBtnInsNotes.Enable(); aBtnInsAttrs.Enable(); - // "Objects" is disabled for "Fill Tables" + // "Objects" is disabled for "Fill Tables" if ( bFillMode ) aBtnInsObjects.Disable(); else @@ -338,12 +338,12 @@ __EXPORT ScInsertContentsDlg::~ScInsertContentsDlg() ScInsertContentsDlg::nPreviousChecks2 = 0; if(aBtnSkipEmptyCells.IsChecked()) ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_NOEMPTY; - if( aBtnTranspose.IsChecked()) + if( aBtnTranspose.IsChecked()) ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_TRANS; if( aBtnLink.IsChecked() ) ScInsertContentsDlg::nPreviousChecks2 |= INS_CONT_LINK; - if (!bFillMode) // im FillMode ist None gecheckt und alle 3 disabled + if (!bFillMode) // im FillMode ist None gecheckt und alle 3 disabled { if ( aRbMoveNone.IsChecked() ) ScInsertContentsDlg::nPreviousMoveMode = INS_NONE; @@ -354,7 +354,7 @@ __EXPORT ScInsertContentsDlg::~ScInsertContentsDlg() } } -USHORT ScInsertContentsDlg::GetFormulaCmdBits() const +USHORT ScInsertContentsDlg::GetFormulaCmdBits() const { ScInsertContentsDlg::nPreviousFormulaChecks = PASTE_NOFUNC; if(aRbAdd.IsChecked()) |