summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-21 15:49:48 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-21 15:49:48 +0300
commitea9d29c0bcf62b5465d1192521b9c6c8d723dace (patch)
tree3b730d16fb15b9538d1d807afc32229830ca366e /basctl
parenta5c5c71ba600296171591378dc78f24204eda631 (diff)
Drop OS2
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index be5fdc556c59..110bdb89f2c6 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -1268,15 +1268,6 @@ void DlgEditor::Print( Printer* pPrinter, const String& rTitle ) // not worki
lcl_PrintHeader( pPrinter, rTitle );
Bitmap aDlg;
-#ifdef OS2
- Bitmap* pDlg = new Bitmap;
- SvMemoryStream* pStrm = new SvMemoryStream;
- *pStrm << *pDlg;
- delete pDlg;
- pStrm->Seek(0);
- *pStrm >> aDlg;
- delete pStrm;
-#endif
Size aBmpSz( pPrinter->PixelToLogic( aDlg.GetSizePixel() ) );
double nPaperSzWidth = aPaperSz.Width();
double nPaperSzHeight = aPaperSz.Height();