From 56a9594649872f4076b6891f917138d2b1e8d028 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 14 Nov 2015 17:23:00 +0000 Subject: 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 Reviewed-by: Michael Meeks --- toolkit/source/awt/vclxtoolkit.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'toolkit/source/awt') 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 ) -- cgit