summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uipreviewer')
-rw-r--r--vcl/source/uipreviewer/previewer.cxx3
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;