diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2014-10-12 14:49:43 -0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-23 14:38:27 +0000 |
commit | 2e52086aa0428b61111d9954a6af34febd75addb (patch) | |
tree | 77192db92890288506dc47dc9f758e980c318255 /basic | |
parent | e87a0ca94b173272f90242c2929b2a0d141acf40 (diff) |
fdo#60689: replace SUPD variable
Change-Id: Iad63330f8762b595ba5ee94fc20bc2c64ac92f6b
Reviewed-on: https://gerrit.libreoffice.org/11937
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods1.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 9b1ae18f87f3..acae16eda86f 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -20,6 +20,7 @@ #include <config_features.h> #include <sal/config.h> +#include <config_version.h> #include <cstddef> @@ -735,7 +736,7 @@ RTLFUNC(GetSolarVersion) (void)pBasic; (void)bWrite; - rPar.Get(0)->PutLong( (sal_Int32)SUPD ); + rPar.Get(0)->PutLong( LIBO_VERSION_MAJOR * 10000 + LIBO_VERSION_MINOR * 100 + LIBO_VERSION_MICRO * 1); } RTLFUNC(TwipsPerPixelX) |