salprnpsp.cxx (c82f2877) salprnpsp.cxx (aa150a94)
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

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

96 }
97 return aDir;
98}
99
100static void getPaLib()
101{
102 if( ! driverLib )
103 {
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

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

96 }
97 return aDir;
98}
99
100static void getPaLib()
101{
102 if( ! driverLib )
103 {
104 OUString aLibName( RTL_CONSTASCII_USTRINGPARAM( _XSALSET_LIBNAME ) );
105 driverLib = osl_loadModuleRelative( (oslGenericFunction)getPaLib, aLibName.pData, SAL_LOADMODULE_DEFAULT );
104 driverLib = osl_loadAsciiModuleRelative( (oslGenericFunction)getPaLib, _XSALSET_LIBNAME, SAL_LOADMODULE_DEFAULT );
106 if ( !driverLib )
107 {
108 return;
109 }
110
111 pSetupFunction = (setupFunction)osl_getAsciiFunctionSymbol( driverLib, "Sal_SetupPrinterDriver" );
112 if ( !pSetupFunction )
113 fprintf( stderr, "could not resolve Sal_SetupPrinterDriver\n" );

--- 1345 unchanged lines hidden ---
105 if ( !driverLib )
106 {
107 return;
108 }
109
110 pSetupFunction = (setupFunction)osl_getAsciiFunctionSymbol( driverLib, "Sal_SetupPrinterDriver" );
111 if ( !pSetupFunction )
112 fprintf( stderr, "could not resolve Sal_SetupPrinterDriver\n" );

--- 1345 unchanged lines hidden ---