From bb406680cebd6fa1e1bdb9e2de430cd9a1f44da0 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 20 Sep 2017 20:04:51 +0300 Subject: Put definition of _CRT_RAND_S into bin/update_pch so it doesn't get removed again from sal/inc/pch/precompiled_sal.hxx (see commit 4af9612f2be9e023e762831207cbdb1d5f25906f). Also make necessary changes to some of the files that start to fail building after running bin/update_pch.sh, so that the patch is self-contained and leaves the tree in fully functional state. tools namespace had to be prepended with :: to disambiguate from drawinglayer::tools vcl/inc/window.h includes were amended, because ExtTextInputAttr is from vcl/commandevent.hxx, and enum class ShowTrackFlags is from vcl/window.hxx Change-Id: I47179622350754cba2f95d26a1bafd3dfbbc935b Reviewed-on: https://gerrit.libreoffice.org/42559 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- svx/inc/uiobject.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx/inc') diff --git a/svx/inc/uiobject.hxx b/svx/inc/uiobject.hxx index e0baae6815b0..331893520490 100644 --- a/svx/inc/uiobject.hxx +++ b/svx/inc/uiobject.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef INCLUDED_SVX_INC_UIOBJECT_HXX +#define INCLUDED_SVX_INC_UIOBJECT_HXX + #include #include @@ -32,4 +35,6 @@ protected: OUString get_name() const override; }; +#endif // INCLUDED_SVX_INC_UIOBJECT_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit