summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-21 23:15:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:03 +0100
commit8df9025eac81d8a65162c396d28d176c084d16b3 (patch)
tree0aa2b9deeb3d08f2710b5bec4cfd8dcf3b85308e /linguistic
parent0dc2cea61fb42e1e7fb98f5913f52241c8ed2836 (diff)
callcatcher: remove unused code
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/Library_lng.mk1
-rw-r--r--linguistic/inc/thesdta.hxx84
-rw-r--r--linguistic/source/thesdta.cxx82
3 files changed, 0 insertions, 167 deletions
diff --git a/linguistic/Library_lng.mk b/linguistic/Library_lng.mk
index 69f48edea7d6..847988108782 100644
--- a/linguistic/Library_lng.mk
+++ b/linguistic/Library_lng.mk
@@ -85,7 +85,6 @@ $(eval $(call gb_Library_add_exception_objects,lng,\
linguistic/source/spelldsp \
linguistic/source/spelldta \
linguistic/source/thesdsp \
- linguistic/source/thesdta \
))
# vim: set noet sw=4 ts=4:
diff --git a/linguistic/inc/thesdta.hxx b/linguistic/inc/thesdta.hxx
deleted file mode 100644
index f6922dacc4fa..000000000000
--- a/linguistic/inc/thesdta.hxx
+++ /dev/null
@@ -1,84 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _LINGUISTIC_THESDTA_HXX_
-#define _LINGUISTIC_THESDTA_HXX_
-
-
-#include <com/sun/star/linguistic2/XMeaning.hpp>
-
-#include <uno/lbnames.h> // CPPU_CURRENT_LANGUAGE_BINDING_NAME macro, which specify the environment type
-#include <cppuhelper/implbase1.hxx> // helper for implementations
-
-
-namespace linguistic
-{
-
-
-
-class ThesaurusMeaning :
- public cppu::WeakImplHelper1
- <
- ::com::sun::star::linguistic2::XMeaning
- >
-{
-
-protected:
- ::rtl::OUString aText; // one of the found 'meanings' for the looked up text
- ::rtl::OUString aLookUpText; // text that was looked up in the thesaurus
- sal_Int16 nLookUpLanguage; // language of the text that was looked up
-
- // disallow copy-constructor and assignment-operator for now
- ThesaurusMeaning(const ThesaurusMeaning &);
- ThesaurusMeaning & operator = (const ThesaurusMeaning &);
-
-public:
- ThesaurusMeaning(const ::rtl::OUString &rText,
- const ::rtl::OUString &rLookUpText, sal_Int16 nLookUpLang );
- virtual ~ThesaurusMeaning();
-
- // XMeaning
- virtual ::rtl::OUString SAL_CALL
- getMeaning()
- throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
- querySynonyms()
- throw(::com::sun::star::uno::RuntimeException) = 0;
-
- // non-interface specific functions
- const ::rtl::OUString & getLookUpText() const { return aLookUpText; }
- short getLookUpLanguage() const { return nLookUpLanguage; }
-};
-
-
-
-} // namespace linguistic
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/linguistic/source/thesdta.cxx b/linguistic/source/thesdta.cxx
deleted file mode 100644
index 218e5ce2af89..000000000000
--- a/linguistic/source/thesdta.cxx
+++ /dev/null
@@ -1,82 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_linguistic.hxx"
-#include <tools/debug.hxx>
-#include <osl/mutex.hxx>
-
-#include <linguistic/misc.hxx>
-
-#include "thesdta.hxx"
-
-using namespace osl;
-using namespace com::sun::star;
-using namespace com::sun::star::beans;
-using namespace com::sun::star::lang;
-using namespace com::sun::star::uno;
-using namespace com::sun::star::linguistic2;
-using namespace linguistic;
-
-using ::rtl::OUString;
-
-namespace linguistic
-{
-
-
-
-ThesaurusMeaning::ThesaurusMeaning(const OUString &rText,
- const OUString &rLookUpText, sal_Int16 nLookUpLang ) :
- aText (rText),
- aLookUpText (rLookUpText),
- nLookUpLanguage (nLookUpLang)
-{
-}
-
-ThesaurusMeaning::~ThesaurusMeaning()
-{
-}
-
-OUString SAL_CALL
- ThesaurusMeaning::getMeaning() throw(RuntimeException)
-{
- MutexGuard aGuard( GetLinguMutex() );
- return aText;
-}
-
-/*
-uno::Sequence< OUString > SAL_CALL ThesaurusMeaning::querySynonyms()
- throw(RuntimeException)
-{
-}
-*/
-
-
-} // namespace linguistic
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */