[Libreoffice-commits] core.git: sd/source
Eike Rathke
erack at redhat.com
Mon Oct 19 11:19:22 PDT 2015
sd/source/ui/annotations/annotationmanager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2b942719d7132b0e055395ad8efb0ee3c60676cf
Author: Eike Rathke <erack at redhat.com>
Date: Mon Oct 19 20:18:24 2015 +0200
missing return
Change-Id: I84c37f4bffb51dbe05c0b8273c060851fd671659
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 1bead96..da3d5d5 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;
}
More information about the Libreoffice-commits
mailing list