add default cases
mutes over 150 warnings on kde build environments 'enumeration value ´...´ not handled in switch [-Wswitch]' Change-Id: Iefc8cd3bc820b1d8e039db6fc188533ceffb9d39 Reviewed-on: https://gerrit.libreoffice.org/29225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
This commit is contained in:
@@ -1559,6 +1559,8 @@ bool KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
|
||||
bReturn = true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1610,6 +1612,9 @@ bool KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
|
||||
qRect.moveBy( qBoundingRect.left(), qBoundingRect.top() );
|
||||
bReturn = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1638,6 +1643,9 @@ bool KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
|
||||
qRect.moveBy( qBoundingRect.left(), qBoundingRect.top() );
|
||||
bReturn = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1701,8 +1709,12 @@ bool KDESalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
|
||||
|
||||
bReturn = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// Fill rNativeBoundingRegion and rNativeContentRegion
|
||||
|
Reference in New Issue
Block a user