summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-06-19 22:39:34 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-06-19 22:41:26 +0900
commit1ae19c8e6a1651748eb47cc0b8de3c58503cc7eb (patch)
treed0178f621b83409f4f400533a86620ea61c04e76 /vcl
parent913d6fb1cc0f9fa879b330d1322f8a19dfc050aa (diff)
Mark as static
Change-Id: I09a76b4c6ad0e63663c2628e5ad957d203e0283c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 78d7e820ff2c..be28fff48d96 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -603,9 +603,9 @@ struct ButtonOrder
int m_nPriority;
};
-int getButtonPriority(const OString &rType)
+static int getButtonPriority(const OString &rType)
{
- const size_t N_TYPES = 3;
+ static const size_t N_TYPES = 3;
static const ButtonOrder aDiscardCancelSave[N_TYPES] =
{
{ "/discard", 0 },