Author: ydario
Date: Mon May 20 08:29:17 2013
New Revision: 1484397

URL: http://svn.apache.org/r1484397
Log:
i118923 - OS/2 port: cleanup of old and unusable code.

Modified:
    openoffice/trunk/main/basctl/source/dlged/dlged.cxx

Modified: openoffice/trunk/main/basctl/source/dlged/dlged.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/basctl/source/dlged/dlged.cxx?rev=1484397&r1=1484396&r2=1484397&view=diff
==============================================================================
--- openoffice/trunk/main/basctl/source/dlged/dlged.cxx (original)
+++ openoffice/trunk/main/basctl/source/dlged/dlged.cxx Mon May 20 08:29:17 2013
@@ -1299,9 +1299,6 @@ void DlgEditor::Print( Printer* pPrinter
                MapMode aMap( MAP_100TH_MM );
                pPrinter->SetMapMode( aMap );
                Font aFont;
-#ifdef OS2
-               //aFont.SetName( System::GetStandardFont( STDFONT_SWISS 
).GetName() );
-#endif
                aFont.SetAlign( ALIGN_BOTTOM );
                aFont.SetSize( Size( 0, 360 ));
                pPrinter->SetFont( aFont );
@@ -1313,18 +1310,6 @@ void DlgEditor::Print( Printer* pPrinter
                lcl_PrintHeader( pPrinter, rTitle );
 
                Bitmap aDlg;
-#ifdef OS2
-               Bitmap* pDlg = new Bitmap;
-               //pSbxForm->SnapShot( *pDlg );
-               SvMemoryStream* pStrm = new SvMemoryStream;
-               *pStrm << *pDlg;
-               delete pDlg;
-               pStrm->Seek(0);
-               *pStrm >> aDlg;
-               delete pStrm;
-#else
-               //pSbxForm->SnapShot( aDlg );
-#endif
                Size aBmpSz( pPrinter->PixelToLogic( aDlg.GetSizePixel() ) );
                double nPaperSzWidth = aPaperSz.Width();
                double nPaperSzHeight = aPaperSz.Height();


Reply via email to