summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/xmlstyli.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-28 20:16:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-28 20:17:05 +0200
commit8e94ac21b72145d59992eaee4fbbd065e597b3d6 (patch)
tree3ca9913e2590a65b3f32bb1ba28fa5473eb9d329 /sc/source/filter/xml/xmlstyli.cxx
parentfetime of mpCondFormat is more complex, fdo#55379 (diff)
downloadcore-8e94ac21b72145d59992eaee4fbbd065e597b3d6.tar.gz
core-8e94ac21b72145d59992eaee4fbbd065e597b3d6.zip
use a as prefix for local variables
Change-Id: Id4652eb986c02044e27cd4e91863d5ed97465860
Diffstat (limited to 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 2b6c58b2615e..687c841b27b4 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -428,13 +428,13 @@ void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddres
if(!mpCondFormat || GetScImport().HasNewCondFormatData())
return;
- ScRangeList rRange;
+ ScRangeList aRangeList;
sal_Int32 nRanges = xCellRanges.getLength();
for(sal_Int32 i = 0; i < nRanges; ++i)
{
table::CellRangeAddress aAddress = xCellRanges[i];
ScRange aRange( aAddress.StartColumn, aAddress.StartRow, aAddress.Sheet, aAddress.EndColumn, aAddress.EndRow, aAddress.Sheet );
- rRange.Join( aRange, false );
+ aRangeList.Join( aRange, false );
}
ScDocument* pDoc = GetScImport().GetDocument();
@@ -447,17 +447,17 @@ void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddres
{
ScRangeList& rRangeList = itr->GetRangeList();
sal_uInt32 nCondId = itr->GetKey();
- size_t n = rRange.size();
+ size_t n = aRangeList.size();
for(size_t i = 0; i < n; ++i)
{
- const ScRange* pRange = rRange[i];
+ const ScRange* pRange = aRangeList[i];
rRangeList.Join(*pRange);
}
ScPatternAttr aPattern( pDoc->GetPool() );
aPattern.GetItemSet().Put( SfxUInt32Item( ATTR_CONDITIONAL, nCondId ) );
ScMarkData aMarkData;
- aMarkData.MarkFromRangeList(rRange, true);
+ aMarkData.MarkFromRangeList(aRangeList, true);
pDoc->ApplySelectionPattern( aPattern , aMarkData);
break;
@@ -469,12 +469,12 @@ void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddres
mbDeleteCondFormat = false;
sal_uLong nIndex = pDoc->AddCondFormat(mpCondFormat, nTab );
mpCondFormat->SetKey(nIndex);
- mpCondFormat->AddRange(rRange);
+ mpCondFormat->AddRange(aRangeList);
ScPatternAttr aPattern( pDoc->GetPool() );
aPattern.GetItemSet().Put( SfxUInt32Item( ATTR_CONDITIONAL, nIndex ) );
ScMarkData aMarkData;
- aMarkData.MarkFromRangeList(rRange, true);
+ aMarkData.MarkFromRangeList(aRangeList, true);
pDoc->ApplySelectionPattern( aPattern , aMarkData);
}