summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 15:08:31 +0200
committerNoel Grandin <noel@peralex.com>2014-02-20 09:31:13 +0200
commitc39c621978cc2df1c30005abbedfc0711b76d153 (patch)
treeb9cac6eab9a51dc1ae5daa60df6713f3fdcd98e4 /sd
parentc45f332e9e265e7e363e0f91f2fe69fb69683253 (diff)
cid#1078825 Dereference before null check
Change-Id: I9daa1e3a294db0b205fe5b2ec247bbf550d2dca1
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
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)
{