diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 16:42:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 20:41:05 +0000 |
commit | 5a6195974b8d1bb2ed15d80523782c062e886b93 (patch) | |
tree | 2dd201b98fa00a886fa37c1c82f4ed39d68a9e48 /sd | |
parent | bcea4ec750aa358c75b909633c7a8cd1b7f13a9b (diff) |
coverity#704755 Dereference after null check
Change-Id: I887a3ce81b2eea878b98e5567a6faf4aa8df4ebe
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fupoor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx index e40553669a15..15843061abe4 100644 --- a/sd/source/ui/func/fupoor.cxx +++ b/sd/source/ui/func/fupoor.cxx @@ -676,7 +676,7 @@ sal_Bool FuPoor::KeyInput(const KeyEvent& rKEvt) else if(rKEvt.GetKeyCode().IsMod2()) { // move in 1 pixel distance - Size aLogicSizeOnePixel = (mpWindow) ? mpWindow->PixelToLogic(Size(1,1)) : Size(100, 100); + Size aLogicSizeOnePixel = mpWindow->PixelToLogic(Size(1,1)); nX *= aLogicSizeOnePixel.Width(); nY *= aLogicSizeOnePixel.Height(); } |