summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbastyles.cxx
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2009-09-23 14:06:30 +0000
committerNoel Power <npower@openoffice.org>2009-09-23 14:06:30 +0000
commit7f8c9a392962e4c8b98eaf96e96c80ae7c7a743f (patch)
tree0a0d6b900c23deb48a6a18eb9099b85069ac4c0c /sw/source/ui/vba/vbastyles.cxx
parent9b3ef2534c7f496a69a5944ade0c07a284a6da55 (diff)
warnings as errors
Diffstat (limited to 'sw/source/ui/vba/vbastyles.cxx')
-rw-r--r--sw/source/ui/vba/vbastyles.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx
index e595dd9bbce4..c13c884feab2 100644
--- a/sw/source/ui/vba/vbastyles.cxx
+++ b/sw/source/ui/vba/vbastyles.cxx
@@ -315,7 +315,7 @@ SwVbaStyles::Item( const uno::Any& Index1, const uno::Any& Index2 ) throw (uno::
sal_Int32 nIndex = 0;
if( ( Index1 >>= nIndex ) && ( nIndex < 0 ) )
{
- for( const BuiltinStyleTable* pTable = aBuiltinStyleTable; pTable->wdBuiltinStyle != NULL; pTable++ )
+ for( const BuiltinStyleTable* pTable = aBuiltinStyleTable; pTable != NULL; pTable++ )
{
if( nIndex == pTable->wdBuiltinStyle )
{