Os2Transferable.hxx (1ac7a910) Os2Transferable.hxx (559605ce)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 24 unchanged lines hidden (view full) ---

33#include <osl/thread.h>
34
35#include <errno.h>
36
37#include <uclip.h>
38
39#define CHAR_POINTER(THE_OUSTRING) ::rtl::OUStringToOString (THE_OUSTRING, RTL_TEXTENCODING_UTF8).pData->buffer
40
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 24 unchanged lines hidden (view full) ---

33#include <osl/thread.h>
34
35#include <errno.h>
36
37#include <uclip.h>
38
39#define CHAR_POINTER(THE_OUSTRING) ::rtl::OUStringToOString (THE_OUSTRING, RTL_TEXTENCODING_UTF8).pData->buffer
40
41#if OSL_DEBUG_LEVEL>10
41#if OSL_DEBUG_LEVEL>0
42extern "C" int debug_printf(const char *f, ...);
43#else
42extern "C" int debug_printf(const char *f, ...);
43#else
44#define debug_printf( ...) { 1; }
44#define debug_printf( ...)
45#endif
46
47#define CPPUTYPE_SEQSALINT8 getCppuType( (const Sequence< sal_Int8 >*) 0 )
48#define CPPUTYPE_DEFAULT CPPUTYPE_SEQSALINT8
49
50using namespace com::sun::star::uno;
51HBITMAP OOoBmpToOS2Handle( Any &aAnyB);
52int OS2HandleToOOoBmp( HBITMAP hbm, Sequence< sal_Int8 >* winDIBStream);

--- 37 unchanged lines hidden ---
45#endif
46
47#define CPPUTYPE_SEQSALINT8 getCppuType( (const Sequence< sal_Int8 >*) 0 )
48#define CPPUTYPE_DEFAULT CPPUTYPE_SEQSALINT8
49
50using namespace com::sun::star::uno;
51HBITMAP OOoBmpToOS2Handle( Any &aAnyB);
52int OS2HandleToOOoBmp( HBITMAP hbm, Sequence< sal_Int8 >* winDIBStream);

--- 37 unchanged lines hidden ---