summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-11-14 17:23:00 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-11-23 11:18:08 +0000
commit56a9594649872f4076b6891f917138d2b1e8d028 (patch)
tree2d14083e97fae7de29162e6002d6a7f2da08ffd3 /toolkit
parent91cbbb7797f048834b51690e9fab60aa778b1e44 (diff)
Update-check, expand to allow reporting of H/W and OS versions.
Off by default. Expand config options to show the user agent used. Re-use this to show more useful info in Help->About too. Change-Id: I1044116ef9beeb341a537c0f4451dca54e198f67 Reviewed-on: https://gerrit.libreoffice.org/20098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index a763df17b8ff..a1100a866069 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -194,6 +194,8 @@ public:
// css::awt::XToolkitExperimental
virtual void SAL_CALL processEventsToIdle()
throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getHWOSConfInfo()
+ throw (::css::uno::RuntimeException, ::std::exception) override;
// css::awt::XToolkit
css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getDesktopWindow( ) throw(css::uno::RuntimeException, std::exception) override;
@@ -1913,6 +1915,13 @@ void SAL_CALL VCLXToolkit::processEventsToIdle()
Scheduler::ProcessTaskScheduling(false);
}
+OUString SAL_CALL VCLXToolkit::getHWOSConfInfo()
+ throw (::css::uno::RuntimeException, ::std::exception)
+{
+ SolarMutexGuard aSolarGuard;
+ return Application::GetHWOSConfInfo();
+}
+
// css:awt:XToolkitRobot
void SAL_CALL VCLXToolkit::keyPress( const css::awt::KeyEvent & aKeyEvent )