summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatablesofcontents.cxx
diff options
context:
space:
mode:
authorKayo Hamid <revol.code@yahoo.com>2010-11-30 16:44:46 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-30 16:44:46 +0100
commit1f6aa8f2a8352cc5cc3ef8981afa278a9759c379 (patch)
treee04367b885eeeaec41c59e30c9f41670b5ac966e /sw/source/ui/vba/vbatablesofcontents.cxx
parent276c2a21860c78ff370b2b6c2212dc46ec3d9080 (diff)
clean code at writer
Diffstat (limited to 'sw/source/ui/vba/vbatablesofcontents.cxx')
-rw-r--r--sw/source/ui/vba/vbatablesofcontents.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatablesofcontents.cxx b/sw/source/ui/vba/vbatablesofcontents.cxx
index 93f665939a55..00123c9459dd 100644
--- a/sw/source/ui/vba/vbatablesofcontents.cxx
+++ b/sw/source/ui/vba/vbatablesofcontents.cxx
@@ -143,8 +143,6 @@ SwVbaTablesOfContents::Add( const uno::Reference< word::XRange >& Range, const u
xToc->setUseFields( bUseFields );
sal_Bool bUseOutlineLevels = sal_True;
- //if( UseOutlineLevels.hasValue() )
- // UseOutlineLevels >>= bUseOutlineLevels;
xToc->setUseOutlineLevels( bUseOutlineLevels );
SwVbaRange* pVbaRange = dynamic_cast<SwVbaRange*>( Range.get() );