diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-07-04 15:11:00 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-07-04 15:11:53 +0200 |
commit | fd468019fe92420e21fccc7a3ebe196f89bd3b94 (patch) | |
tree | 8bef0889ab99e1b7fb3cb6ea563ba50cd63dc46d | |
parent | 3cfa4f26616411caf5c9c6c91ccd5ded7e10b035 (diff) |
Fix indent
Change-Id: Ida42c6c0642973ada04d387dafc3ea62703cb50c
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx index 6354f422d9e1..47b47b88837a 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 |