#82047#: initialize variable before usage
This commit is contained in:
parent
e0a9b0bf9d
commit
1636de8e39
2 changed files with 10 additions and 6 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: viewshe3.cxx,v $
|
* $RCSfile: viewshe3.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
*
|
*
|
||||||
* last change: $Author: pw $ $Date: 2000-10-25 13:35:29 $
|
* last change: $Author: ka $ $Date: 2000-12-14 15:47:28 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -649,6 +649,8 @@ ErrCode SdViewShell::DoPrint( SfxPrinter *pPrinter, PrintDialog *pPrintDialog, B
|
||||||
if( ISA( SdOutlineViewShell ) )
|
if( ISA( SdOutlineViewShell ) )
|
||||||
sNewPageRange = ((SdOutlineViewShell*)this)->GetPageRangeString();
|
sNewPageRange = ((SdOutlineViewShell*)this)->GetPageRangeString();
|
||||||
|
|
||||||
|
bPrintDirectSelected = FALSE;
|
||||||
|
|
||||||
if ( !pPrintDialog && !bSilent && rMarkList.GetMarkCount() || sNewPageRange.Len() )
|
if ( !pPrintDialog && !bSilent && rMarkList.GetMarkCount() || sNewPageRange.Len() )
|
||||||
{
|
{
|
||||||
SvxPrtQryBox aQuery( pWindow );
|
SvxPrtQryBox aQuery( pWindow );
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: viewshel.cxx,v $
|
* $RCSfile: viewshel.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
*
|
*
|
||||||
* last change: $Author: dl $ $Date: 2000-10-18 08:54:19 $
|
* last change: $Author: ka $ $Date: 2000-12-14 15:47:28 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -267,7 +267,8 @@ SdViewShell::SdViewShell(SfxViewFrame* pFrame, Window *pParent,
|
||||||
bStartShowWithDialog( FALSE ),
|
bStartShowWithDialog( FALSE ),
|
||||||
pScrlBox(NULL),
|
pScrlBox(NULL),
|
||||||
pView(NULL),
|
pView(NULL),
|
||||||
nPrintedHandoutPageNum(1)
|
nPrintedHandoutPageNum(1),
|
||||||
|
bPrintDirectSelected( FALSE )
|
||||||
{
|
{
|
||||||
pScrlBox = new ScrollBarBox(&pFrame->GetWindow(), WB_3DLOOK | WB_SIZEABLE );
|
pScrlBox = new ScrollBarBox(&pFrame->GetWindow(), WB_3DLOOK | WB_SIZEABLE );
|
||||||
Construct();
|
Construct();
|
||||||
|
@ -306,7 +307,8 @@ SdViewShell::SdViewShell(SfxViewFrame* pFrame, const SdViewShell& rShell) :
|
||||||
bCenterAllowed(rShell.bCenterAllowed),
|
bCenterAllowed(rShell.bCenterAllowed),
|
||||||
pScrlBox(NULL),
|
pScrlBox(NULL),
|
||||||
pView(NULL),
|
pView(NULL),
|
||||||
nPrintedHandoutPageNum(1)
|
nPrintedHandoutPageNum(1),
|
||||||
|
bPrintDirectSelected( FALSE )
|
||||||
{
|
{
|
||||||
pScrlBox = new ScrollBarBox(&pFrame->GetWindow(), WB_3DLOOK | WB_SIZEABLE );
|
pScrlBox = new ScrollBarBox(&pFrame->GetWindow(), WB_3DLOOK | WB_SIZEABLE );
|
||||||
Construct();
|
Construct();
|
||||||
|
|
Loading…
Reference in a new issue