writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 894406e640330326b7c776a8fd48fd7db35958c5 Author: Miklos Vajna <vmik...@suse.cz> Date: Tue Mar 27 10:11:24 2012 +0200 RTFFrame::getSprms: Id is a number, not an instance diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 85f70f9..a3cb434 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -3534,10 +3534,10 @@ RTFSprms RTFFrame::getSprms() for ( int i = 0, len = SAL_N_ELEMENTS(pNames); i < len; ++i ) { - Id aId = pNames[i]; + Id nId = pNames[i]; RTFValue::Pointer_t pValue; - switch ( aId ) + switch ( nId ) { case NS_ooxml::LN_CT_FramePr_x: if ( nX != 0 ) @@ -3596,7 +3596,7 @@ RTFSprms RTFFrame::getSprms() } if (pValue.get()) - sprms->push_back(make_pair(aId, pValue)); + sprms->push_back(make_pair(nId, pValue)); } RTFSprms frameprSprms; _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits