diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-11 10:36:58 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-11 10:36:58 +0200 |
commit | dde119c8f2c40249eaea13a5acf218357f7df4b4 (patch) | |
tree | c34f1f2dda52d9221bd4e38da70016c225d37fbe /basic | |
parent | cd7bce9e3701942438e420c9dde69f44eab5fa00 (diff) |
basic/global.hxx is private to basic
Change-Id: I90a28e34eb45819e240931cd751ac0a546ea6be8
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/global.hxx | 25 | ||||
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 2 | ||||
-rw-r--r-- | basic/source/classes/global.cxx | 3 |
3 files changed, 28 insertions, 2 deletions
diff --git a/basic/inc/global.hxx b/basic/inc/global.hxx new file mode 100644 index 000000000000..640759ef8c17 --- /dev/null +++ b/basic/inc/global.hxx @@ -0,0 +1,25 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_BASIC_INC_GLOBAL_HXX +#define INCLUDED_BASIC_INC_GLOBAL_HXX + +namespace utl { + class TransliterationWrapper; +} + +class SbGlobal +{ +public: + static utl::TransliterationWrapper& GetTransliteration(); +}; + +#endif // INCLUDED_BASIC_INC_GLOBAL_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 96dc43417177..785dda6c0429 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -37,7 +37,7 @@ #include <basic/sbuno.hxx> #include <basic/basmgr.hxx> -#include <basic/global.hxx> +#include "global.hxx" #include <sbunoobj.hxx> #include "basrid.hxx" #include "sbintern.hxx" diff --git a/basic/source/classes/global.cxx b/basic/source/classes/global.cxx index c486647fb0a0..2efb9da1201d 100644 --- a/basic/source/classes/global.cxx +++ b/basic/source/classes/global.cxx @@ -7,13 +7,14 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <basic/global.hxx> #include <comphelper/processfactory.hxx> #include <i18nlangtag/lang.h> #include <rtl/instance.hxx> #include <unotools/transliterationwrapper.hxx> #include <vcl/svapp.hxx> +#include "global.hxx" + namespace { class lclTransliterationWrapper |