summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-23 13:11:43 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-02 08:19:44 +0000
commita9483f7105b58b6d78c06aa5b3e6e4a3466ae8dc (patch)
treed14142f4379a9ebce7d4a8e227f33f3d7703a4b5
parent4514d7032b8a93d6bfacbb3354bafca98c0559b6 (diff)
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>
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 77fd622d1fa3..07b9bf8ed34e 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -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