diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-05 00:22:28 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-05 10:38:08 +0900 |
commit | 8624906bc437b242ea0df17801bc77d0f273f32c (patch) | |
tree | 39505208fd8aded8f1d7926a8f6feec791bdb1aa /ucb | |
parent | 1d8ae0c040319ba7d969fa236b7a6bb22d0f55df (diff) |
Mark as const
Change-Id: Ia5f9724002da11da69f70bb0f71d44c3b5a19bcb
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/ext/ucpext_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/gio/gio_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/gvfs/gvfs_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/ContentProperties.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/ContentProperties.cxx | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index f15d4c120373..6de8d9490a85 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -1314,7 +1314,7 @@ namespace cmis uno::Sequence< ucb::CommandInfo > Content::getCommands( const uno::Reference< ucb::XCommandEnvironment > & xEnv ) { - static ucb::CommandInfo aCommandInfoTable[] = + static const ucb::CommandInfo aCommandInfoTable[] = { // Required commands ucb::CommandInfo diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 4e311e4feb13..b79dbe6541c9 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -208,7 +208,7 @@ namespace cmis uno::Sequence< ucb::CommandInfo > RepoContent::getCommands( const uno::Reference< ucb::XCommandEnvironment > & /*xEnv*/ ) { - static ucb::CommandInfo aCommandInfoTable[] = + static const ucb::CommandInfo aCommandInfoTable[] = { // Required commands ucb::CommandInfo diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index 9ba865081617..750da292331c 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -590,7 +590,7 @@ namespace ucb { namespace ucp { namespace ext //------------------------------------------------------------------------------------------------------------------ Sequence< Property > Content::getProperties( const Reference< XCommandEnvironment > & /*xEnv*/ ) { - static Property aProperties[] = + static const Property aProperties[] = { Property( OUString( "ContentType" ), diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 476fdcd88794..faa022bfe5f9 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -1261,7 +1261,7 @@ uno::Sequence< beans::Property > Content::getProperties( uno::Sequence< ucb::CommandInfo > Content::getCommands( const uno::Reference< ucb::XCommandEnvironment > & xEnv) { - static ucb::CommandInfo aCommandInfoTable[] = + static const ucb::CommandInfo aCommandInfoTable[] = { // Required commands ucb::CommandInfo diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx index 22c9d1aef1e2..5645cd6924fd 100644 --- a/ucb/source/ucp/gvfs/gvfs_content.cxx +++ b/ucb/source/ucp/gvfs/gvfs_content.cxx @@ -1345,7 +1345,7 @@ uno::Sequence< beans::Property > Content::getProperties( uno::Sequence< ucb::CommandInfo > Content::getCommands( const uno::Reference< ucb::XCommandEnvironment > & xEnv ) { - static ucb::CommandInfo aCommandInfoTable[] = { + static const ucb::CommandInfo aCommandInfoTable[] = { // Required commands ucb::CommandInfo ( OUString( "getCommandInfo" ), diff --git a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx index f440f6ba0b9a..5143a2caabee 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx @@ -96,7 +96,7 @@ uno::Sequence< beans::Property > HierarchyContent::getProperties( if ( isReadOnly() ) { - static beans::Property aLinkPropertyInfoTable[] = + static const beans::Property aLinkPropertyInfoTable[] = { /////////////////////////////////////////////////////////// // Required properties @@ -155,7 +155,7 @@ uno::Sequence< beans::Property > HierarchyContent::getProperties( } else { - static beans::Property aLinkPropertyInfoTable[] = + static const beans::Property aLinkPropertyInfoTable[] = { /////////////////////////////////////////////////////////// // Required properties diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx index fcc3c90d2f40..1439e0c7dc4d 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx @@ -534,7 +534,7 @@ namespace bool isCachable( OUString const & rName, bool isCaseSensitive ) { - static OUString aNonCachableProps [] = + static const OUString aNonCachableProps [] = { DAVProperties::LOCKDISCOVERY, diff --git a/ucb/source/ucp/webdav/ContentProperties.cxx b/ucb/source/ucp/webdav/ContentProperties.cxx index 0ca32557aeec..a1e78288cd56 100644 --- a/ucb/source/ucp/webdav/ContentProperties.cxx +++ b/ucb/source/ucp/webdav/ContentProperties.cxx @@ -551,7 +551,7 @@ namespace bool isCachable( OUString const & rName, bool isCaseSensitive ) { - static OUString aNonCachableProps [] = + static const OUString aNonCachableProps [] = { DAVProperties::LOCKDISCOVERY, |