summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-07 08:04:46 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-07 08:04:46 +0000
commit3e3af2faaea4e3c3610e21e9de8da5c9e4ab2176 (patch)
tree4ba95994ff455a206f86822e86352dd82501144b
parentd866bcff53f6adb474c7f6c3d055ef6bd992f354 (diff)
INTEGRATION: CWS supdremove (1.17.104); FILE MERGED
2007/11/16 10:25:21 vg 1.17.104.1: #i83674# cleanup: remove obsolete SUPD macro use
-rw-r--r--sfx2/source/view/printer.cxx30
1 files changed, 2 insertions, 28 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx
index 9c9b5f9eb0b1..1de287c891c9 100644
--- a/sfx2/source/view/printer.cxx
+++ b/sfx2/source/view/printer.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: printer.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: ihi $ $Date: 2007-07-11 13:12:50 $
+ * last change: $Author: obo $ $Date: 2008-01-07 09:04:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -118,15 +118,9 @@ struct SfxPrinter_Impl
struct SfxPrintOptDlg_Impl
{
-#if SUPD <= 640
- HelpButton* mpHelpBtn;
-#endif
sal_Bool mbHelpDisabled;
SfxPrintOptDlg_Impl() :
-#if SUPD <= 640
- mpHelpBtn ( NULL ),
-#endif
mbHelpDisabled ( sal_False ) {}
};
@@ -558,18 +552,13 @@ SfxPrintOptionsDialog::SfxPrintOptionsDialog( Window *pParent,
aOkBtn ( this ),
aCancelBtn ( this ),
-#if SUPD > 640
aHelpBtn ( this ),
-#endif
pDlgImpl ( new SfxPrintOptDlg_Impl ),
pViewSh ( pViewShell ),
pOptions ( pSet->Clone() ),
pPage ( NULL )
{
-#if SUPD <= 640
- pDlgImpl->mpHelpBtn = new HelpButton( this );
-#endif
SetText( SfxResId( STR_PRINT_OPTIONS_TITLE ) );
// TabPage einh"angen
@@ -598,28 +587,17 @@ SfxPrintOptionsDialog::SfxPrintOptionsDialog( Window *pParent,
aBtnPos.Y() += aBtnSz.Height() + ( a6Sz.Height() / 2 );
aCancelBtn.SetPosSizePixel( aBtnPos, aBtnSz );
aBtnPos.Y() += aBtnSz.Height() + a6Sz.Height();
-#if SUPD > 640
aHelpBtn.SetPosSizePixel( aBtnPos, aBtnSz );
-#else
- pDlgImpl->mpHelpBtn->SetPosSizePixel( aBtnPos, aBtnSz );
-#endif
aCancelBtn.Show();
aOkBtn.Show();
-#if SUPD > 640
aHelpBtn.Show();
-#else
- pDlgImpl->mpHelpBtn->Show();
-#endif
}
//--------------------------------------------------------------------
SfxPrintOptionsDialog::~SfxPrintOptionsDialog()
{
-#if SUPD <= 640
- delete pDlgImpl->mpHelpBtn;
-#endif
delete pDlgImpl;
delete pPage;
delete pOptions;
@@ -656,10 +634,6 @@ void SfxPrintOptionsDialog::DisableHelp()
{
pDlgImpl->mbHelpDisabled = sal_True;
-#if SUPD > 640
aHelpBtn.Disable();
-#else
- pDlgImpl->mpHelpBtn->Disable();
-#endif
}