summaryrefslogtreecommitdiff
path: root/dtrans/source/os2/clipb/Os2Transferable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/os2/clipb/Os2Transferable.cxx')
-rw-r--r--dtrans/source/os2/clipb/Os2Transferable.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dtrans/source/os2/clipb/Os2Transferable.cxx b/dtrans/source/os2/clipb/Os2Transferable.cxx
index 5028799715dc..57662854b05e 100644
--- a/dtrans/source/os2/clipb/Os2Transferable.cxx
+++ b/dtrans/source/os2/clipb/Os2Transferable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,12 +49,12 @@ using namespace os2;
// =======================================================================
Os2Transferable::Os2Transferable(
- const Reference< XInterface >& xCreator ) :
+ const Reference< XInterface >& xCreator ) :
m_xCreator( xCreator )
{
debug_printf("Os2Transferable::Os2Transferable %08x\n", this);
hAB = WinQueryAnchorBlock( HWND_DESKTOP );
-
+
// query clipboard data to get mimetype
if( UWinOpenClipbrd( hAB ) )
{
@@ -71,7 +71,7 @@ Os2Transferable::Os2Transferable(
//debug_printf("Os2Transferable::Os2Transferable pszText %s\n", pszText);
}
UWinCloseClipbrd( hAB);
- }
+ }
else
{
debug_printf("Os2Transferable::Os2Transferable failed to open clipboard\n");
@@ -95,7 +95,7 @@ Any SAL_CALL Os2Transferable::getTransferData( const DataFlavor& rFlavor )
debug_printf("Os2Transferable::getTransferData mimetype: %s\n", CHAR_POINTER(rFlavor.MimeType));
Any aRet;
Sequence< sal_Int8 > aData;
-
+
// retrieve unicode text
if( rFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "text/plain;charset=utf-16" ) ) )
{
@@ -113,7 +113,7 @@ Any SAL_CALL Os2Transferable::getTransferData( const DataFlavor& rFlavor )
return aRet;
}
}
-
+
// retrieve bitmap
if( rFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "application/x-openoffice-bitmap;windows_formatname=\"Bitmap\"" ) ) )
{
@@ -158,7 +158,7 @@ sal_Bool SAL_CALL Os2Transferable::isDataFlavorSupported( const DataFlavor& aFla
{
debug_printf("Os2Transferable::isDataFlavorSupported %08x\n", this);
debug_printf("Os2Transferable::isDataFlavorSupported %s\n", CHAR_POINTER(aFlavor.MimeType));
-
+
if( aFlavor.DataType != getCppuType( (Sequence< sal_Int8 >*)0 ) )
{
if( ! aFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "text/plain;charset=utf-16" ) ) &&