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

coverity#1242507 silence Arguments in wrong order

Change-Id: Ice857b6f97f1ac3f720226aa90392fb6e9229869
üst 154cc4ab
...@@ -1377,8 +1377,9 @@ void Printer::ImplFindPaperFormatForUserSize( JobSetup& aJobSetup, bool bMatchNe ...@@ -1377,8 +1377,9 @@ void Printer::ImplFindPaperFormatForUserSize( JobSetup& aJobSetup, bool bMatchNe
nLandscapeAngle != 0 && nLandscapeAngle != 0 &&
HasSupport( SUPPORT_SET_ORIENTATION )) HasSupport( SUPPORT_SET_ORIENTATION ))
{ {
const long nRotatedWidth = pSetupData->mnPaperHeight;
PaperInfo aRotatedInfo(pSetupData->mnPaperHeight, pSetupData->mnPaperWidth); const long nRotatedHeight = pSetupData->mnPaperWidth;
PaperInfo aRotatedInfo(nRotatedWidth, nRotatedHeight);
for ( int i = 0; i < nPaperCount; i++ ) for ( int i = 0; i < nPaperCount; i++ )
{ {
......
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