diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-13 20:49:13 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-13 22:47:24 +0100 |
commit | 6a6b8fc23df49e34fa77c782d33417ec4a830ba0 (patch) | |
tree | 0d8bf3826d2267715d572017a333b3af9008bf03 /sw/source/filter/html/htmltab.cxx | |
parent | fdc767b7f1cd6a21c2ff37b1f17869452389708a (diff) |
Remove unused TEST_RESIZE
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 5a6d9b5ffb66..31797ba1599c 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -28,8 +28,6 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -//#define TEST_RESIZE - #include "hintids.hxx" #include <vcl/svapp.hxx> @@ -63,9 +61,6 @@ #include "poolfmt.hxx" #include "swtable.hxx" #include "cellatr.hxx" -#ifdef TEST_RESIZE -#include "viewsh.hxx" -#endif #include "htmltbl.hxx" #include "swtblfmt.hxx" #include "htmlnum.hxx" @@ -5478,26 +5473,6 @@ HTMLTable *SwHTMLParser::BuildTable( SvxAdjust eParentAdjust, // SwTable aufbereiten sal_uInt16 nBrowseWidth = (sal_uInt16)GetCurrentBrowseWidth(); pSaveStruct->MakeTable( nBrowseWidth, *pPam->GetPoint(), pDoc ); - -#ifdef TEST_RESIZE - const SwTable *pSwTable = pTable->GetSwTable(); - SwHTMLTableLayout *pLayoutInfo = - pSwTable ? ((SwTable *)pSwTable)->GetHTMLTableLayout() : 0; - if( pLayoutInfo ) - { - ViewShell *pVSh = CheckActionViewShell(); - if( pVSh ) - { - CallEndAction( sal_False, sal_False ); - CallStartAction( pVSh, sal_False ); - - sal_uInt16 nNewBrwoseWidth = - (sal_uInt16)GetCurrentBrowseWidth(); - if( nBrowseWidth != nNewBrowseWidth ) - pLayoutInfo->Resize( nNewBrowseWidth ); - } - } -#endif } GetNumInfo().Set( pTCntxt->GetNumInfo() ); |