summaryrefslogtreecommitdiff
path: root/dtrans/source
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source')
-rw-r--r--dtrans/source/os2/clipb/Os2Clipboard.cxx20
-rw-r--r--dtrans/source/test/test_dtrans.cxx13
2 files changed, 0 insertions, 33 deletions
diff --git a/dtrans/source/os2/clipb/Os2Clipboard.cxx b/dtrans/source/os2/clipb/Os2Clipboard.cxx
index e32eb1fd2d82..8ac20f9db56e 100644
--- a/dtrans/source/os2/clipb/Os2Clipboard.cxx
+++ b/dtrans/source/os2/clipb/Os2Clipboard.cxx
@@ -110,26 +110,6 @@ Os2Clipboard::Os2Clipboard() :
hText = 0;
hBitmap = 0;
-#if 0
- // register object class
- if ( WinRegisterClass( hAB, (PSZ)DTRANS_OBJ_CLASSNAME,
- (PFNWP)DtransObjWndProc, 0, sizeof(ULONG) ))
- {
- APIRET rc;
- // create object window to get clip viewer messages
- hObjWnd = WinCreateWindow( HWND_OBJECT, (PCSZ)DTRANS_OBJ_CLASSNAME,
- (PCSZ)"", 0, 0, 0, 0, 0,
- HWND_OBJECT, HWND_TOP,
- 222, NULL, NULL);
- // store pointer
- SetWindowPtr( hObjWnd, this);
- // register the viewer window
- rc = WinOpenClipbrd(hAB);
- rc = WinSetClipbrdViewer(hAB, hObjWnd);
- rc = WinCloseClipbrd(hAB);
- }
-#endif
-
}
Os2Clipboard::~Os2Clipboard()
diff --git a/dtrans/source/test/test_dtrans.cxx b/dtrans/source/test/test_dtrans.cxx
index 072a13325c6f..430c63071228 100644
--- a/dtrans/source/test/test_dtrans.cxx
+++ b/dtrans/source/test/test_dtrans.cxx
@@ -267,19 +267,6 @@ Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& aFlavor )
{
anyData = makeAny( m_Data );
} */
-#if 0
- else if ( aFlavor == m_seqDFlv[0] )
- {
- OString aStr( m_Data.getStr( ), m_Data.getLength( ), 1252 );
- Sequence< sal_Int8 > sOfChars( aStr.getLength( ) );
- sal_Int32 lenStr = aStr.getLength( );
-
- for ( sal_Int32 i = 0; i < lenStr; ++i )
- sOfChars[i] = aStr[i];
-
- anyData = makeAny( sOfChars );
- }
-#endif
return anyData;
}