diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index cd18eb3c4397..ca082e0b2efd 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -828,18 +828,22 @@ struct ButtonOrder static int getButtonPriority(const OString &rType) { - static const size_t N_TYPES = 3; + static const size_t N_TYPES = 5; static const ButtonOrder aDiscardCancelSave[N_TYPES] = { { "/discard", 0 }, + { "/no", 0 }, { "/cancel", 1 }, - { "/save", 2 } + { "/save", 2 }, + { "/yes", 2 } }; static const ButtonOrder aSaveDiscardCancel[N_TYPES] = { { "/save", 0 }, + { "/yes", 0 }, { "/discard", 1 }, + { "/no", 1 }, { "/cancel", 2 } }; |