summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 13:57:58 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:13:25 -0500
commite48ea72a2fb8099145a260e691461be3cc0323f5 (patch)
tree14ab8622f35b0286ad2ec9192d9f34283157b527
parentc4e782743b085731fe5ab03dcf0a431fed7bae61 (diff)
A little cleanup.
-rw-r--r--sc/source/filter/excel/excimp8.cxx8
-rw-r--r--sc/source/filter/excel/read.cxx2
-rw-r--r--sc/source/filter/inc/excimp8.hxx12
3 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 247af73cdef5..7101c48a0d33 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -292,13 +292,13 @@ void ImportExcel8::Scenman( void )
aIn.Ignore( 4 );
aIn >> nLastDispl;
- aScenList.nLastScenario = nLastDispl;
+ maScenList.nLastScenario = nLastDispl;
}
void ImportExcel8::Scenario( void )
{
- aScenList.aEntries.push_back( new ExcScenario( aIn, *pExcRoot ) );
+ maScenList.aEntries.push_back( new ExcScenario( aIn, *pExcRoot ) );
}
@@ -409,11 +409,11 @@ void ImportExcel8::PostDocLoad( void )
ImportExcel::PostDocLoad();
// Scenarien bemachen! ACHTUNG: Hier wird Tabellen-Anzahl im Dokument erhoeht!!
- if( !pD->IsClipboard() && aScenList.aEntries.size() )
+ if( !pD->IsClipboard() && maScenList.aEntries.size() )
{
pD->UpdateChartListenerCollection(); // references in charts must be updated
- aScenList.Apply( GetRoot() );
+ maScenList.Apply( GetRoot() );
}
// read doc info (no docshell while pasting from clipboard)
diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx
index 8273c1c972b6..d389402154f3 100644
--- a/sc/source/filter/excel/read.cxx
+++ b/sc/source/filter/excel/read.cxx
@@ -1264,7 +1264,7 @@ FltError ImportExcel8::Read( void )
CodeNames.push_back( sTmpName );
// Record those we have created so they can be created in
// basic
- AutoGeneratedCodeNames.push_back( sTmpName );
+ maAutoGeneratedCodeNames.push_back( sTmpName );
break;
}
}
diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx
index 81761c9a8d79..0e14fea7c9d0 100644
--- a/sc/source/filter/inc/excimp8.hxx
+++ b/sc/source/filter/inc/excimp8.hxx
@@ -60,12 +60,6 @@ public:
virtual FltError Read( void );
-protected:
- // represents codename ( and associated modules )
- // not speficied directly in the binary format
- std::vector< String > AutoGeneratedCodeNames;
- ExcScenarioList aScenList;
-
void Calccount( void ); // 0x0C
void Precision( void ); // 0x0E
void Delta( void ); // 0x10
@@ -88,6 +82,12 @@ protected:
private:
void LoadDocumentProperties();
+
+private:
+ // represents codename ( and associated modules )
+ // not speficied directly in the binary format
+ std::vector<rtl::OUString> maAutoGeneratedCodeNames;
+ ExcScenarioList maScenList;
};