diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-23 10:47:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-23 10:47:05 +0200 |
commit | acf134e19895489991d5fc088f06f69d638c5252 (patch) | |
tree | cf7d6d30684e4f75352dd5c2dab77a9cd3f3b28b /sc/inc | |
parent | 4d05a50182587ee2c63b6911206cbd6c3287c180 (diff) |
-Werror,-Wshadow (Clang 3.1)
...where a local variable in a nested class shadows a member of an outer class.
Fixed by renaming the relevant outer class members as "m..."
Change-Id: I6caa33914ff1060e08f66eadde879fb7b4e3e7cc
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/chartlis.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dpobject.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 2dff0c2dfc98..96f8c731ad00 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -78,7 +78,7 @@ private: rtl::OUString maName; ScChartUnoData* pUnoData; - ScDocument* pDoc; + ScDocument* mpDoc; bool bUsed:1; // for ScChartListenerCollection::FreeUnused bool bDirty:1; bool bSeriesRangesScheduled:1; diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index e163ef1cb82c..06ad5374b4fb 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -422,7 +422,7 @@ private: private: typedef ::boost::ptr_vector<ScDPObject> TablesType; - ScDocument* pDoc; + ScDocument* mpDoc; TablesType maTables; SheetCaches maSheetCaches; NameCaches maNameCaches; |