diff options
Diffstat (limited to 'sw/source/ui/vba/vbatabstops.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatabstops.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbatabstops.cxx b/sw/source/ui/vba/vbatabstops.cxx index 0c2ee09dea33..2f18e784dcb8 100644 --- a/sw/source/ui/vba/vbatabstops.cxx +++ b/sw/source/ui/vba/vbatabstops.cxx @@ -207,7 +207,7 @@ uno::Reference< word::XTabStop > SAL_CALL SwVbaTabStops::Add( float Position, co style::TabStop* pOldTab = aOldTabs.getArray(); style::TabStop* pNewTab = aNewTabs.getArray(); pNewTab[0] = aTab; - for( sal_Int32 nIndex = 0; nIndex < nTabs && !bOverWriter; nIndex++ ) + for (sal_Int32 nIndex = 0; nIndex < nTabs; nIndex++) { if( pOldTab[nIndex].Position == nPosition ) { |