sw/source/ui/docvw/SidebarWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5755b4afdc62960831420a20782386fbc287460b Author: Pavel JanÃk <pavelja...@apache.org> Date: Fri Jan 3 20:12:06 2014 +0000 WaE: Compare numerical values to 0, not NULL. diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx index 68e5c3c..2967698 100644 --- a/sw/source/ui/docvw/SidebarWin.cxx +++ b/sw/source/ui/docvw/SidebarWin.cxx @@ -579,7 +579,7 @@ void SwSidebarWin::SetPosAndSize() } // text range overlay - if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != NULL + if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0 && mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND ) { std::vector< basegfx::B2DRange > aAnnotationTextRanges;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits