From 111b04f2e3d9ba801bbe615fd5f86fe8e62e2d11 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 4 May 2006 07:41:55 +0000 Subject: INTEGRATION: CWS pj54 (1.33.22); FILE MERGED 2006/04/25 10:52:54 pjanik 1.33.22.1: #i64399#: Remove macxp_tempnam. --- psprint/source/printergfx/printerjob.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'psprint') diff --git a/psprint/source/printergfx/printerjob.cxx b/psprint/source/printergfx/printerjob.cxx index 9d119472dec6..05a55eed621c 100644 --- a/psprint/source/printergfx/printerjob.cxx +++ b/psprint/source/printergfx/printerjob.cxx @@ -4,9 +4,9 @@ * * $RCSfile: printerjob.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: obo $ $Date: 2006-01-16 12:55:22 $ + * last change: $Author: rt $ $Date: 2006-05-04 08:41:55 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -340,11 +340,7 @@ createSpoolDir () } /* create a subdirectory in the tmp directory */ -#ifdef MACOSX - char* pName = macxp_tempnam( pTmpDir, "psp" ); -#else char* pName = tempnam (pTmpDir, "psp"); -#endif rtl::OUString aSubDir = rtl::OUString::createFromAscii (pName); rtl::OUString aUNCSubDir; osl::File::getFileURLFromSystemPath (aSubDir, aUNCSubDir); @@ -590,7 +586,7 @@ PrinterJob::EndJob () /* Get a temporary file name for the spool file. * This name must be free()ed later. */ - spoolFileName = macxp_tempnam( NULL, "ooopj" ); + spoolFileName = tempnam( NULL, "ooopj" ); if ( spoolFileName == NULL ) return sal_False; -- cgit