From 5abc669599001bf888b97c4d3c2715e1fb7523b9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Apr 2016 10:34:01 +0200 Subject: new plugin stylepolice check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10 --- sd/source/ui/framework/factories/BasicViewFactory.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sd/source/ui/framework') diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index 7f40961e1be6..3c8cc0291881 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -448,20 +448,20 @@ bool BasicViewFactory::IsCacheable (const std::shared_ptr& rpDes Reference xResource (rpDescriptor->mxView, UNO_QUERY); if (xResource.is()) { - static ::std::vector > maCacheableResources; - if (maCacheableResources.empty() ) + static ::std::vector > s_aCacheableResources; + if (s_aCacheableResources.empty() ) { std::shared_ptr pHelper (FrameworkHelper::Instance(*mpBase)); // The slide sorter and the task panel are cacheable and relocatable. - maCacheableResources.push_back(FrameworkHelper::CreateResourceId( + s_aCacheableResources.push_back(FrameworkHelper::CreateResourceId( FrameworkHelper::msSlideSorterURL, FrameworkHelper::msLeftDrawPaneURL)); - maCacheableResources.push_back(FrameworkHelper::CreateResourceId( + s_aCacheableResources.push_back(FrameworkHelper::CreateResourceId( FrameworkHelper::msSlideSorterURL, FrameworkHelper::msLeftImpressPaneURL)); } ::std::vector >::const_iterator iId; - for (iId=maCacheableResources.begin(); iId!=maCacheableResources.end(); ++iId) + for (iId=s_aCacheableResources.begin(); iId!=s_aCacheableResources.end(); ++iId) { if ((*iId)->compareTo(rpDescriptor->mxViewId) == 0) { -- cgit