summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-10-19 20:18:24 +0200
committerEike Rathke <erack@redhat.com>2015-10-19 20:18:24 +0200
commit2b942719d7132b0e055395ad8efb0ee3c60676cf (patch)
treeb50eca375cab3541d983142a8a98c7dbb99c80a9
parentBreeze Icons: add 32px icons (diff)
downloadcore-2b942719d7132b0e055395ad8efb0ee3c60676cf.tar.gz
core-2b942719d7132b0e055395ad8efb0ee3c60676cf.zip
missing return
Change-Id: I84c37f4bffb51dbe05c0b8273c060851fd671659
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 1bead96132b0..da3d5d54af28 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -1141,7 +1141,7 @@ SdPage* AnnotationManagerImpl::GetLastPage()
SdPage* AnnotationManagerImpl::GetCurrentPage()
{
if (mrBase.GetMainViewShell().get())
- mrBase.GetMainViewShell()->getCurrentPage();
+ return mrBase.GetMainViewShell()->getCurrentPage();
return nullptr;
}