diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-27 14:05:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-28 08:54:42 +0200 |
commit | ef531e85d95fe18d553bce1a6926d24c08ffe2bf (patch) | |
tree | b913745a48020c9b1cbaedfc95fdd216b95a98ae /toolkit/source/awt | |
parent | 1eee0abd459a508a6dcf9e71cbf2c1be3725faa7 (diff) |
loplugin:oncevar in test..tools
Change-Id: I7b3ccc8f227100ff7fedeaca96a12f135da60bab
Reviewed-on: https://gerrit.libreoffice.org/39326
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/awt')
-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 b2f3ac103bba..6fe73f2ab59c 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -280,14 +280,13 @@ sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/ { ::osl::MutexGuard aGuard( Mutex ); - bool bDone = true; if (mxPrinter.get()) { maInitJobSetup = mxPrinter->GetJobSetup(); mxListener.reset(new vcl::OldStylePrintAdaptor(mxPrinter)); } - return bDone; + return true; } void VCLXPrinter::end( ) |