summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-10-21 00:51:10 -0700
committerCaolán McNamara <caolanm@redhat.com>2013-10-21 13:20:30 +0000
commit29ef37395884c72898c77185e5e00898ad98f2c7 (patch)
treed091855f69cfdc69b01cc0d773f102deb5b75226
parent1129d2bfa825a73dc0a619fa3e45a277eaffcb86 (diff)
fdo#51639 soffice.exe --version displays a dialog box with the version number
Change-Id: I3656c005a23d291bc7cde2bc461e584df342babf Reviewed-on: https://gerrit.libreoffice.org/6362 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--desktop/source/app/cmdlinehelp.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index 41a9f300e9ba..a9ed3df8b048 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -187,6 +187,9 @@ namespace desktop
// Just re-use the help dialog for now.
CmdlineHelpDialog aDlg;
aDlg.m_pftHead->SetText(aVersionMsg);
+ aDlg.m_pftLeft->SetText("");
+ aDlg.m_pftRight->SetText("");
+ aDlg.m_pftBottom->SetText("");
aDlg.Execute();
#endif
}