summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-20 11:54:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-20 11:55:06 +0100
commit959ab4d0ca1a09dce08a298e41828c377a1474ff (patch)
tree2bc811b9289cc564cbe9b02b41a463c0c339299e /l10ntools
parent539700e10aa2c7111e469820742341a4233849b6 (diff)
WaE: MSVC2008 suppress warnings in clucene headers
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/l10ntools/HelpIndexer.hxx4
-rw-r--r--l10ntools/inc/l10ntools/HelpSearch.hxx6
-rw-r--r--l10ntools/prj/d.lst1
-rw-r--r--l10ntools/source/help/HelpIndexer.cxx2
-rw-r--r--l10ntools/source/help/HelpSearch.cxx1
-rw-r--r--l10ntools/source/help/LuceneHelper.cxx2
-rw-r--r--l10ntools/source/help/LuceneHelper.hxx44
7 files changed, 5 insertions, 55 deletions
diff --git a/l10ntools/inc/l10ntools/HelpIndexer.hxx b/l10ntools/inc/l10ntools/HelpIndexer.hxx
index 28c7eb644dca..df492bb1a76e 100644
--- a/l10ntools/inc/l10ntools/HelpIndexer.hxx
+++ b/l10ntools/inc/l10ntools/HelpIndexer.hxx
@@ -31,9 +31,7 @@
#define HELPINDEXER_HXX
#include <l10ntools/dllapi.h>
-
-#include <CLucene/StdHeader.h>
-#include <CLucene.h>
+#include <l10ntools/LuceneHelper.hxx>
#include <rtl/ustring.hxx>
#include <set>
diff --git a/l10ntools/inc/l10ntools/HelpSearch.hxx b/l10ntools/inc/l10ntools/HelpSearch.hxx
index 63e2807f0a37..1a1b3c097c60 100644
--- a/l10ntools/inc/l10ntools/HelpSearch.hxx
+++ b/l10ntools/inc/l10ntools/HelpSearch.hxx
@@ -31,14 +31,12 @@
#define HELPSEARCH_HXX
#include <l10ntools/dllapi.h>
-
-#include <CLucene/StdHeader.h>
-#include <CLucene.h>
+#include <l10ntools/LuceneHelper.hxx>
#include <rtl/ustring.hxx>
#include <vector>
-class L10N_DLLPUBLIC HelpSearch {
+class L10N_DLLPUBLIC HelpSearch{
private:
rtl::OUString d_lang;
rtl::OString d_indexDir;
diff --git a/l10ntools/prj/d.lst b/l10ntools/prj/d.lst
index e9329dc93855..99aac566e3ca 100644
--- a/l10ntools/prj/d.lst
+++ b/l10ntools/prj/d.lst
@@ -47,6 +47,7 @@ mkdir: %_DEST%\bin\help\com\sun\star\help
..\inc\l10ntools\dllapi.h %_DEST%\inc\l10ntools\dllapi.h
..\inc\l10ntools\directory.hxx %_DEST%\inc\l10ntools\directory.hxx
..\inc\l10ntools\file.hxx %_DEST%\inc\l10ntools\file.hxx
+..\inc\l10ntools\LuceneHelper.hxx %_DEST%\inc\l10ntools\LuceneHelper.hxx
..\inc\l10ntools\HelpIndexer.hxx %_DEST%\inc\l10ntools\HelpIndexer.hxx
..\inc\l10ntools\HelpSearch.hxx %_DEST%\inc\l10ntools\HelpSearch.hxx
..\source\filter\merge\FCFGMerge.cfg %_DEST%\inc\l10ntools\FCFGMerge.cfg
diff --git a/l10ntools/source/help/HelpIndexer.cxx b/l10ntools/source/help/HelpIndexer.cxx
index 341346490608..608c6cb19ca7 100644
--- a/l10ntools/source/help/HelpIndexer.cxx
+++ b/l10ntools/source/help/HelpIndexer.cxx
@@ -28,8 +28,6 @@
*/
#include <l10ntools/HelpIndexer.hxx>
-#include "LuceneHelper.hxx"
-#include <CLucene/analysis/LanguageBasedAnalyzer.h>
#include <rtl/string.hxx>
#include <rtl/uri.hxx>
diff --git a/l10ntools/source/help/HelpSearch.cxx b/l10ntools/source/help/HelpSearch.cxx
index d54b278d1ea4..44c4cb669cbd 100644
--- a/l10ntools/source/help/HelpSearch.cxx
+++ b/l10ntools/source/help/HelpSearch.cxx
@@ -30,7 +30,6 @@
#include <l10ntools/HelpSearch.hxx>
#include <osl/file.hxx>
#include <osl/thread.hxx>
-#include "LuceneHelper.hxx"
#include <iostream>
diff --git a/l10ntools/source/help/LuceneHelper.cxx b/l10ntools/source/help/LuceneHelper.cxx
index bee9090cc2b7..9ab708a75b71 100644
--- a/l10ntools/source/help/LuceneHelper.cxx
+++ b/l10ntools/source/help/LuceneHelper.cxx
@@ -27,7 +27,7 @@
* instead of those above.
*/
-#include "LuceneHelper.hxx"
+#include <l10ntools/LuceneHelper.hxx>
std::vector<TCHAR> OUStringToTCHARVec(rtl::OUString const &rStr)
{
diff --git a/l10ntools/source/help/LuceneHelper.hxx b/l10ntools/source/help/LuceneHelper.hxx
deleted file mode 100644
index 53ed763d59b8..000000000000
--- a/l10ntools/source/help/LuceneHelper.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * Version: MPL 1.1 / GPLv3+ / LGPLv3+
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License or as specified alternatively below. You may obtain a copy of
- * the License at http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * Major Contributor(s):
- * Copyright (C) 2012 Gert van Valkenhoef <g.h.m.van.valkenhoef@rug.nl>
- * (initial developer)
- *
- * All Rights Reserved.
- *
- * For minor contributions see the git repository.
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
- * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
- * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
- * instead of those above.
- */
-
-#ifndef LUCENEHELPER_HXX
-#define LUCENEHELPER_HXX
-
-#include <CLucene/StdHeader.h>
-#include <CLucene.h>
-
-#include <rtl/ustring.hxx>
-#include <vector>
-
-std::vector<TCHAR> OUStringToTCHARVec(rtl::OUString const &rStr);
-rtl::OUString TCHARArrayToOUString(TCHAR const *str);
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */