diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-26 19:26:56 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:34:31 +0200 |
commit | 8f30e0ae6a8adc5a0973067fedebf878e52ac124 (patch) | |
tree | 81d89fb8b9a834d1b517773951ea5a386c34f15d | |
parent | 3ed25cd90ec3ef3d9f2d278e8dbff3a29ce06606 (diff) |
Remove unused header files
Change-Id: I3d172e5200fee63c6afcdf236a7915b7d51baf9c
-rw-r--r-- | desktop/win32/source/QuickStart/QuickStart.h | 32 | ||||
-rw-r--r-- | framework/inc/loadstate.h | 109 | ||||
-rw-r--r-- | sc/source/filter/inc/fkttab.h | 39 | ||||
-rw-r--r-- | sc/source/filter/inc/funktion.h | 43 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawcrook_curs.h | 45 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawcrook_mask.h | 43 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawcrop_curs.h | 45 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawcrop_mask.h | 43 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawmirror_curs.h | 45 | ||||
-rw-r--r-- | vcl/inc/unx/x11_cursors/drawmirror_mask.h | 43 | ||||
-rw-r--r-- | xml2cmp/source/inc/lst_str.h | 92 | ||||
-rw-r--r-- | xml2cmp/source/inc/new_del.h | 48 | ||||
-rw-r--r-- | xml2cmp/source/inc/str.h | 64 | ||||
-rw-r--r-- | xml2cmp/source/inc/textbuff.h | 78 | ||||
-rw-r--r-- | xml2cmp/source/inc/textfile.h | 69 |
15 files changed, 0 insertions, 838 deletions
diff --git a/desktop/win32/source/QuickStart/QuickStart.h b/desktop/win32/source/QuickStart/QuickStart.h deleted file mode 100644 index 52a5a49267ad..000000000000 --- a/desktop/win32/source/QuickStart/QuickStart.h +++ /dev/null @@ -1,32 +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 . - */ - -#if !defined(AFX_QUICKSTART_H__7D38EE02_7699_4CF0_AFF9_FD92E05CC009__INCLUDED_) -#define AFX_QUICKSTART_H__7D38EE02_7699_4CF0_AFF9_FD92E05CC009__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "resource.h" - - -#endif // !defined(AFX_QUICKSTART_H__7D38EE02_7699_4CF0_AFF9_FD92E05CC009__INCLUDED_) - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/loadstate.h b/framework/inc/loadstate.h deleted file mode 100644 index 5a05a0a79960..000000000000 --- a/framework/inc/loadstate.h +++ /dev/null @@ -1,109 +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 __FRAMEWORK_LOADSTATE_H_ -#define __FRAMEWORK_LOADSTATE_H_ - -//_________________________________________________________________________________________________________________ -// includes -//_________________________________________________________________________________________________________________ - -#include <com/sun/star/ucb/InteractiveIOException.hpp> -#include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -namespace framework{ - -//_______________________________________________________________________ -/** - These enum values specify all possible results of a load request. - It doesn't matter, if this load operation used dispatch() or loadComponentFromURL(). - The meaning is everytime the same. - */ -enum ELoadState -{ - E_UNSPECIFIED = 0, // indicates the operation was not already started - E_SUCCESS = 1, // the load request was successfull - E_IOERROR = 2, // there was an io error internaly - E_INTERACTION = 3, // there was an interaction, which couldn't be handled (doesn't include IO interactions => see E_IOERROR before) - E_FAILED = 4 // for unknown or unspecified errors -}; - -//_______________________________________________________________________ -/** - Helper, which provides some functionality to identify the reason for - a failed load request and can describe it. - */ -class LoadStateHelper -{ - public: - - //_________________________________ - /** - @short checks if the given interaction request was an io error - @descr This information can be used to throw - a suitable IOException. (e.g. loadComponentFromURL()) - - @param aRequest - the original interaction request, which may produced - the failed load request - - @param rReason - in case this Method returns <sal_True/> the referred string object - will be used to set the original message of the - aborted io exception on it. - If method returns <sal_False/> rReason was not used. - - @return [boolean] - <sal_True/> in case it was an IO error - <sal_False/> in case it wasn't an IO error or interaction was not used - */ - static sal_Bool wasIOError( const css::uno::Any& aRequest , - rtl::OUString& rReason ) - { - if ( ! aRequest.hasValue() ) - return sal_False; - - css::ucb::InteractiveIOException exIOInteractive ; - css::ucb::InteractiveAugmentedIOException exIOAugmented ; - - if (aRequest>>=exIOInteractive) - { - rReason = exIOInteractive.Message; - return sal_True; - } - - if (aRequest>>=exIOAugmented) - { - rReason = exIOAugmented.Message; - return sal_True; - } - - return sal_False; - } -}; - -} // namespace framework - -#endif // #ifndef __FRAMEWORK_LOADSTATE_H_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/inc/fkttab.h b/sc/source/filter/inc/fkttab.h deleted file mode 100644 index 697e508a1acc..000000000000 --- a/sc/source/filter/inc/fkttab.h +++ /dev/null @@ -1,39 +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 SC_FKTTAB_H -#define SC_FKTTAB_H - -#include "decl.h" - -// Prefixes der Operationen -extern const sal_Char *cPre[ 256 ]; - -// Infixes der Operationen -extern const sal_Char *cInf[ 256 ]; - -// Postfixes der Operationen -extern const sal_Char *cPost[ 256 ]; - -// Bearbeitungsfunktion sal_Char *X( sal_Char * ) -extern BEARBFKT *pFkt[ 256 ]; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/inc/funktion.h b/sc/source/filter/inc/funktion.h deleted file mode 100644 index 8bbc27ae10ae..000000000000 --- a/sc/source/filter/inc/funktion.h +++ /dev/null @@ -1,43 +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 SC_FUNKTION_H -#define SC_FUNKTION_H - -// Bearbeitungsfunktionen -void P0( void ); // 0 Parameter -void P1( void ); // 1 Parameter -void P2( void ); // 2 Parameter -void P3( void ); // 3 Parameter -void P4( void ); // 4 Parameter -void P5( void ); // 5 Parameter -void Pn( void ); // n Parameter -void NI( void ); // nicht implementiert -void ConstFloat( void ); // 0 -void Variable( void ); // 1 -void LotusRange( void ); // 2 -void FormulaReturn( void ); // 3 -void Klammer( void ); // 4 -void ConstInt( void ); // 5 -void ConstString( void ); // 6 -// ACHTUNG: unbekannte Funktionen -> P0() - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawcrook_curs.h b/vcl/inc/unx/x11_cursors/drawcrook_curs.h deleted file mode 100644 index e89e91322432..000000000000 --- a/vcl/inc/unx/x11_cursors/drawcrook_curs.h +++ /dev/null @@ -1,45 +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. - * - ************************************************************************/ -#define drawcrook_curs_width 32 -#define drawcrook_curs_height 32 -#define drawcrook_curs_x_hot 15 -#define drawcrook_curs_y_hot 14 -static unsigned char drawcrook_curs_bits[] = { - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0x7c, 0x3e, 0xff, 0x7f, 0xbb, 0xdd, 0xfe, - 0x7f, 0xbb, 0xdd, 0xfe, 0xf3, 0xb6, 0x6d, 0xcf, 0xed, 0xb6, 0x6d, 0xb7, - 0xdd, 0x75, 0xae, 0xbb, 0xbb, 0x0b, 0xd0, 0xdd, 0xb7, 0xf1, 0x8f, 0xed, - 0x4f, 0x0e, 0x70, 0xf2, 0xbf, 0xf1, 0x8f, 0xfd, 0x5f, 0xfe, 0x7f, 0xfa, - 0xaf, 0xff, 0xff, 0xf5, 0xd7, 0xff, 0xff, 0xeb, 0xef, 0xff, 0xff, 0xf7, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawcrook_mask.h b/vcl/inc/unx/x11_cursors/drawcrook_mask.h deleted file mode 100644 index b42d2591d123..000000000000 --- a/vcl/inc/unx/x11_cursors/drawcrook_mask.h +++ /dev/null @@ -1,43 +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. - * - ************************************************************************/ -#define drawcrook_mask_width 32 -#define drawcrook_mask_height 32 -static unsigned char drawcrook_mask_bits[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x83, 0xc1, 0x00, 0x80, 0xc7, 0xe3, 0x01, 0xc0, 0xef, 0xf7, 0x03, - 0xcc, 0xef, 0xf7, 0x33, 0x9e, 0xff, 0xff, 0x79, 0xbf, 0xff, 0xff, 0xfd, - 0x77, 0xff, 0xff, 0xee, 0xee, 0xf6, 0x6f, 0x77, 0xfc, 0xff, 0xff, 0x3f, - 0xb8, 0xff, 0xff, 0x1d, 0xf0, 0xff, 0xff, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, - 0xf8, 0x01, 0x80, 0x1f, 0x7c, 0x00, 0x00, 0x3e, 0x38, 0x00, 0x00, 0x1c, - 0x10, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawcrop_curs.h b/vcl/inc/unx/x11_cursors/drawcrop_curs.h deleted file mode 100644 index 903c5b314418..000000000000 --- a/vcl/inc/unx/x11_cursors/drawcrop_curs.h +++ /dev/null @@ -1,45 +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. - * - ************************************************************************/ -#define drawcrop_curs_width 32 -#define drawcrop_curs_height 32 -#define drawcrop_curs_x_hot 9 -#define drawcrop_curs_y_hot 9 -static unsigned char drawcrop_curs_bits[] = { - 0xff, 0x0f, 0xff, 0xff, 0xff, 0x6f, 0xff, 0xff, 0xff, 0x6f, 0xff, 0xff, - 0x07, 0x60, 0xf8, 0xff, 0xf7, 0x6f, 0xfb, 0xff, 0xf7, 0x6f, 0xfb, 0xff, - 0x37, 0x60, 0xf8, 0xff, 0xb7, 0x6f, 0xff, 0xff, 0xb7, 0x6f, 0xff, 0xff, - 0xb7, 0x6f, 0xff, 0xff, 0xb7, 0x6f, 0xff, 0xff, 0xb7, 0x6f, 0xff, 0xff, - 0x30, 0x60, 0xff, 0xff, 0xb6, 0x7f, 0xff, 0xff, 0xb6, 0x7f, 0xff, 0xff, - 0x30, 0x00, 0xff, 0xff, 0xb7, 0xff, 0xff, 0xff, 0xb7, 0xff, 0xff, 0xff, - 0x87, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawcrop_mask.h b/vcl/inc/unx/x11_cursors/drawcrop_mask.h deleted file mode 100644 index eea6b4448146..000000000000 --- a/vcl/inc/unx/x11_cursors/drawcrop_mask.h +++ /dev/null @@ -1,43 +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. - * - ************************************************************************/ -#define drawcrop_mask_width 32 -#define drawcrop_mask_height 32 -static unsigned char drawcrop_mask_bits[] = { - 0x00, 0xf8, 0x01, 0x00, 0x00, 0xf8, 0x01, 0x00, 0xfc, 0xff, 0x0f, 0x00, - 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, - 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xfc, 0xf8, 0x01, 0x00, - 0xfc, 0xf8, 0x01, 0x00, 0xfc, 0xf8, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, - 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, - 0xff, 0xff, 0x01, 0x00, 0xff, 0xff, 0x01, 0x00, 0xfc, 0x00, 0x00, 0x00, - 0xfc, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawmirror_curs.h b/vcl/inc/unx/x11_cursors/drawmirror_curs.h deleted file mode 100644 index b68907138e42..000000000000 --- a/vcl/inc/unx/x11_cursors/drawmirror_curs.h +++ /dev/null @@ -1,45 +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. - * - ************************************************************************/ -#define drawmirror_curs_width 32 -#define drawmirror_curs_height 32 -#define drawmirror_curs_x_hot 14 -#define drawmirror_curs_y_hot 12 -static unsigned char drawmirror_curs_bits[] = { - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xff, 0x03, 0xf8, 0xf5, 0xff, - 0xfb, 0xfb, 0xee, 0xff, 0x0b, 0xfa, 0xf5, 0xff, 0xeb, 0xfa, 0xfa, 0xff, - 0xeb, 0xfa, 0xfa, 0xff, 0xeb, 0x7a, 0xfd, 0xff, 0xeb, 0x7a, 0xfd, 0xff, - 0xeb, 0xba, 0x7e, 0xff, 0xeb, 0xba, 0xbe, 0xfe, 0xeb, 0x5a, 0x5f, 0xfd, - 0x0b, 0x5a, 0xaf, 0xfa, 0xfb, 0xab, 0xd7, 0xf5, 0x03, 0xa8, 0xeb, 0xeb, - 0xff, 0xd7, 0xf5, 0xf5, 0xff, 0xd7, 0xfa, 0xfa, 0xff, 0x6b, 0x7d, 0xfd, - 0xff, 0xeb, 0xba, 0xfe, 0xff, 0xf5, 0x55, 0xff, 0xff, 0xf5, 0xab, 0xff, - 0xff, 0xfa, 0xd7, 0xff, 0x7f, 0xf7, 0xef, 0xff, 0xff, 0xfa, 0xff, 0xff, - 0xff, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/unx/x11_cursors/drawmirror_mask.h b/vcl/inc/unx/x11_cursors/drawmirror_mask.h deleted file mode 100644 index 231f109a24ae..000000000000 --- a/vcl/inc/unx/x11_cursors/drawmirror_mask.h +++ /dev/null @@ -1,43 +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. - * - ************************************************************************/ -#define drawmirror_mask_width 32 -#define drawmirror_mask_height 32 -static unsigned char drawmirror_mask_bits[] = { - 0x00, 0x00, 0x04, 0x00, 0xfe, 0x0f, 0x0e, 0x00, 0xfe, 0x0f, 0x1f, 0x00, - 0xfe, 0x8f, 0x3f, 0x00, 0xfe, 0x0f, 0x1f, 0x00, 0xfe, 0x8f, 0x0f, 0x00, - 0xbe, 0x8f, 0x0f, 0x00, 0xbe, 0xcf, 0x07, 0x00, 0xbe, 0xcf, 0x87, 0x00, - 0xbe, 0xef, 0xc3, 0x01, 0xbe, 0xef, 0xe3, 0x03, 0xfe, 0xff, 0xf1, 0x07, - 0xfe, 0xff, 0x79, 0x0f, 0xfe, 0xff, 0x3c, 0x1e, 0xfe, 0xff, 0x1e, 0x3c, - 0xfe, 0x7f, 0x0f, 0x1e, 0x00, 0xfc, 0x07, 0x0f, 0x00, 0xfe, 0x83, 0x07, - 0x00, 0xbe, 0xc7, 0x03, 0x00, 0x1f, 0xef, 0x01, 0x00, 0x1f, 0xfe, 0x00, - 0x80, 0x0f, 0x7c, 0x00, 0xc0, 0x1d, 0x38, 0x00, 0x80, 0x0f, 0x10, 0x00, - 0x00, 0x07, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xml2cmp/source/inc/lst_str.h b/xml2cmp/source/inc/lst_str.h deleted file mode 100644 index 0f289033c978..000000000000 --- a/xml2cmp/source/inc/lst_str.h +++ /dev/null @@ -1,92 +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 CPV_LST_STR_H -#define CPV_LST_STR_H - -#include "str.h" - - -typedef struct LSElem -{ - Cstring * pData; - struct LSElem * pNext; -} LSElem; - - -typedef struct LSIterator -{ - LSElem * pElement; -} LSIterator; - - -typedef struct ListCstring -{ - LSElem * dpStart; - LSElem * pEnd; - Bool bAutoDeleteData; -} ListCstring; - - -#define ListCstring_THIS ListCstring * pThis -#define LSIterator_THIS LSIterator * pThis -#define LSElem_THIS LSElem * pThis - - - -void ListCstring_CTOR( ListCstring_THIS, - Bool i_bAutoDeleteData ); -void ListCstring_DTOR( ListCstring_THIS ); - -void LS_Add( ListCstring_THIS, - Cstring * i_pData ); -void LS_Empty( ListCstring_THIS, - Bool i_bDeleteData ); -void LS_Append( ListCstring_THIS, - char * i_sStrings[], - intt i_nNrOfStrings ); -Bool LS_IsEmpty( ListCstring_THIS ); - -LSIterator LS_Begin( ListCstring_THIS ); - - -void LSIterator_CTOR( LSIterator_THIS, - LSElem * i_pElement ); -void LSI_opp( LSIterator_THIS ); /** operator++() */ - -Bool LSI_obool( LSIterator_THIS ); -Cstring * LSI_optr( LSIterator_THIS ); /** operator->() */ - - -void LSElem_CTOR( LSElem_THIS, - Cstring * i_pData ); -void LSElem_DTOR( LSElem_THIS ); - -Cstring * LSE_Data( LSElem_THIS ); -LSElem * LSE_Next( LSElem_THIS ); - -void LSE_SetNext( LSElem_THIS, - LSElem * i_pNext ); -void LSE_DeleteData( LSElem_THIS ); - - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xml2cmp/source/inc/new_del.h b/xml2cmp/source/inc/new_del.h deleted file mode 100644 index 08e81a1df01b..000000000000 --- a/xml2cmp/source/inc/new_del.h +++ /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 CPV_NEW_DEL_H -#define CPV_NEW_DEL_H - - -void * New( - intt i_nSize ); -void Delete( - void * io_pMemory ); - -/* at ASSIGN_NEW ptr must be an L-Value. */ -#define ASSIGN_NEW( ptr, type ) \ - { ptr = New( sizeof( type ) ); type##_CTOR( ptr ); } - -#define ASSIGN_NEW1( ptr, type, param1 ) \ - { ptr = New( sizeof( type ) ); type##_CTOR( ptr, param1 ); } - -#define ASSIGN_NEW2( ptr, type, param1, param2 ) \ - { ptr = New( sizeof( type ) ); type##_CTOR( ptr, param1, param2 ); } - -#define ASSIGN_NEW3( ptr, type, param1, param2, param3 ) \ - { ptr = New( sizeof( type ) ); type##_CTOR( ptr, param1, param2, param3 ); } - -#define DELETE( ptr, type ) \ - { type##_DTOR( ptr ); Delete(ptr); } - -#endif - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xml2cmp/source/inc/str.h b/xml2cmp/source/inc/str.h deleted file mode 100644 index 5c85c201f256..000000000000 --- a/xml2cmp/source/inc/str.h +++ /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 CPV_STR_H -#define CPV_STR_H - - -#ifdef UNX -#define stricmp(str1,str2) strcasecmp(str1, str2) -#define strnicmp(str1,str2,n) strncasecmp(str1, str2, n) -#endif - - -typedef struct Cstring -{ - char * dpText; - intt nLength; - -} Cstring; - -#define Cstring_THIS Cstring * pThis - - -void Cstring_CTOR( Cstring_THIS, - char * pText ); -void Cstring_DTOR( Cstring * pThis ); - -void Cs_Assign( Cstring_THIS, - char * i_pNewText ); -void Cs_AssignPart( Cstring_THIS, - char * i_pNewText, - intt i_nLength ); - -void Cs_AddCs( Cstring_THIS, - Cstring * i_pAddedText ); -void Cs_Add( Cstring_THIS, - char * i_pAddedText ); - -char * Cs_Str( Cstring_THIS ); -intt Cs_Length( Cstring_THIS ); - -void Cs_ToUpper( Cstring_THIS ); - - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xml2cmp/source/inc/textbuff.h b/xml2cmp/source/inc/textbuff.h deleted file mode 100644 index eecfca7d918d..000000000000 --- a/xml2cmp/source/inc/textbuff.h +++ /dev/null @@ -1,78 +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 CTLS_TEXTBUFF_H -#define CTLS_TEXTBUFF_H - -#include "textfile.h" - - -typedef struct TextBuffer -{ - char * dpText; - intt nSize; - - intt nPosition; - -} TextBuffer; - -#define TextBuffer_THIS TextBuffer * pThis - - -#define ENDS '\0' -#define ENDL '\n' - -typedef enum E_TB_Relation -{ - tb_begin, - tb_cur, - tb_end -} E_TB_Relation; - - -void TextBuffer_CTOR( TextBuffer_THIS, - intt i_nSize ); -void TextBuffer_DTOR( TextBuffer_THIS ); -void TB_Resize( TextBuffer_THIS, - intt i_nNewSize ); - -Bool TB_oin( TextBuffer_THIS, /** operator>>(char *) */ - char * i_pText ); -Bool TB_oinChar( TextBuffer_THIS, /** operator>>(char) */ - char i_cChar ); -Bool TB_oinFile( TextBuffer_THIS, /** operator>>(TextFile*) */ - TextFile * i_pFile ); -void TB_opp( TextBuffer_THIS ); /** operator++ */ - -intt TB_Goto( TextBuffer_THIS, - intt i_nPosition, - E_TB_Relation i_nRelation ); /** tb_begin, tb_cur, tb_end */ - - -char * TB_Text( TextBuffer_THIS ); -char TB_CurChar( TextBuffer_THIS ); -char * TB_CurCharPtr( TextBuffer_THIS ); -intt TB_Size( TextBuffer_THIS ); -intt TB_Position( TextBuffer_THIS ); -Bool TB_EndOfBuffer( TextBuffer_THIS ); - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xml2cmp/source/inc/textfile.h b/xml2cmp/source/inc/textfile.h deleted file mode 100644 index 6af36a1f2f91..000000000000 --- a/xml2cmp/source/inc/textfile.h +++ /dev/null @@ -1,69 +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 CPV_TEXTFILE_H -#define CPV_TEXTFILE_H - -#include <stdio.h> -#include "str.h" - - - -typedef struct TextFile -{ - Cstring sName; - FILE * hFile; - intt nLastAction; -} TextFile; - -#define TextFile_THIS TextFile * pThis - - - -void TextFile_CTOR( TextFile_THIS, - char * i_pName ); -void TextFile_DTOR( TextFile_THIS ); - -Bool TF_Open( TextFile_THIS, - char * i_sOptions ); /* options for second parameter of fopen */ -Bool TF_Create( TextFile_THIS ); -void TF_Close( TextFile_THIS ); - -void TF_Goto( TextFile_THIS, - intt i_nPosition ); -intt TF_Read( TextFile_THIS, - char * o_pBuffer, - intt i_nNrOfBytes ); -intt TF_Write( TextFile_THIS, - char * i_pBuffer, - intt i_nNrOfBytes ); -intt TF_WriteStr( TextFile_THIS, - char * i_pString ); - -intt TF_Position( TextFile_THIS ); -intt TF_Size( TextFile_THIS ); - - - - -#endif - - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |