diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2002-08-27 16:31:42 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2002-08-27 16:31:42 +0000 |
commit | fd38774604c486227f497aa31820d034db902aa6 (patch) | |
tree | dd678b0447c3d242d7746a069a3b9d08dd8dec9b | |
parent | 2921123139c3be08cdb95e5a9bc6257590888b42 (diff) |
#101685#,#i6886#: merge OOO_STABLE_1_PORTS (1.15.2.1-1.15.2.1.2.1) -> HEAD
-rw-r--r-- | vcl/unx/source/gdi/salprnpsp.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vcl/unx/source/gdi/salprnpsp.cxx b/vcl/unx/source/gdi/salprnpsp.cxx index 5f5e4e533daa..0c0e70f7eb0d 100644 --- a/vcl/unx/source/gdi/salprnpsp.cxx +++ b/vcl/unx/source/gdi/salprnpsp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salprnpsp.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: pl $ $Date: 2002-07-04 16:31:08 $ + * last change: $Author: hr $ $Date: 2002-08-27 17:31:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -854,6 +854,13 @@ static inline String getTmpName() char tmpNam[ L_tmpnam ]; #if defined( FREEBSD ) || defined (IRIX) mkstemp ( tmpNam ); +#elif defined( MACOSX ) + { + char *tempFileName; + tempFileName = macxp_tempnam( NULL, NULL ); + strncpy( tmpNam, tempFileName, L_tmpnam ); + free( tempFileName ); + } #else tmpnam_r( tmpNam ); #endif |