[Libreoffice-commits] .: basic/source
Matus Kukan
mkukan at kemper.freedesktop.org
Wed Jul 20 04:04:39 PDT 2011
basic/source/app/basic.src | 1 -
basic/source/app/dialogs.cxx | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit f67cc596847af9a006eb3568a55339ac6db0b202
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Wed Jul 20 12:59:29 2011 +0200
Change version string displayed in VCLTestTool's About dialog
diff --git a/basic/source/app/basic.src b/basic/source/app/basic.src
index 4402142..3d75023 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 d0221bb..4747ed0 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 ) );
}
More information about the Libreoffice-commits
mailing list