diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-02 12:25:31 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-02 12:25:31 +0200 |
commit | bfac8e3f220d826d3443d7a367794a3df778d549 (patch) | |
tree | 44f2c57e5a6b10e22621155b7217dccf495ad07e | |
parent | ab46e29e1a993724a6000e82fd05514c2d34d115 (diff) |
dba33i: fix GCC warning
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 744a8e83568d..0e71a49e30de 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2285,8 +2285,8 @@ void SfxViewFrame::SaveCurrentViewData_Impl( const USHORT i_nNewViewId ) const sal_Int32 nCount = xViewData->getCount(); for ( sal_Int32 i=0; i<nCount; ++i ) { - const ::comphelper::NamedValueCollection aViewData( xViewData->getByIndex(i) ); - ::rtl::OUString sViewId( aViewData.getOrDefault( "ViewId", ::rtl::OUString() ) ); + const ::comphelper::NamedValueCollection aCurViewData( xViewData->getByIndex(i) ); + ::rtl::OUString sViewId( aCurViewData.getOrDefault( "ViewId", ::rtl::OUString() ) ); if ( sViewId.getLength() == 0 ) continue; |