summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-07-27 10:05:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-07-27 10:07:31 +0900
commit826be413d6f3242ee5c5672ca0f1f2f8ac6b417a (patch)
treedb61d13981d07bca8f16813e358c106762b558ec /extensions
parentd976a9d3eea065f116d7ee17731fa68a9ea1b5c1 (diff)
Mark as const/static
Change-Id: I9000ea607e1df140ac18d59f7c4d4abd999c71d1
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/bibload.cxx2
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx
index 29b7f6c4f492..9d6c6e7c08a4 100644
--- a/extensions/source/bibliography/bibload.cxx
+++ b/extensions/source/bibliography/bibload.cxx
@@ -579,7 +579,7 @@ sal_Bool BibliographyLoader::hasElements(void) throw ( RuntimeException )
Reference< XPropertySetInfo > BibliographyLoader::getPropertySetInfo(void) throw
( RuntimeException )
{
- static SfxItemPropertyMapEntry aBibProps_Impl[] =
+ static const SfxItemPropertyMapEntry aBibProps_Impl[] =
{
{ MAP_CHAR_LEN("BibliographyDataFieldNames"), 0, &::getCppuType((Sequence<PropertyValue>*)0), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index b324eda9ad10..d3d670aab8ad 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -181,7 +181,7 @@ namespace pcr
sal_Int32 nPropNameLength;
};
- static LanguageDependentProp aLanguageDependentProp[] =
+ static const LanguageDependentProp aLanguageDependentProp[] =
{
{ "Text", 4 },
{ "Label", 5 },
@@ -198,7 +198,7 @@ namespace pcr
{
bool bRet = false;
- LanguageDependentProp* pLangDepProp = aLanguageDependentProp;
+ const LanguageDependentProp* pLangDepProp = aLanguageDependentProp;
while( pLangDepProp->pPropName != 0 )
{
if( aName.equalsAsciiL( pLangDepProp->pPropName, pLangDepProp->nPropNameLength ))