diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 21:28:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:14 +0100 |
commit | f244fea0d6a9ebf11dede05477cc4540ccd472da (patch) | |
tree | f1d8d5b30606b20b17fb587f3494e7647b112529 /vcl/source/uipreviewer/previewer.cxx | |
parent | 851a41ff88707f72e818233afd1c6cb2cf73f481 (diff) |
make dialogs closeable in previewer
Diffstat (limited to 'vcl/source/uipreviewer/previewer.cxx')
-rw-r--r-- | vcl/source/uipreviewer/previewer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx index 23aee4a8bc56..c1f787b33030 100644 --- a/vcl/source/uipreviewer/previewer.cxx +++ b/vcl/source/uipreviewer/previewer.cxx @@ -84,6 +84,7 @@ int UIPreviewApp::Main() if (pDialog) { pDialog->SetText(rtl::OUString("LibreOffice ui-previewer")); + pDialog->SetStyle(pDialog->GetStyle()|WB_CLOSEABLE); pDialog->Execute(); } else |