summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-04 07:41:55 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-04 07:41:55 +0000
commit111b04f2e3d9ba801bbe615fd5f86fe8e62e2d11 (patch)
treea75a833be960e74ffb7dc4d9d56e89f0d6365c0e /psprint
parentd565abefb4fd65980678893edc290f11ecdca21b (diff)
INTEGRATION: CWS pj54 (1.33.22); FILE MERGED
2006/04/25 10:52:54 pjanik 1.33.22.1: #i64399#: Remove macxp_tempnam.
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/printergfx/printerjob.cxx10
1 files changed, 3 insertions, 7 deletions
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;