summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 15:57:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-07 06:02:23 +0000
commit93bde3156284df4419c49447cbf455de9d74f00a (patch)
tree2a19f9fc266785de37d60d995792c9cdfddb723b /basic/source/runtime/methods1.cxx
parentd16e1336f0b1251c0e1ffbe171bc26ed48ea49f0 (diff)
Revert "[API CHANGE] return sal_uInt64 from GetSystemTicks in basic"
This reverts commit fce604c8ae11b462113305aba080d77f8193cfea, and fixes tdf#105735 - xray ThisComponent no longer works in the process. It turns out Basic doesn't support sal_uInt64 very well, so lets rather have a small possibility of bad timestamps instead of broken scripts. Change-Id: Ic00485bd517a4fc61e05632001c9a5f92e05ddd6 Reviewed-on: https://gerrit.libreoffice.org/33972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index f24e4268293f..c14281c4ea96 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -1415,7 +1415,7 @@ RTLFUNC(GetSystemTicks)
StarBASIC::Error( ERRCODE_BASIC_BAD_ARGUMENT );
return;
}
- rPar.Get(0)->PutUInt64( tools::Time::GetSystemTicks() );
+ rPar.Get(0)->PutLong( tools::Time::GetSystemTicks() );
}
RTLFUNC(GetPathSeparator)