diff options
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/all/utility.cxx | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sal/osl/all/utility.cxx b/sal/osl/all/utility.cxx index 98bc12f47090..a84111ce7c36 100644 --- a/sal/osl/all/utility.cxx +++ b/sal/osl/all/utility.cxx @@ -17,7 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "osl/time.h" +#include <osl/lok.hxx> +#include <osl/time.h> /* * mfe : maybe it would be wishful to include initialization @@ -45,5 +46,22 @@ public: static OGlobalTimer aGlobalTimer; +namespace LibreOfficeKit +{ + +static bool bActive(false); + +void setActive() +{ + bActive = true; } + +bool isActive() +{ + return bActive; +} + +} // namespace LibreOfficeKit +} // namespace osl + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |