[PATCH] WaE: return a value if the checks does not succeed in GetAnc...

Joren De Cuyper (via Code Review) gerrit at gerrit.libreoffice.org
Wed Mar 6 08:02:45 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2568

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/68/2568/1

WaE: return a value if the checks does not succeed in GetAnchorPosition

Change-Id: Id9a9f5ba2299f103804b8f66c7dc5d1e5429187b
---
M sw/source/core/fields/postithelper.cxx
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx
index b68fe12..0e80c28 100644
--- a/sw/source/core/fields/postithelper.cxx
+++ b/sw/source/core/fields/postithelper.cxx
@@ -175,6 +175,7 @@
             return aPos;
         }
     }
+    return NULL;
 }
 
 bool SwAnnotationItem::UseElement()

-- 
To view, visit https://gerrit.libreoffice.org/2568
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9a9f5ba2299f103804b8f66c7dc5d1e5429187b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joren De Cuyper <joren.libreoffice at telenet.be>



More information about the LibreOffice mailing list