[Libreoffice-commits] core.git: sw/source
Michael Stahl
Michael.Stahl at cib.de
Sat Jun 9 08:00:36 UTC 2018
sw/source/core/text/txtfrm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2f0263c76cacdb04a914cf7c72ea949bd62282ce
Author: Michael Stahl <Michael.Stahl at cib.de>
Date: Sat Jun 9 09:31:06 2018 +0200
sw_redlinehide: old GCC needs a cast here
Change-Id: I45f340fff2d3285e1af6f6448c807d4997e5a42b
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 39a0c8262925..52f5139cebb5 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -867,7 +867,7 @@ MapViewToModel(MergedPara const& rMerged, TextFrameIndex const i_nIndex)
assert(nIndex == 0 && "view index out of bounds");
return pExtent
? std::make_pair(pExtent->pNode, pExtent->nEnd) //1-past-the-end index
- : std::make_pair(rMerged.pFirstNode, 0);
+ : std::make_pair(rMerged.pFirstNode, sal_Int32(0));
}
TextFrameIndex MapModelToView(MergedPara const& rMerged, SwTextNode const*const pNode, sal_Int32 const nIndex)
More information about the Libreoffice-commits
mailing list