diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 4 |
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 }, |