Kaydet (Commit) a636d2ee authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "Revert "Fix -fsanitize=signed-integer-overflow""

This reverts commit ce057e66; the original
63d845dc appears to be useful after all to make
UBSan 'instdir/program/soffice sw/qa/extras/uiwriter/data/tdf112860.fodt'
succeed after 'make -O -j12 ExternalPackage_fonts_liberation.clean', see
tdf#112942.
üst c2c3a82b
......@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include <o3tl/safeint.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdpage.hxx>
#include <drawdoc.hxx>
......@@ -104,7 +107,7 @@ static SwRectFnCollection aHorizontal = {
&FirstMinusSecond,
&FirstMinusSecond,
&SwIncrement,
&SwIncrement,
&o3tl::saturating_add<long>,
&SwRect::SetLeftAndWidth,
&SwRect::SetTopAndHeight
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment