salshl.cxx (9f62ea84) salshl.cxx (fc9fd3f1)
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

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

19 *
20 *************************************************************/
21
22
23
24#include <svpm.h>
25
26#define _SV_SALSHL_CXX
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

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

19 *
20 *************************************************************/
21
22
23
24#include <svpm.h>
25
26#define _SV_SALSHL_CXX
27#include <saldata.hxx>
27#include <os2/saldata.hxx>
28#include <tools/debug.hxx>
29
30// =======================================================================
31
32SalShlData aSalShlData;
33
34HMODULE ImplGetModule(void);
35static HMODULE mhMod = ImplGetModule();

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

69 if (!hPointer)
70 debug_printf( "ImplLoadSalCursor: pointer %d not found in sal resource\n", nId);
71#endif
72 return hPointer;
73}
74
75// -----------------------------------------------------------------------
76
28#include <tools/debug.hxx>
29
30// =======================================================================
31
32SalShlData aSalShlData;
33
34HMODULE ImplGetModule(void);
35static HMODULE mhMod = ImplGetModule();

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

69 if (!hPointer)
70 debug_printf( "ImplLoadSalCursor: pointer %d not found in sal resource\n", nId);
71#endif
72 return hPointer;
73}
74
75// -----------------------------------------------------------------------
76
77BOOL ImplLoadSalIcon( int nId, HPOINTER& rIcon)
77sal_Bool ImplLoadSalIcon( int nId, HPOINTER& rIcon)
78{
79 DBG_ASSERT( aSalShlData.mhMod, "no DLL instance handle" );
80
81 SalData* pSalData = GetSalData();
82
83 // check the cache first
84 SalIcon *pSalIcon = pSalData->mpFirstIcon;
85 while( pSalIcon )

--- 34 unchanged lines hidden ---
78{
79 DBG_ASSERT( aSalShlData.mhMod, "no DLL instance handle" );
80
81 SalData* pSalData = GetSalData();
82
83 // check the cache first
84 SalIcon *pSalIcon = pSalData->mpFirstIcon;
85 while( pSalIcon )

--- 34 unchanged lines hidden ---