diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 21:18:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:14 +0100 |
commit | 851a41ff88707f72e818233afd1c6cb2cf73f481 (patch) | |
tree | 54ba7e2a4c6c2da750a8da54a759b3774e9beaab /vcl/source | |
parent | 8ccb7fe507677704d170d45ebb735acfa48f4950 (diff) |
set a default title
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/uipreviewer/previewer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx index 7a27729f2c96..23aee4a8bc56 100644 --- a/vcl/source/uipreviewer/previewer.cxx +++ b/vcl/source/uipreviewer/previewer.cxx @@ -83,6 +83,7 @@ int UIPreviewApp::Main() Dialog *pDialog = dynamic_cast<Dialog*>(pWindow); if (pDialog) { + pDialog->SetText(rtl::OUString("LibreOffice ui-previewer")); pDialog->Execute(); } else @@ -92,7 +93,7 @@ int UIPreviewApp::Main() } catch (const uno::Exception &e) { - fprintf(stderr, "fatal error: \n", rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr()); + fprintf(stderr, "fatal error: %s\n", rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr()); } return false; |