summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-26 17:51:23 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-27 13:34:23 +0200
commit6fcac7dfc4f2ad85e08aea781cfab28443e3781e (patch)
treefbbf82cb46dde6f13b6f5f11664c2c908b5709e1 /sw
parente5c28b86bed03c70bbe3054ccfcc6cb96291c580 (diff)
Remove unused include files
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/fldinit.hxx39
-rw-r--r--sw/inc/inetfld.hxx108
-rw-r--r--sw/inc/newhdl.hxx64
-rw-r--r--sw/inc/pageiter.hxx46
-rw-r--r--sw/inc/redlnaut.hxx48
-rw-r--r--sw/inc/swgstr.hxx152
-rw-r--r--sw/source/core/inc/drawdev.hxx115
-rw-r--r--sw/source/core/inc/toxhlp.hxx78
-rw-r--r--sw/source/filter/inc/fltbase.hxx118
-rw-r--r--sw/source/ui/inc/cfgdesc.hxx62
10 files changed, 0 insertions, 830 deletions
diff --git a/sw/inc/fldinit.hxx b/sw/inc/fldinit.hxx
deleted file mode 100644
index 5252e038923b..000000000000
--- a/sw/inc/fldinit.hxx
+++ /dev/null
@@ -1,39 +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 _FLDINIT_HXX
-#define _FLDINIT_HXX
-
-//Table for FieldInfo.
-
-void InitFieldInfo();
-void FinitFieldInfo();
-
-
-#endif // _FLDINIT_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/inetfld.hxx b/sw/inc/inetfld.hxx
deleted file mode 100644
index d0e4047e96db..000000000000
--- a/sw/inc/inetfld.hxx
+++ /dev/null
@@ -1,108 +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 SW_INETFLD_HXX
-#define SW_INETFLD_HXX
-
-
-#include "fldbas.hxx"
-
-class SvxMacro;
-class SvxMacroTableDtor;
-class SwINetField;
-class SwCharFmt;
-class SwDoc;
-
-// InterNet-FieldType -> Load document with URL
-
-class SwINetFieldType : public SwFieldType
-{
- SwDepend aNormalFmt;
- SwDepend aVisitFmt;
- SwDoc* pDoc;
-
-public:
- SwINetFieldType( SwDoc* pDoc );
-
- virtual SwFieldType* Copy() const;
-
- SwCharFmt* GetCharFmt( const SwINetField& rFld );
-
- SwDoc* GetDoc() const { return pDoc; }
-};
-
-
-// InterNet-Field -> Load document with URL
-
-class SwINetField : public SwField
-{
- friend class SwINetFieldType;
-
- String sTargetFrameName; // Frame to put the URL.
- String sURL;
- String sText;
- SvxMacroTableDtor* pMacroTbl;
-
- virtual String Expand() const;
- virtual SwField* Copy() const;
-
-public:
- // Direct input, delete old value.
- SwINetField( SwINetFieldType* pTyp, sal_uInt16 nFmt,
- const String& rURL, const String& rText );
- virtual ~SwINetField();
-
- virtual String GetFieldName() const;
-
- // URL
- virtual const rtl::OUString& GetPar1() const;
- virtual void SetPar1(const rtl::OUString& rStr);
-
- // Information text.
- virtual rtl::OUString GetPar2() const;
- virtual void SetPar2(const rtl::OUString& rStr);
-
- // Current character format.
- SwCharFmt* GetCharFmt();
- const SwCharFmt* GetCharFmt() const
- { return ((SwINetField*)this)->GetCharFmt(); }
-
- const String& GetTargetFrameName() const { return sTargetFrameName; }
- void SetTargetFrameName( const String& rNm ) { sTargetFrameName = rNm; }
-
- // Set new or delete old MacroTable.
- void SetMacroTbl( const SvxMacroTableDtor* pTbl = 0 );
- const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; }
-
- void SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro );
- const SvxMacro* GetMacro( sal_uInt16 nEvent ) const;
-};
-
-
-#endif // SW_INETFLD_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/newhdl.hxx b/sw/inc/newhdl.hxx
deleted file mode 100644
index c9176e2b3e91..000000000000
--- a/sw/inc/newhdl.hxx
+++ /dev/null
@@ -1,64 +0,0 @@
-/* -*- 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/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _NEWHDL_HXX
-#define _NEWHDL_HXX
-
-#include <tools/link.hxx>
-
-// ----------------------------------------------------------------------------
-
-extern void SW_NEW_HDL();
-
-class SwNewHdl
-{
- friend void SW_NEW_HDL();
-private:
- char* pWarnMem;
- char* pExceptMem;
- Link aWarnLnk;
- Link aErrLnk;
-public:
- void SetWarnLnk( const Link &rLink );
- void SetErrLnk( const Link &rLink );
-
- sal_Bool TryWarnMem();
-
- sal_Bool Flush_WarnMem();
- sal_Bool Flush_ExceptMem();
-
- SwNewHdl();
- ~SwNewHdl();
-};
-
-/******************************************************************************
- * INLINE
- ******************************************************************************/
-inline void SwNewHdl::SetWarnLnk( const Link &rLink )
-{
- aWarnLnk = rLink;
-}
-
-inline void SwNewHdl::SetErrLnk( const Link &rLink )
-{
- aErrLnk = rLink;
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/pageiter.hxx b/sw/inc/pageiter.hxx
deleted file mode 100644
index e6ebf728475c..000000000000
--- a/sw/inc/pageiter.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- 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/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _PAGEITER_HXX
-#define _PAGEITER_HXX
-
-#include <tools/solar.h>
-
-class SwDoc;
-class SwPageFrm;
-struct SwPosition;
-class SwPageDesc;
-
-class SwPageIter {
- const SwDoc &rPDoc;
- const SwPageFrm *pPage;
-
-public:
- SwPageIter( const SwDoc &rDoc, const SwPosition &rStartPos );
-
- sal_Bool IsEnd() const { return 0 == pPage; }
- sal_Bool NextPage();
- const SwPageDesc* GetPageDesc() const;
- sal_Bool Seek( const SwPosition &rPos );
- sal_Bool GetPosition( SwPosition &rPos ) const;
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/redlnaut.hxx b/sw/inc/redlnaut.hxx
deleted file mode 100644
index 4880fa26753e..000000000000
--- a/sw/inc/redlnaut.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- 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/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _REDLNAUT_HXX
-#define _REDLNAUT_HXX
-
-#include <tools/string.hxx>
-#include <tools/color.hxx>
-
-#include "swtypes.hxx"
-
-class SfxItemSet;
-class SwAttrPool;
-
-class SwRedlineAuthor
-{
- String sAuthor;
- Color aChgLineColor;
- SfxItemSet *pInsAttrSet, *pDelAttrSet, *pFmtAttrSet;
- short eChgLineOrient;
- sal_uInt8 cDelChar;
-public:
- SwRedlineAuthor( SwAttrPool& rPool, const String& );
- SwRedlineAuthor( const SwRedlineAuthor& );
- ~SwRedlineAuthor();
-
- SwRedlineAuthor& operator=( const SwRedlineAuthor& );
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/swgstr.hxx b/sw/inc/swgstr.hxx
deleted file mode 100644
index 2f3c2d7d9f6b..000000000000
--- a/sw/inc/swgstr.hxx
+++ /dev/null
@@ -1,152 +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 _SWGSTR_HXX
-#define _SWGSTR_HXX
-
-#include <tools/stream.hxx>
-
-typedef long long3; // For documentation: 3-byte-longs.
-
-#define MAX_BEGIN 64 // Maximum block nesting.
-#define PASSWDLEN 16 // Maximum password length.
-
-// New version with SvStreams.
-
-// Functionality for passwords and encoding.
-
-class swcrypter {
-protected:
- sal_Char cPasswd[ PASSWDLEN ]; // Password buffer.
- sal_Bool bPasswd; // sal_True if with password.
- void encode( sal_Char*, sal_uInt16 ); // Encode/decode buffer.
-public:
- swcrypter();
- sal_Bool setpasswd( const String& ); // Set password.
- void copypasswd( const sal_Char* ); // Set password directly.
- const sal_Char* getpasswd() { return cPasswd; }
-};
-
-// Reader/Writer-stream base class with buffer administration for texts
-// ans special I/O for 3-byte-longs.
-
-class swstreambase : public swcrypter {
-protected:
- SvStream* pStrm; // The actual stream.
- sal_Char* pBuf; // Temporary buffer.
- sal_uInt16 nBuflen; // Length of temporary buffer.
- short nLong; // Long-length (3 or 4).
- sal_Bool bTempStrm; // sal_True: delete stream.
- void checkbuf( sal_uInt16 ); // Test buffer length.
-
- swstreambase( SvStream& );
-
- swstreambase( const swstreambase& );
- int operator=( const swstreambase& );
-public:
- ~swstreambase();
- SvStream& Strm() { return *pStrm; }
- void clear(); // Delete buffer.
-
- // Supplementary functions for I/O of LONGs as 3-byte numbers.
-
- void long3() { nLong = 3; }
- void long4() { nLong = 4; }
-
-
- // Alias and helper functions.
-
- void seek( long nPos ) { pStrm->Seek( nPos ); }
- long tell() { return pStrm->Tell(); }
- long filesize();
-
- void setbad();
- int good() { return ( pStrm->GetError() == SVSTREAM_OK ); }
- int operator!() { return ( pStrm->GetError() != SVSTREAM_OK ); }
- int eof() { return pStrm->IsEof(); }
-
- sal_uInt8 get();
- void get( void* p, sal_uInt16 n ) { pStrm->Read( (sal_Char*) p, n ); }
-
- inline swstreambase& operator>>( sal_Char& );
- inline swstreambase& operator>>( sal_uInt8& );
- inline swstreambase& operator>>( short& );
- inline swstreambase& operator>>( sal_uInt16& );
- swstreambase& operator>>( long& );
- inline swstreambase& operator>>( sal_uLong& );
-};
-
-inline swstreambase& swstreambase::operator>>( sal_Char& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uInt8& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( short& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uInt16& c )
-{
- *pStrm >> c; return *this;
-}
-
-inline swstreambase& swstreambase::operator>>( sal_uLong& c )
-{
- return *this >> (long&) c;
-}
-
-class swistream : public swstreambase {
- sal_uInt8 cType; // Record type.
- sal_uLong nOffset; // Record offset portion.
-public:
- swistream( SvStream& );
-
- sal_uInt8 peek(); // Test 1 byte.
- sal_uInt8 next(); // Block start.
- sal_uInt8 cur() { return cType; } // Current block.
- sal_uInt8 skipnext(); // Skip record.
- void undonext(); // Undo next().
- long getskip() { return nOffset; }
- void skip( long = -1L ); // Skip block.
- sal_Char* text(); // Read text string (after BEGIN).
- long size(); // Current record length.
-
-private:
- swistream( const swistream& );
- int operator=( const swistream& );
-};
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/drawdev.hxx b/sw/source/core/inc/drawdev.hxx
deleted file mode 100644
index 22383d822e94..000000000000
--- a/sw/source/core/inc/drawdev.hxx
+++ /dev/null
@@ -1,115 +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 _DRAWDEV_HXX
-#define _DRAWDEV_HXX
-
-#include "swrect.hxx"
-#include <vcl/outdev.hxx>
-
-// all draw methods will be moved by offset *pPos
-class SwDrawDev
-{
- OutputDevice *pOut;
- const Point *pPos;
-
-public:
- inline SwDrawDev( OutputDevice *pOutDev, const Point *pPosition )
- :pOut(pOutDev), pPos(pPosition) { }
-
- inline OutputDevice *GetOut() { return pOut; }
-
- // output methods
- inline void DrawText( const Point& rStart, const String& rTxt,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN );
- inline void DrawStretchText( const Point& rStart, sal_uInt16 nWidth,
- const String& rTxt,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN );
- inline void DrawTextArray( const Point& rStart,
- const String& rTxt,
- long *pKernArray = 0,
- const sal_uInt16 nIdx = 0,
- const sal_uInt16 nLen = STRING_LEN);
- inline void DrawLine( const Point& rStart, const Point& rEnd );
- inline void DrawRect( const SwRect& rRect,
- const sal_uInt16 nHorzRount = 0,
- const sal_uInt16 nVertRound = 0 );
-
- inline const Point *GetOrigin() const { return pPos; }
-};
-
-// implementation
-inline void SwDrawDev::DrawText( const Point& rStart, const String& rTxt,
- const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawText( rStart, rTxt, nIdx, nLen );
- else
- pOut->DrawText( rStart - *pPos, rTxt, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawStretchText( const Point& rStart, sal_uInt16 nWidth,
- const String& rTxt, const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawStretchText( rStart, nWidth, rTxt, nIdx, nLen );
- else
- pOut->DrawStretchText( rStart - *pPos, nWidth, rTxt, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawTextArray( const Point& rStart, const String& rTxt,
- long *pKernArray, const sal_uInt16 nIdx, const sal_uInt16 nLen )
-{
- if( !pPos )
- pOut->DrawTextArray( rStart, rTxt, pKernArray, nIdx, nLen );
- else
- pOut->DrawTextArray( rStart - *pPos, rTxt, pKernArray, nIdx, nLen );
-}
-
-inline void SwDrawDev::DrawLine( const Point& rStart, const Point& rEnd )
-{
- if( !pPos )
- pOut->DrawLine( rStart, rEnd );
- else
- pOut->DrawLine( rStart - *pPos, rEnd - *pPos );
-}
-
-inline void SwDrawDev::DrawRect( const SwRect& rRect,
- const sal_uInt16 nHorzRound, const sal_uInt16 nVertRound )
-{
- SwRect aRect( rRect );
- if( pPos )
- aRect.Pos() -= *pPos;
- pOut->DrawRect( aRect.SVRect(), nHorzRound, nVertRound );
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/toxhlp.hxx b/sw/source/core/inc/toxhlp.hxx
deleted file mode 100644
index 04c7991d73d7..000000000000
--- a/sw/source/core/inc/toxhlp.hxx
+++ /dev/null
@@ -1,78 +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 _TOXHLP_HXX
-#define _TOXHLP_HXX
-
-#include <tools/solar.h>
-#include <com/sun/star/lang/Locale.hpp>
-#include <com/sun/star/uno/Reference.hxx>
-
-namespace com { namespace sun { namespace star {
-namespace i18n {
- class XExtendedIndexEntrySupplier;
-}
-namespace lang {
- class XMultiServiceFactory;
-}
-}}}
-
-
-class String;
-
-class IndexEntrySupplierWrapper
-{
- ::com::sun::star::lang::Locale aLcl;
- ::com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > xIES;
-
-public:
- IndexEntrySupplierWrapper(
- const ::com::sun::star::lang::Locale& rLcl,
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMSF );
- ~IndexEntrySupplierWrapper();
-
- String GetIndexKey( const String& rTxt, const String& rTxtReading,
- const ::com::sun::star::lang::Locale& rLocale ) const;
-
- String GetFollowingText( sal_Bool bMorePages ) const;
-
- ::com::sun::star::uno::Sequence< ::rtl::OUString >
- GetAlgorithmList( const ::com::sun::star::lang::Locale& rLcl ) const;
-
- sal_Bool LoadAlgorithm( const ::com::sun::star::lang::Locale& rLcl,
- const String& sSortAlgorithm, long nOptions ) const;
-
- sal_Int16 CompareIndexEntry( const String& rTxt1, const String& rTxtReading1,
- const ::com::sun::star::lang::Locale& rLcl1,
- const String& rTxt2, const String& rTxtReading2,
- const ::com::sun::star::lang::Locale& rLcl2 ) const;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/inc/fltbase.hxx b/sw/source/filter/inc/fltbase.hxx
deleted file mode 100644
index 44d966e04a5a..000000000000
--- a/sw/source/filter/inc/fltbase.hxx
+++ /dev/null
@@ -1,118 +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 __FLTBASE_HXX__
-#define __FLTBASE_HXX__
-
-#include <tools/stream.hxx>
-#include <tools/string.hxx>
-
-class SwFilterBase
-{
-protected:
- SvStream *pIn;
- sal_Char *pReadBuff; // Groessenangabe
- sal_Int32 nBytesLeft; // noch zu lesende Bytes des aktuelle Records
-
- CharSet eQuellChar; // Quell-Zeichensatz (interner Zeichensatz)
-// CharSet eZielChar; // Ziel-Zeichensatz
-
- sal_uInt16 nTab; // z.Zt. bearbeitete Tabelle
- sal_uInt16 nReadBuffSize;// temporaerer Lesepuffer mit
-
- // ----------------------------------------------------------
- inline void ReadChar( char &rC );
- inline void ReadByte( sal_uInt8 &rN );
- inline void Read( short &rN );
- inline void Read( sal_uInt8 &rN0, sal_uInt16 &rN1, sal_uInt16 &rN2 );
- inline void Read( sal_uInt16 &rN );
- inline void Read( sal_uInt16 &rN1, sal_uInt16 &rN2 );
- inline void Read( sal_uInt16 &rN1, sal_uInt16 &rN2, sal_uInt16 &rN3, sal_uInt16 &rN4 );
- inline void Read( double &rF );
- void Read( String &rS ); // liest 0-terminierten C-String!
- inline void ClearBytesLeft( void );
-};
-
-
-inline void SwFilterBase::ReadChar( char &rC )
- {
- *pIn >> rC;
- nBytesLeft--;
- }
-
-inline void SwFilterBase::ReadByte( sal_uInt8 &rN )
- {
- *pIn >> rN;
- nBytesLeft--;
- }
-
-inline void SwFilterBase::Read( short &rN )
- {
- *pIn >> rN;
- nBytesLeft -= 2;
- }
-
-inline void SwFilterBase::Read( sal_uInt8 &rN0, sal_uInt16 &rN1, sal_uInt16 &rN2 )
- {
- *pIn >> rN0 >> rN1 >> rN2;
- nBytesLeft -= 5;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN )
- {
- *pIn >> rN;
- nBytesLeft -= 2;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN1, sal_uInt16 &rN2 )
- {
- *pIn >> rN1 >> rN2;
- nBytesLeft -= 4;
- }
-
-inline void SwFilterBase::Read( sal_uInt16 &rN1, sal_uInt16 &rN2, sal_uInt16 &rN3, sal_uInt16 &rN4 )
- {
- *pIn >> rN1 >> rN2 >> rN3 >> rN4;
- nBytesLeft -= 8;
- }
-
-inline void SwFilterBase::Read( double &rF )
- {
- *pIn >> rF;
- nBytesLeft -= 8;
- }
-
-inline void SwFilterBase::ClearBytesLeft( void )
- {
- pIn->SeekRel( nBytesLeft );
- nBytesLeft = 0;
- }
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/inc/cfgdesc.hxx b/sw/source/ui/inc/cfgdesc.hxx
deleted file mode 100644
index 3af89260a10a..000000000000
--- a/sw/source/ui/inc/cfgdesc.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- 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/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _CFGDESC_HXX
-#define _CFGDESC_HXX
-
-#include <tools/string.hxx>
-
-class SwCfgDesc
-{
-protected:
- String aFuncText;
- String aLibName;
- sal_uInt16 nEvent;
-
- SwCfgDesc(const String &rFuncName, sal_uInt16 nId);
- SwCfgDesc(const String &rLib,const String &rMacro);
- ~SwCfgDesc();
-
-public:
- void SetEvent(sal_uInt16 nE); // inline
- void SetFuncText(const String &rStr); // inline
- void SetMacro(const String &rLib, const String &rMac);
- sal_Bool IsMacro() const;
- sal_uInt16 GetEvent() const; // inline
- String GetFuncText() const; // inline
- String GetMacro() const; // inline
- String GetLib() const; // inline
-};
-
-// INLINE METHODE --------------------------------------------------------
-inline void SwCfgDesc::SetEvent(sal_uInt16 nE) {
- nEvent = nE;
-}
-
-inline void SwCfgDesc::SetFuncText(const String &rStr) {
- aFuncText = rStr;
-}
-
-inline sal_uInt16 SwCfgDesc::GetEvent() const { return nEvent; }
-inline String SwCfgDesc::GetFuncText() const { return aFuncText; }
-inline String SwCfgDesc::GetMacro() const { return aFuncText; }
-inline String SwCfgDesc::GetLib() const { return aLibName; }
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */