diff options
author | Andras Timar <atimar@suse.com> | 2012-02-01 15:30:38 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-02-01 15:30:38 +0100 |
commit | ff9a823e1007c3473072422e38512e3be0177fa4 (patch) | |
tree | c2ec2a3ad4543fc15dac67ca566aa32594552978 /vcl | |
parent | 7be0cc289d9745e0842c4fa6c0a6ac3450f3801b (diff) |
unused variable
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salprn.cxx | 2 |
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 ) ) |