summaryrefslogtreecommitdiff
path: root/unotools/source/config/cacheoptions.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-01 09:23:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-01 15:21:54 +0100
commit14b332dd4d069164f16e975dfab16bd781483696 (patch)
tree2c9ef7713541b738732b332534ce4e8c2b55b123 /unotools/source/config/cacheoptions.cxx
parent8e2ee35376825cbafd52d8736b28d1dd9c86d569 (diff)
this is overly static for little gain
Diffstat (limited to 'unotools/source/config/cacheoptions.cxx')
-rw-r--r--unotools/source/config/cacheoptions.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/unotools/source/config/cacheoptions.cxx b/unotools/source/config/cacheoptions.cxx
index a7dc14b6845b..3e2ce0251970 100644
--- a/unotools/source/config/cacheoptions.cxx
+++ b/unotools/source/config/cacheoptions.cxx
@@ -330,13 +330,10 @@ void SvtCacheOptions_Impl::SetGraphicManagerObjectReleaseTime( sal_Int32 nGrfMgr
SetModified();
}
-//*****************************************************************************************************************
-// private method
-//*****************************************************************************************************************
Sequence< OUString > SvtCacheOptions_Impl::impl_GetPropertyNames()
{
- // Build static list of configuration key names.
- static const OUString pProperties[] =
+ // Build list of configuration key names.
+ const OUString pProperties[] =
{
PROPERTYNAME_WRITEROLE,
PROPERTYNAME_DRAWINGOLE,
@@ -345,7 +342,7 @@ Sequence< OUString > SvtCacheOptions_Impl::impl_GetPropertyNames()
PROPERTYNAME_GRFMGR_OBJECTRELEASE
};
// Initialize return sequence with these list ...
- static const Sequence< OUString > seqPropertyNames( pProperties, PROPERTYCOUNT );
+ const Sequence< OUString > seqPropertyNames( pProperties, PROPERTYCOUNT );
// ... and return it.
return seqPropertyNames;
}