diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 15:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-20 09:31:13 +0200 |
commit | c39c621978cc2df1c30005abbedfc0711b76d153 (patch) | |
tree | b9cac6eab9a51dc1ae5daa60df6713f3fdcd98e4 /sd | |
parent | cid#1078824 Dereference before null check (diff) | |
download | core-c39c621978cc2df1c30005abbedfc0711b76d153.tar.gz core-c39c621978cc2df1c30005abbedfc0711b76d153.zip |
cid#1078825 Dereference before null check
Change-Id: I9daa1e3a294db0b205fe5b2ec247bbf550d2dca1
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 654a74c57eb1..3e5ed9bdcfd9 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1504,7 +1504,7 @@ OUString OutlineViewShell::GetSelectionText(bool bCompleteWords) ::Outliner* pOl = pOlView->GetOutliner(); OutlinerView* pOutlinerView = pOlView->GetViewByWindow( GetActiveWindow() ); - if (pOl && pOlView) + if (pOl) { if (bCompleteWords) { |