diff options
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index aa24f31d939f..912e721b6eda 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -206,9 +206,8 @@ void VCLXPrinterPropertySet::selectForm( const OUString& rFormDescription ) { ::osl::MutexGuard aGuard( Mutex ); - sal_Int32 nIndex = 0; sal_uInt16 nPaperBin = sal::static_int_cast< sal_uInt16 >( - rFormDescription.getToken( 3, ';', nIndex ).toInt32()); + rFormDescription.getToken( 3, ';' ).toInt32()); GetPrinter()->SetPaperBin( nPaperBin ); } |