diff options
author | Philipp Lohmann <pl@openoffice.org> | 2002-09-03 12:33:01 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2002-09-03 12:33:01 +0000 |
commit | cbb750ccf705da3c93a091495505f384e03f5f55 (patch) | |
tree | 3bd32a39a330c0f03b6491801468ef26d05103be /padmin/source/prtsetup.cxx | |
parent | 02a3b6f7b53a80b99c05854a534ba72bbc2fd411 (diff) |
#96930# do not use gsl_getSystemTextEncoding anymore
Diffstat (limited to 'padmin/source/prtsetup.cxx')
-rw-r--r-- | padmin/source/prtsetup.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx index 6f9c1979ee05..5d571a38b609 100644 --- a/padmin/source/prtsetup.cxx +++ b/padmin/source/prtsetup.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prtsetup.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: pl $ $Date: 2001-12-06 19:47:09 $ + * last change: $Author: pl $ $Date: 2002-09-03 13:33:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,6 +74,9 @@ #ifndef _PAD_COMMANDDLG_HXX_ #include <cmddlg.hxx> #endif +#ifndef _OSL_THREAD_H_ +#include <osl/thread.h> +#endif #define LSCAPE_STRING String( RTL_CONSTASCII_USTRINGPARAM( "Landscape" ) ) #define PORTRAIT_STRING String( RTL_CONSTASCII_USTRINGPARAM( "Portrait" ) ) @@ -145,7 +148,7 @@ RTSDialog::RTSDialog( const PrinterInfo& rJobData, const String& rPrinter, bool m_pCommandPage( NULL ) { FreeResource(); - rtl_TextEncoding aEncoding = gsl_getSystemTextEncoding(); + rtl_TextEncoding aEncoding = osl_getThreadTextEncoding(); String aTitle( GetText() ); aTitle.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ), m_aJobData.m_aPrinterName ); |