From e7b35ed3e36dc04d7544ca8fc0ac18141dec91cb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 9 Jan 2017 15:40:42 +0100 Subject: [PATCH] New loplugin:externvar: svl Change-Id: Ib8a198c52aa6b92d602e0477d4af7e30f5d5baee --- svl/source/items/poolitem.cxx | 10 +++++----- svl/source/items/style.cxx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index e5472063a418..d23bbe26a3a9 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -28,11 +28,11 @@ #if OSL_DEBUG_LEVEL > 0 static sal_uLong nItemCount = 0; -const char* pw1 = "Wow! 10.000 items!"; -const char* pw2 = "Wow! 100.000 items!"; -const char* pw3 = "Wow! 1.000.000 items!"; -const char* pw4 = "Wow! 50.000.000 items!"; -const char* pw5 = "Wow! 10.000.000 items!"; +static const char* pw1 = "Wow! 10.000 items!"; +static const char* pw2 = "Wow! 100.000 items!"; +static const char* pw3 = "Wow! 1.000.000 items!"; +static const char* pw4 = "Wow! 50.000.000 items!"; +static const char* pw5 = "Wow! 10.000.000 items!"; #endif SfxPoolItem::SfxPoolItem(sal_uInt16 const nWhich) diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index f979c1bdbe7a..e169c4521dec 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -54,9 +54,9 @@ public: sal_uInt32 mnStyles; sal_uInt32 mnPools; -} -aDbgStyleSheetReferences; +}; +static DbgStyleSheetReferences aDbgStyleSheetReferences; #endif