diff options
author | jp <jp@openoffice.org> | 2000-11-20 13:50:21 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-11-20 13:50:21 +0000 |
commit | c8b9af9129fc0733a4d1d26e40177a5bfe9e59ea (patch) | |
tree | 2d7ba28edabb3289834ef2cd65900cd9368f5b48 | |
parent | c2b32c16a4f365bb69b8f88febb342a3ba076144 (diff) |
BreakIterator moved to i18n
-rw-r--r-- | sw/source/core/bastyp/breakit.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sw/source/core/bastyp/breakit.cxx b/sw/source/core/bastyp/breakit.cxx index 3948e9b308b9..57d4a1b32cdd 100644 --- a/sw/source/core/bastyp/breakit.cxx +++ b/sw/source/core/bastyp/breakit.cxx @@ -2,9 +2,9 @@ * * $RCSfile: breakit.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: tl $ $Date: 2000-10-27 11:50:18 $ + * last change: $Author: jp $ $Date: 2000-11-20 14:50:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,8 +65,12 @@ #pragma hdrstop -#include "breakit.hxx" -#include "viewsh.hxx" +#ifndef _BREAKIT_HXX +#include <breakit.hxx> +#endif +#ifndef _VIEWSH_HXX +#include <viewsh.hxx> +#endif #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_ #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -80,7 +84,7 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::text; +using namespace ::com::sun::star::i18n; SwBreakIt::SwBreakIt() @@ -88,7 +92,7 @@ SwBreakIt::SwBreakIt() _GetLocale( LANGUAGE_NONE ); Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory(); Reference < XInterface > xI = xMSF->createInstance( - ::rtl::OUString::createFromAscii( "com.sun.star.text.BreakIterator" ) ); + ::rtl::OUString::createFromAscii( "com.sun.star.i18n.BreakIterator" ) ); if ( xI.is() ) { Any x = xI->queryInterface( ::getCppuType((const Reference< XBreakIterator >*)0) ); |