diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-20 12:59:29 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-20 13:03:53 +0200 |
commit | b015275f78887301d2d366c9cf218558bf430949 (patch) | |
tree | a51aaf7782b996e6b66000fff0a5dc64d350fb4a /basic | |
parent | 2ba63e7dab847cdd04feba68122b5cf4a61aa784 (diff) |
Change version string displayed in VCLTestTool's About dialog
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/app/basic.src | 1 | ||||
-rw-r--r-- | basic/source/app/dialogs.cxx | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/app/basic.src b/basic/source/app/basic.src index 754b35e1b56f..8a1d73d0589c 100644 --- a/basic/source/app/basic.src +++ b/basic/source/app/basic.src @@ -84,7 +84,6 @@ ModalDialog IDD_TT_ABOUT_DIALOG { FixedText RID_VERSIONSTRING { Pos = MAP_APPFONT( 5, 25 ); Size = MAP_APPFONT( 110, 10 ); - Text = UPDVER; CENTER = TRUE; }; FixedText 4 { diff --git a/basic/source/app/dialogs.cxx b/basic/source/app/dialogs.cxx index e729bf79f4f0..f326c5321552 100644 --- a/basic/source/app/dialogs.cxx +++ b/basic/source/app/dialogs.cxx @@ -47,7 +47,7 @@ #include <vcl/splitwin.hxx> #include <svl/zformat.hxx> #include <svtools/ctrltool.hxx> - +#include <unotools/bootstrap.hxx> #include <svtools/svtdata.hxx> #include <svl/solar.hrc> @@ -73,6 +73,8 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& id ) , aOk ( this, ResId( RID_OK, *id.GetResMgr() ) ) { FreeResource(); + rtl::OUString sDefault; + aVersionString.SetText( utl::Bootstrap::getBuildIdData( sDefault ) ); } |