Kaydet (Commit) 516bb692 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

The previous commit wasn't really thought through

Change-Id: I88e44e637e2ac93b4deed42a2d0f94b0a973c995
üst 3114d8a1
......@@ -105,7 +105,7 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData )
nPaperBin < pKey->countValues();
nPaperBin++ );
pJobSetup->SetPaperBin(
(nPaperBin < 0 || nPaperBin >= pKey->countValues()
(nPaperBin == pKey->countValues()
|| pValue == pKey->getDefaultValue())
? 0xffff : nPaperBin);
}
......
......@@ -201,7 +201,7 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData )
nPaperBin < pKey->countValues();
nPaperBin++);
pJobSetup->SetPaperBin(
nPaperBin < 0 || nPaperBin >= pKey->countValues() ? 0 : nPaperBin);
nPaperBin == pKey->countValues() ? 0 : nPaperBin);
}
// copy duplex
......
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