1*3b8558fdSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*3b8558fdSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*3b8558fdSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*3b8558fdSAndrew Rist * distributed with this work for additional information 6*3b8558fdSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*3b8558fdSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*3b8558fdSAndrew Rist * "License"); you may not use this file except in compliance 9*3b8558fdSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*3b8558fdSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*3b8558fdSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*3b8558fdSAndrew Rist * software distributed under the License is distributed on an 15*3b8558fdSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3b8558fdSAndrew Rist * KIND, either express or implied. See the License for the 17*3b8558fdSAndrew Rist * specific language governing permissions and limitations 18*3b8558fdSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*3b8558fdSAndrew Rist *************************************************************/ 21*3b8558fdSAndrew Rist 22*3b8558fdSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove 25cdf0e10cSrcweir #include "precompiled_linguistic.hxx" 26cdf0e10cSrcweir #include <tools/debug.hxx> 27cdf0e10cSrcweir #include <osl/mutex.hxx> 28cdf0e10cSrcweir 29cdf0e10cSrcweir #include <linguistic/misc.hxx> 30cdf0e10cSrcweir 31cdf0e10cSrcweir #include "thesdta.hxx" 32cdf0e10cSrcweir 33cdf0e10cSrcweir //using namespace utl; 34cdf0e10cSrcweir using namespace osl; 35cdf0e10cSrcweir using namespace rtl; 36cdf0e10cSrcweir using namespace com::sun::star; 37cdf0e10cSrcweir using namespace com::sun::star::beans; 38cdf0e10cSrcweir using namespace com::sun::star::lang; 39cdf0e10cSrcweir using namespace com::sun::star::uno; 40cdf0e10cSrcweir using namespace com::sun::star::linguistic2; 41cdf0e10cSrcweir using namespace linguistic; 42cdf0e10cSrcweir 43cdf0e10cSrcweir 44cdf0e10cSrcweir namespace linguistic 45cdf0e10cSrcweir { 46cdf0e10cSrcweir 47cdf0e10cSrcweir /////////////////////////////////////////////////////////////////////////// 48cdf0e10cSrcweir 49cdf0e10cSrcweir 50cdf0e10cSrcweir ThesaurusMeaning::ThesaurusMeaning(const OUString &rText, 51cdf0e10cSrcweir const OUString &rLookUpText, sal_Int16 nLookUpLang ) : 52cdf0e10cSrcweir aText (rText), 53cdf0e10cSrcweir aLookUpText (rLookUpText), 54cdf0e10cSrcweir nLookUpLanguage (nLookUpLang) 55cdf0e10cSrcweir { 56cdf0e10cSrcweir } 57cdf0e10cSrcweir 58cdf0e10cSrcweir ThesaurusMeaning::~ThesaurusMeaning() 59cdf0e10cSrcweir { 60cdf0e10cSrcweir } 61cdf0e10cSrcweir 62cdf0e10cSrcweir OUString SAL_CALL 63cdf0e10cSrcweir ThesaurusMeaning::getMeaning() throw(RuntimeException) 64cdf0e10cSrcweir { 65cdf0e10cSrcweir MutexGuard aGuard( GetLinguMutex() ); 66cdf0e10cSrcweir return aText; 67cdf0e10cSrcweir } 68cdf0e10cSrcweir 69cdf0e10cSrcweir /* 70cdf0e10cSrcweir uno::Sequence< OUString > SAL_CALL ThesaurusMeaning::querySynonyms() 71cdf0e10cSrcweir throw(RuntimeException) 72cdf0e10cSrcweir { 73cdf0e10cSrcweir } 74cdf0e10cSrcweir */ 75cdf0e10cSrcweir 76cdf0e10cSrcweir /////////////////////////////////////////////////////////////////////////// 77cdf0e10cSrcweir 78cdf0e10cSrcweir } // namespace linguistic 79cdf0e10cSrcweir 80