summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewprt.cxx
diff options
context:
space:
mode:
authorKayo Hamid <revol.code@yahoo.com>2010-11-30 16:44:46 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-30 16:44:46 +0100
commit8036602120283b01dac0253c83b931cc94c3ac02 (patch)
treef7ad4ca583010f0f07137ba3448b59932e1494fc /sw/source/ui/uiview/viewprt.cxx
parent7f75773f59f4e755c8e18b8f604d3ac56d94914e (diff)
clean code at writer
Diffstat (limited to 'sw/source/ui/uiview/viewprt.cxx')
-rw-r--r--sw/source/ui/uiview/viewprt.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewprt.cxx b/sw/source/ui/uiview/viewprt.cxx
index 878cb0ff2c..73ec66a4d6 100644
--- a/sw/source/ui/uiview/viewprt.cxx
+++ b/sw/source/ui/uiview/viewprt.cxx
@@ -182,12 +182,9 @@ SfxTabPage* __EXPORT SwView::CreatePrintOptionsPage(Window* pParent,
PrintDialog* CreatePrintDialog( Window* pParent, USHORT nPg, SwWrtShell* pSh )
{
PrintDialog *pDlg = new PrintDialog( pParent, false );
-// pDlg->ChangeFirstPage( 1 );
if ( !nPg )
nPg = 1;
-// pDlg->ChangeLastPage( nPg );
-// pDlg->ChangeMaxPage( 9999 );
pDlg->EnableRange( PRINTDIALOG_FROMTO );
if (pSh && (pSh->IsSelection() || pSh->IsFrmSelected() || pSh->IsObjSelected()))