Skip to content

Commit

Permalink
coverity - Missing call to superclass
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18216 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
don-vip committed Sep 12, 2021
1 parent 40d93ed commit 0442edc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/org/openstreetmap/josm/gui/bbox/SizeButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public SizeButton(SlippyMapBBoxChooser slippyMapBBoxChooser) {

@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
if (isEnlarged) {
if (shrinkImage != null)
g.drawImage(shrinkImage.getImage(), 0, 0, null);
Expand Down
1 change: 1 addition & 0 deletions src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ public TitleBar(String toggleDialogName, String iconName) {
lblTitleWeak = new JComponent() {
@Override
public void paintComponent(Graphics g) {
super.paintComponent(g);
lblTitle.paint(g);
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,8 @@ private void updateProcessedImage() {

@Override
public void paintComponent(Graphics g) {
super.paintComponent(g);

ImageEntry entry;
ImageEntry oldEntry;
BufferedImage image;
Expand Down

0 comments on commit 0442edc

Please sign in to comment.