diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 11:15:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-20 09:31:10 +0200 |
commit | f74d458dc279990459de9ea998781ffa040d159d (patch) | |
tree | f5beb58223fd269e554eb558a8f3ccb7d152c272 /dbaccess/source/ui/control/curledit.cxx | |
parent | 7dc6659f7e5bd951ea3dcf8a6596781e0c0b3114 (diff) |
cid#983368 dereference before null check
Change-Id: I6c2c69337ec5bdb2fa97c40479cddd418364d608
Diffstat (limited to 'dbaccess/source/ui/control/curledit.cxx')
-rw-r--r-- | dbaccess/source/ui/control/curledit.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx index 7f9b50dc1f8f..98165e9829d8 100644 --- a/dbaccess/source/ui/control/curledit.cxx +++ b/dbaccess/source/ui/control/curledit.cxx @@ -87,8 +87,7 @@ void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNew } // the fixed text gets the prefix - if ( m_pForcedPrefix ) - m_pForcedPrefix->SetText(sPrefix); + m_pForcedPrefix->SetText(sPrefix); // both subs have to be resized according to the text len of the prefix Size aMySize = GetSizePixel(); |