Kaydet (Commit) f0f0d90b authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: scope can be reduced

Change-Id: I62e1c203e5224e69b4864f321287f2fcbe3db08f
üst fa48b92e
...@@ -654,7 +654,7 @@ bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::Printer ...@@ -654,7 +654,7 @@ bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::Printer
for( int nJobIteration = 0; nJobIteration < nJobs; nJobIteration++ ) for( int nJobIteration = 0; nJobIteration < nJobs; nJobIteration++ )
{ {
bool bError = false, bAborted = false; bool bError = false;
if( mpPrinter->StartJob( pPrintFile, if( mpPrinter->StartJob( pPrintFile,
i_rJobName, i_rJobName,
Application::GetDisplayName(), Application::GetDisplayName(),
...@@ -663,6 +663,7 @@ bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::Printer ...@@ -663,6 +663,7 @@ bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::Printer
i_xController->isDirectPrint(), i_xController->isDirectPrint(),
maJobSetup.ImplGetConstData() ) ) maJobSetup.ImplGetConstData() ) )
{ {
bool bAborted = false;
mbJobActive = true; mbJobActive = true;
i_xController->createProgressDialog(); i_xController->createProgressDialog();
const int nPages = i_xController->getFilteredPageCount(); const int nPages = i_xController->getFilteredPageCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment