summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-02-01 15:30:38 +0100
committerAndras Timar <atimar@suse.com>2012-02-01 15:30:38 +0100
commitff9a823e1007c3473072422e38512e3be0177fa4 (patch)
treec2ec2a3ad4543fc15dac67ca566aa32594552978 /vcl
parentA few safe replacements of pathes->paths (diff)
downloadcore-ff9a823e1007c3473072422e38512e3be0177fa4.tar.gz
core-ff9a823e1007c3473072422e38512e3be0177fa4.zip
unused variable
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salprn.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
index 4bafcd23e3e8..53b54ed21c5b 100644
--- a/vcl/win/source/gdi/salprn.cxx
+++ b/vcl/win/source/gdi/salprn.cxx
@@ -326,7 +326,6 @@ static sal_Bool ImplTestSalJobSetup( WinSalInfoPrinter* pPrinter,
// this prevents using the jobsetup between different Windows versions (eg from XP to 9x) but we
// can avoid potential driver crashes as their jobsetups are often not compatible
// #110800#, #111151#, #112381#, #i16580#, #i14173# and perhaps #112375#
- ByteString aPrinterNameA= ImplSalGetWinAnsiString( pPrinter->maDeviceName, TRUE );
HANDLE hPrn;
LPWSTR pPrinterNameW = reinterpret_cast<LPWSTR>(const_cast<sal_Unicode*>(pPrinter->maDeviceName.getStr()));
if ( !OpenPrinterW( pPrinterNameW, &hPrn, NULL ) )
@@ -392,7 +391,6 @@ static sal_Bool ImplTestSalJobSetup( WinSalInfoPrinter* pPrinter,
static sal_Bool ImplUpdateSalJobSetup( WinSalInfoPrinter* pPrinter, ImplJobSetup* pSetupData,
sal_Bool bIn, WinSalFrame* pVisibleDlgParent )
{
- ByteString aPrinterNameA = ImplSalGetWinAnsiString( pPrinter->maDeviceName, TRUE );
HANDLE hPrn;
LPWSTR pPrinterNameW = reinterpret_cast<LPWSTR>(const_cast<sal_Unicode*>(pPrinter->maDeviceName.getStr()));
if ( !OpenPrinterW( pPrinterNameW, &hPrn, NULL ) )