[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Fri Jan 3 12:52:21 PST 2014
sw/source/filter/ww8/wrtw8sty.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fe5fb2538d9591d94cddd7ad3d09890adf58c105
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jan 3 22:49:39 2014 +0200
WaE: C4309: truncation of constant value
Change-Id: I041989979321ad49341776a9a7fee4b46c0241ff
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 9d8fbe8..43b64fb 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -2377,7 +2377,7 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export& rWrt, sal_uInt8 nTTyp,
// Commented text ranges as bookmarks (SttbfAtnBkmk)
rFib.fcSttbfAtnbkmk = nFcStart;
- SwWW8Writer::WriteShort( *rWrt.pTableStrm, 0xFFFF ); // SttbfAtnBkmk.fExtend
+ SwWW8Writer::WriteShort( *rWrt.pTableStrm, (sal_Int16)(sal_uInt16)0xFFFF ); // SttbfAtnBkmk.fExtend
SwWW8Writer::WriteShort( *rWrt.pTableStrm, aRangeStartPos.size() ); // SttbfAtnBkmk.cData
SwWW8Writer::WriteShort( *rWrt.pTableStrm, 0xA ); // SttbfAtnBkmk.cbExtra
More information about the Libreoffice-commits
mailing list