sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 108 +++++++++++++++--------------- 1 file changed, 54 insertions(+), 54 deletions(-)
New commits: commit fd468019fe92420e21fccc7a3ebe196f89bd3b94 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Jul 4 15:11:00 2015 +0200 Fix indent Change-Id: Ida42c6c0642973ada04d387dafc3ea62703cb50c diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx index 6354f42..47b47b8 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx @@ -1002,60 +1002,60 @@ DECLARE_OOXMLEXPORT_TEST(testExportAdjustmentValue, "tdf91429.docx") DECLARE_OOXMLEXPORT_TEST(testTDF87348, "tdf87348_linkedTextboxes.docx") { -int followCount=0; -int precedeCount=0; -if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","precede").isEmpty() ) - precedeCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","follow").isEmpty() ) - followCount++; -if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","precede").isEmpty() ) - precedeCount++; + int followCount=0; + int precedeCount=0; + if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","precede").isEmpty() ) + precedeCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","follow").isEmpty() ) + followCount++; + if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","precede").isEmpty() ) + precedeCount++; //there should be 4 chains/13 linked textboxes (set of 5, set of 3, set of 3, set of 2) //that means 9 NEXT links and 9 PREV links. //however, the current implementation adds leftover shapes, so can't go on exact numbers _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits