summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:32:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-01 04:33:23 +0900
commit392c5b2a70440c03341f21c7583ca5139b4a253b (patch)
tree4d23407c3fef57af8615f592d075bf11bd6bf5bd /sfx2
parent83ff6c0f4101fe4f25c2b4a58c70b40de8cc2ff2 (diff)
Mark as const
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/iframe.cxx2
-rw-r--r--sfx2/source/doc/plugin.cxx2
-rw-r--r--sfx2/source/sidebar/Deck.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index d43d3383e3fe..9f6c15e48740 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -77,7 +77,7 @@ IFrameWindow_Impl::IFrameWindow_Impl( Window *pParent, sal_Bool bHasBorder, WinB
const SfxItemPropertyMapEntry* lcl_GetIFramePropertyMap_Impl()
{
- static SfxItemPropertyMapEntry aIFramePropertyMap_Impl[] =
+ static const SfxItemPropertyMapEntry aIFramePropertyMap_Impl[] =
{
{ MAP_CHAR_LEN("FrameIsAutoBorder"), WID_FRAME_IS_AUTO_BORDER, &::getBooleanCppuType(), PROPERTY_UNBOUND, 0 },
{ MAP_CHAR_LEN("FrameIsAutoScroll"), WID_FRAME_IS_AUTO_SCROLL, &::getBooleanCppuType(), PROPERTY_UNBOUND, 0 },
diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx
index 9a59132ccdf9..3d24f23a96b4 100644
--- a/sfx2/source/doc/plugin.cxx
+++ b/sfx2/source/doc/plugin.cxx
@@ -60,7 +60,7 @@ void PluginWindow_Impl::Resize()
#define WID_URL 3
const SfxItemPropertyMapEntry* lcl_GetPluginPropertyMap_Impl()
{
- static SfxItemPropertyMapEntry aPluginPropertyMap_Impl[] =
+ static const SfxItemPropertyMapEntry aPluginPropertyMap_Impl[] =
{
{ MAP_CHAR_LEN("PluginCommands"), WID_COMMANDS, &::getCppuType((::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >*)0), PROPERTY_UNBOUND, 0},
{ MAP_CHAR_LEN("PluginMimeType"), WID_MIMETYPE, &::getCppuType((const OUString*)0), PROPERTY_UNBOUND, 0 },
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 7aef1433b9c3..f3b23b48c2ef 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -361,7 +361,7 @@ const char* GetWindowClassification (const Window* pWindow)
}
else
{
- static char msWindow[] = "window";
+ static const char msWindow[] = "window";
return msWindow;
}
}