summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-03-27 10:11:24 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-03-27 11:33:07 +0200
commit894406e640330326b7c776a8fd48fd7db35958c5 (patch)
tree1183c669b682b9370e4887d229fa76a5daf40a71 /writerfilter
parent077e711b5f5f19fceed44e2d992bf5c027e75ab6 (diff)
RTFFrame::getSprms: Id is a number, not an instance
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 85f70f9b8a96..a3cb4346bc31 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;