summaryrefslogtreecommitdiff
path: root/svl/source/items
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/poolitem.cxx10
-rw-r--r--svl/source/items/style.cxx4
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