From acf134e19895489991d5fc088f06f69d638c5252 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 23 Jul 2012 10:47:05 +0200 Subject: -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 --- sc/inc/chartlis.hxx | 2 +- sc/inc/dpobject.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/inc') 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 TablesType; - ScDocument* pDoc; + ScDocument* mpDoc; TablesType maTables; SheetCaches maSheetCaches; NameCaches maNameCaches; -- cgit