[Libreoffice-commits] .: 2 commits - binfilter/bf_sc binfilter/bf_svtools binfilter/bf_sw binfilter/inc
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Tue Feb 15 14:19:20 PST 2011
binfilter/bf_sc/source/ui/app/sc_sclib.cxx | 14 -
binfilter/bf_svtools/source/misc/svt_inidef.cxx | 274 ---------------------
binfilter/bf_svtools/source/misc/svt_iniprop.cxx | 51 ---
binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx | 6
binfilter/bf_sw/source/core/txtnode/sw_ndhints.cxx | 4
binfilter/inc/bf_sfx2/docfile.hxx | 4
binfilter/inc/bf_svtools/inidef.hxx | 155 -----------
binfilter/inc/bf_svtools/iniprop.hxx | 66 -----
binfilter/inc/bf_svx/xbitmap.hxx | 10
9 files changed, 584 deletions(-)
New commits:
commit 7e5dd2d4f9b15d4415050f85ded7b439379fb1ee
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Tue Feb 15 22:20:12 2011 +0100
Remove SINIX and HP9000
diff --git a/binfilter/bf_sc/source/ui/app/sc_sclib.cxx b/binfilter/bf_sc/source/ui/app/sc_sclib.cxx
index e59cac4..74b38fe 100644
--- a/binfilter/bf_sc/source/ui/app/sc_sclib.cxx
+++ b/binfilter/bf_sc/source/ui/app/sc_sclib.cxx
@@ -460,19 +460,6 @@ BOOL lcl_IsAnyXMLFilter( const SfxFilter* /*pFilter*/ )
/*N*/ 'I', 'D', ';', 'P',
/*N*/ M_ENDE };
/*N*/
-/*N*/ #ifdef SINIX
-/*N*/ const UINT16 nAnzMuster = 9; // sollte fuer indiz. Zugriff stimmen...
-/*N*/ UINT16 *ppMuster[ nAnzMuster ]; // Arrays mit Suchmustern
-/*N*/ ppMuster[ 0 ] = pLotus;
-/*N*/ ppMuster[ 1 ] = pExcel1;
-/*N*/ ppMuster[ 2 ] = pExcel2;
-/*N*/ ppMuster[ 3 ] = pExcel3;
-/*N*/ ppMuster[ 4 ] = pSc10;
-/*N*/ ppMuster[ 5 ] = pDIF1;
-/*N*/ ppMuster[ 6 ] = pDIF2;
-/*N*/ ppMuster[ 7 ] = pSylk;
-/*N*/ ppMuster[ 8 ] = pLotus2; // Lotus immer ganz hinten wegen Ini-Eintrag
-/*N*/ #else
/*N*/ const UINT16 *ppMuster[] = // Arrays mit Suchmustern
/*N*/ {
/*N*/ pLotus,
@@ -486,7 +473,6 @@ BOOL lcl_IsAnyXMLFilter( const SfxFilter* /*pFilter*/ )
/*N*/ pLotus2
/*N*/ };
/*N*/ const UINT16 nAnzMuster = SAL_N_ELEMENTS(ppMuster);
-/*N*/ #endif
/*N*/
/*N*/ const sal_Char* pFilterName[ nAnzMuster ] = // zugehoerige Filter
/*N*/ {
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx b/binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx
index be1c0c4..679d607 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx
@@ -239,13 +239,7 @@ namespace binfilter {
/*N*/
/*N*/ // Man nehme die Adresse von cBuf auf dem Stack als Anfangswert
/*N*/ // aber nur ein einziges mal (bug fix 20976)
-/*N*/ #ifdef SINIX
-/*N*/ static ULONG nId = 0;
-/*N*/ if ( ! nId )
-/*N*/ nId = (ULONG) cBuf;
-/*N*/ #else
/*N*/ static ULONG nId = (ULONG) cBuf;
-/*N*/ #endif
/*N*/
/*N*/ nId++;
/*N*/ for( ;; )
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_ndhints.cxx b/binfilter/bf_sw/source/core/txtnode/sw_ndhints.cxx
index c26384e..535d7fa 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_ndhints.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_ndhints.cxx
@@ -95,11 +95,7 @@ namespace binfilter {
*************************************************************************/
// Zuerst nach Ende danach nach Ptr
-/*N*/ #ifdef HP9000
-/*N*/ BOOL lcl_IsLessEnd( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
-/*N*/ #else
/*N*/ inline BOOL lcl_IsLessEnd( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
-/*N*/ #endif
/*N*/ {
/*N*/ xub_StrLen nHt1 = *rHt1.GetAnyEnd();
/*N*/ xub_StrLen nHt2 = *rHt2.GetAnyEnd();
diff --git a/binfilter/inc/bf_sfx2/docfile.hxx b/binfilter/inc/bf_sfx2/docfile.hxx
index 4998c21..efcc32b 100644
--- a/binfilter/inc/bf_sfx2/docfile.hxx
+++ b/binfilter/inc/bf_sfx2/docfile.hxx
@@ -211,11 +211,7 @@ public:
void Close();
void ReOpen();
const String& GetName() const {return aLogicName;}
-#if defined SINIX && defined GCC && defined C272
- const INetURLObject& GetURLObject();
-#else
const INetURLObject& GetURLObject() const;
-#endif
::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > GetContent() const;
const String& GetPhysicalName() const;
sal_Bool IsTemporary() const;
diff --git a/binfilter/inc/bf_svx/xbitmap.hxx b/binfilter/inc/bf_svx/xbitmap.hxx
index 62dfe80..bd0e77e 100644
--- a/binfilter/inc/bf_svx/xbitmap.hxx
+++ b/binfilter/inc/bf_svx/xbitmap.hxx
@@ -39,10 +39,6 @@ namespace binfilter {
// class XOBitmap
//---------------
-#if defined HP9000 || defined SINIX
-static Size aXOBitmapDefaultSize( 8, 8 );
-#endif
-
class XOBitmap
{
protected:
@@ -59,15 +55,9 @@ public:
XOBitmap();
XOBitmap( const BfGraphicObject& rGraphicObject, XBitmapStyle eStyle = XBITMAP_TILE );
XOBitmap( const Bitmap& rBitmap, XBitmapStyle eStyle = XBITMAP_TILE );
-#if defined HP9000 || defined SINIX
- XOBitmap( const USHORT* pArray, const Color& aPixelColor,
- const Color& aBckgrColor, const Size& rSize = aXOBitmapDefaultSize,
- XBitmapStyle eStyle = XBITMAP_TILE );
-#else
XOBitmap( const USHORT* pArray, const Color& aPixelColor,
const Color& aBckgrColor, const Size& rSize = Size( 8, 8 ),
XBitmapStyle eStyle = XBITMAP_TILE );
-#endif
XOBitmap( const XOBitmap& rXBmp );
~XOBitmap();
commit b01491d35f62086887e24fc416fe340b123fa338
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Tue Feb 15 21:38:09 2011 +0100
Remove unused files
diff --git a/binfilter/bf_svtools/source/misc/svt_inidef.cxx b/binfilter/bf_svtools/source/misc/svt_inidef.cxx
deleted file mode 100644
index 95331c6..0000000
--- a/binfilter/bf_svtools/source/misc/svt_inidef.cxx
+++ /dev/null
@@ -1,274 +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 <tools/string.hxx>
-#include "inetdef.hxx"
-#include "inidef.hxx"
-
-namespace binfilter
-{
-
-//========================================================================
-
-class SfxStdIniDef_Impl: public SfxIniDefaulter
-{
-public:
- SfxStdIniDef_Impl( SfxIniDefaultManager *pDefMgr )
- : SfxIniDefaulter( pDefMgr )
- {}
- virtual BOOL QueryDefault( String &rValue, const SfxIniEntry &rEntry );
-};
-
-//-------------------------------------------------------------------------
-
-BOOL SfxStdIniDef_Impl::QueryDefault( String &rValue, const SfxIniEntry &rEntry )
-{
- switch ( rEntry.GetKey() )
- {
- case SFX_KEY_BROWSERRESTORE:
- {
- rValue = "1";
- return TRUE;
- }
-
- case SFX_KEY_INET_HOME:
- {
- if ( System::GetLanguage() == LANGUAGE_GERMAN )
- rValue = "http://www.stardivision.de";
- else
- rValue = "http://www.stardivision.com";
- return TRUE;
- }
-
- case SFX_KEY_INET_MEMCACHE:
- rValue = "4";
- return TRUE;
-
- case SFX_KEY_INET_DISKCACHE:
- rValue = "2048";
- return TRUE;
-
- case SFX_KEY_INET_CACHEEXPIRATION:
- rValue = "3";
- return TRUE;
-
- case SFX_KEY_INET_MAXHTTPCONS:
- rValue = "4";
- return TRUE;
-
- case SFX_KEY_INET_MAXFTPCONS:
- rValue = "2";
- return TRUE;
-
-// case SFX_KEY_INET_JAVAMINHEAP:
-// rValue = "256";
-// return TRUE;
-
-// case SFX_KEY_INET_JAVAMAXHEAP:
-// rValue = "";
-// return TRUE;
-
- case SFX_KEY_INET_USERAGENT:
- rValue = INET_DEF_CALLERNAME;
- return TRUE;
-
- case SFX_KEY_INET_EXE_JAVASCRIPT:
-#ifdef SOLAR_JAVA
- rValue = "0"; // noch "0", solange es noch soviel Bugs gibt
-#else
- rValue = "0"; // immer "0"
-#endif
- return TRUE;
-
- case SFX_KEY_INET_EXE_PLUGIN:
- rValue = "1";
- return TRUE;
-
-/* case SFX_KEY_INET_JAVA_ENABLE:
-#ifdef SOLAR_JAVA
- rValue = "1";
-#else
- rValue = "0";
-#endif
- return TRUE; */
-
-// case SFX_KEY_INET_NETACCESS:
-// rValue = "2";
-// return TRUE;
-
- case SFX_KEY_INET_CHANNELS:
- rValue = "1";
- return TRUE;
-
- case SFX_KEY_BASIC_ENABLE:
- rValue = "1";
- return TRUE;
-
- case SFX_KEY_INET_COOKIES:
- rValue = "1";
- return TRUE;
-
- case SFX_KEY_ICONGRID:
- rValue = "100;70;0";
- return TRUE;
-
- case SFX_KEY_METAFILEPRINT:
- rValue = "1";
- return TRUE;
- }
-
- return SfxIniDefaulter::QueryDefault( rValue, rEntry );
-}
-
-//=========================================================================
-
-SfxIniDefaultManager::SfxIniDefaultManager()
-: _pList( new SfxIniDefaulterList )
-{
- new SfxStdIniDef_Impl( this );
-}
-
-//-------------------------------------------------------------------------
-
-SfxIniDefaultManager::~SfxIniDefaultManager()
-{
- if ( _pList )
- {
- for ( USHORT n = _pList->Count(); n--; )
- delete _pList->GetObject(n);
- delete _pList;
- }
-}
-
-//-------------------------------------------------------------------------
-
-BOOL SfxIniDefaultManager::QueryDefault
-(
- String& rValue, /* out: Default-Wert f"ur 'rEntry'
- (Default ist Leerstring) */
- const SfxIniEntry& rEntry // in: Beschreibung des Eintrags
-)
-
-/* [Beschreibung]
-
- "Uber diese interne Methode besorgt sich der <SfxIniManager> den
- Default f"ur einen in 'rEntry' beschriebenen Eintrag.
-*/
-
-{
- for ( USHORT n = _pList->Count(); n--; )
- if ( _pList->GetObject(n)->QueryDefault( rValue, rEntry ) )
- return TRUE;
- return FALSE;
-}
-
-//=========================================================================
-
-SfxIniDefaulter::SfxIniDefaulter( SfxIniDefaultManager *pManager )
-
-/* [Beschreibung]
-
- Der Ctor dieser Klasse meldet die neue Instanz automatisch am
- <SfxiniDefaultManager> 'pManager' an.
-*/
-
-: _pManager( pManager )
-
-{
- pManager->Insert( this );
-}
-
-//-------------------------------------------------------------------------
-
-SfxIniDefaulter::~SfxIniDefaulter()
-
-/* [Beschreibung]
-
- Der Dtor dieser Klasse meldet die neue Instanz automatisch am
- <SfxiniDefaultManager> ab, der im Ctor angegeben wurde.
-*/
-
-{
- _pManager->Remove( this );
-}
-
-//-------------------------------------------------------------------------
-
-BOOL SfxIniDefaulter::QueryDefault
-(
- String& rValue, /* out: Default-Wert f"ur 'rEntry'
- (Default ist Leerstring) */
- const SfxIniEntry& rEntry // in: Beschreibung des Eintrags
-)
-
-/* [Beschreibung]
-
- Diese virtuelle Methode mu\s "uberladen werden. Sie soll dann in
- 'rValue' einen Default-Wert f"ur den in 'rEntry' beschriebenen
- ini-Eintrag setzen, falls ihr dieser bekannt ist.
-
-
- [Returnwert]
-
- TRUE In 'rValue' befindet sich der Default-Wert.
-
- FALSE F"ur diesen Eintrag ist kein Default-Wert bekannt.
-
-*/
-
-{
- return FALSE;
-};
-
-//========================================================================
-
-SfxIniEntry::SfxIniEntry
-(
- const String& aGroup,
- const String& aKey,
- SfxIniGroup eGroup,
- SfxIniKey eKey,
- USHORT nIndex
-)
-: _aGroup( aGroup ),
- _aKey( aKey ),
- _eGroup( eGroup ),
- _eKey( eKey ),
- _nIndex( nIndex )
-{
-}
-
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_svtools/source/misc/svt_iniprop.cxx b/binfilter/bf_svtools/source/misc/svt_iniprop.cxx
deleted file mode 100644
index 19db7fd..0000000
--- a/binfilter/bf_svtools/source/misc/svt_iniprop.cxx
+++ /dev/null
@@ -1,51 +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 "iniprop.hxx"
-
-namespace binfilter
-{
-
-//-------------------------------------------------------------------------
-
-TYPEINIT1(SfxAppIniManagerProperty, ApplicationProperty);
-
-//-------------------------------------------------------------------------
-
-SfxAppIniManagerProperty::~SfxAppIniManagerProperty()
-{
-}
-
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/inc/bf_svtools/inidef.hxx b/binfilter/inc/bf_svtools/inidef.hxx
deleted file mode 100644
index 748b1ee..0000000
--- a/binfilter/inc/bf_svtools/inidef.hxx
+++ /dev/null
@@ -1,155 +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 _SFXINIDEF_HXX
-#define _SFXINIDEF_HXX
-
-#include <iniman.hxx>
-
-namespace binfilter
-{
-
-class SfxIniEntry;
-class SfxIniDefaulterList;
-class SfxIniDefaultManager;
-}
-
-#if _SOLAR__PRIVATE
-#include <bf_svtools/svarray.hxx>
-
-namespace binfilter
-{
-class SfxIniDefaulter;
-SV_DECL_PTRARR( SfxIniDefaulterList, SfxIniDefaulter*, 0, 2 );
-}
-#endif
-
-namespace binfilter
-{
-
-//========================================================================
-
-class SfxIniDefaulter
-
-/* [Beschreibung]
-
- Instanzen dieser Klasse k"onnen (f"ur die Laufzeit eines Moduls, z.B.
- einer DLL-Nutzung oder einer Applikation) angelegt werden, um Defaults
- f"ur eine Anzahl von ini-Eintr"agen zu liefern. Diese Defaults werden
- erfragt, wenn ein <SfxIniManager> einen Eintrag nicht in den ini-Files
- finden kann.
-
- Defaults verschiedener <SfxIniDefaulter>-Instanzen d"urfen sich nicht
- unterscheiden, da die Reihenfolge der Abarbeitung nicht definiert ist.
-
- Die Instanzen brauchen nicht zerst"ort zu werden, au\ser wenn der
- dazugeh"orige Code entladen wird (load-on-demand DLLs). Sonst geschieht
- dies automatisch beim Zerst"oren des <SfxIniDefaultManager>.
-*/
-
-{
- SfxIniDefaultManager* _pManager;
-
-public:
- SfxIniDefaulter( SfxIniDefaultManager *pManager );
- ~SfxIniDefaulter();
-
- virtual BOOL QueryDefault( String &aValue,
- const SfxIniEntry &rEntry ) = 0;
-};
-
-//========================================================================
-
-class SfxIniDefaultManager
-
-/* [Beschreibung]
-
- Genau eine Instanz dieser Klasse mu\s in jeder Application-Subklasse,
- die diesen Mechanismus nutzen m"ochte, in deren Ctor angelegt werden
- und sollte in deren Dtor zerst"ort werden.
-*/
-
-{
- SfxIniDefaulterList* _pList;
-
-public:
- SfxIniDefaultManager();
- ~SfxIniDefaultManager();
-
-#if _SOLAR__PRIVATE
- void Insert( SfxIniDefaulter *pDefaulter )
- { _pList->C40_INSERT( SfxIniDefaulter, pDefaulter, _pList->Count() ); }
- void Remove( SfxIniDefaulter *pDefaulter )
- { _pList->Remove( _pList->C40_GETPOS( SfxIniDefaulter, pDefaulter ) ); }
- BOOL QueryDefault( String &aValue,
- const SfxIniEntry &rEntry );
-#endif
-};
-
-//========================================================================
-
-class SfxIniEntry
-
-/* [Beschreibung]
-
- Instanzen dieser Klasse beschreiben einen Eintrag eines Ini-Files,
- um mit der Klasse <SfxIniDefaulter> erfragt werden zu k"onnen, falls
- der <SfxIniManager> einen Eintrag nicht in den Ini-Files auffindet.
-*/
-
-{
-friend class SfxIniManager;
-
- const String& _aGroup;
- const String& _aKey;
- SfxIniGroup _eGroup;
- SfxIniKey _eKey;
- USHORT _nIndex;
-
-private:
- SfxIniEntry( const String& aGroup,
- const String& aKey,
- SfxIniGroup eGroup,
- SfxIniKey eKey,
- USHORT nIndex );
- SfxIniEntry( const SfxIniEntry & ); // n.i.
- SfxIniEntry& operator=( const SfxIniEntry & ); // n.i.
-
-public:
- const String& GetGroupName() const { return _aGroup; }
- SfxIniGroup GetGroup() const { return _eGroup; }
- const String& GetKeyName() const { return _aKey; }
- SfxIniKey GetKey() const { return _eKey; }
- USHORT GetIndex() const { return _nIndex; }
-};
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/inc/bf_svtools/iniprop.hxx b/binfilter/inc/bf_svtools/iniprop.hxx
deleted file mode 100644
index 10ecbb8..0000000
--- a/binfilter/inc/bf_svtools/iniprop.hxx
+++ /dev/null
@@ -1,66 +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 _SFXINIPROP_HXX
-#define _SFXINIPROP_HXX
-
-#include <limits.h>
-
-#include <tools/rtti.hxx>
-#include <vcl/svapp.hxx>
-
-namespace binfilter
-{
-
-class SfxIniManager;
-
-//------------------------------------------------------------------------
-
-class SfxAppIniManagerProperty: public ApplicationProperty
-
-// fuer Application::Property(), um von ueberall an den AppIniManger zu kommen
-
-{
- SfxIniManager* _pIniManager;
-
-public:
- TYPEINFO();
- SfxAppIniManagerProperty()
- : _pIniManager(0)
- {}
- ~SfxAppIniManagerProperty();
-
- SfxIniManager* GetIniManager() const { return _pIniManager; }
- void SetIniManager( SfxIniManager *pIniManager )
- { _pIniManager = pIniManager; }
-};
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list