ucb/source/ucp/webdav/webdavcontent.cxx | 2 +- vcl/source/filter/wmf/winmtf.cxx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-)
New commits: commit 3780738154b8c3b3f9d85c64cccf621d97574886 Author: Michael Stahl <mst...@redhat.com> Date: Tue Jan 21 20:14:46 2014 +0100 ucb: fix inverted condition in webdav lcl_sendPartialGETRequest (regression from a3f32769fc4bb23c64168b412dd10ec769a3854d) Change-Id: Ic72b0e874ebf19e25e43af1f8750c63c04ed8a8e diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index aea2a5a..1fce24b 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -163,7 +163,7 @@ static void lcl_sendPartialGETRequest( bool &bError, for ( std::vector< DAVPropertyValue >::iterator it = aResponseProps.begin(); it != aResponseProps.end(); ++it ) { - if ( it->Name != "Content-Length" ) + if (it->Name == "Content-Length") { it->Value <<= aSize; break; commit 54a370753cd1affd8c47cf171ef4a0f3bc76ba90 Author: Michael Stahl <mst...@redhat.com> Date: Tue Jan 21 16:34:41 2014 +0100 vcl: stylistic cleanup Change-Id: Iaab13bd37b85128c9cf83b114a155f198b628587 diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index 20bbbfa..df47935 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -518,7 +518,10 @@ Polygon& WinMtfOutput::ImplScale( Polygon& rPolygon ) PolyPolygon& WinMtfOutput::ImplScale( PolyPolygon& rPolyPolygon ) { sal_uInt16 nPolys = rPolyPolygon.Count(); - for ( sal_uInt16 i = 0; i < nPolys; ImplScale( rPolyPolygon[ i++ ] ) ) ; + for (sal_uInt16 i = 0; i < nPolys; ++i) + { + ImplScale(rPolyPolygon[i]); + } return rPolyPolygon; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits