[Libreoffice-commits] .: binfilter/bf_svtools

Joseph Powers jpowers at kemper.freedesktop.org
Mon Jan 10 20:29:10 PST 2011


 binfilter/bf_svtools/source/config/svt_miscopt.cxx |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

New commits:
commit aedaacf2b10889c2433b5728265c4de09cd8e69a
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Mon Jan 10 20:29:06 2011 -0800

    Remove DECLARE_LIST( LinkList, Link * )
    
    It's a read only list, so I deleted it.

diff --git a/binfilter/bf_svtools/source/config/svt_miscopt.cxx b/binfilter/bf_svtools/source/config/svt_miscopt.cxx
index 33c1c2d..0b96110 100644
--- a/binfilter/bf_svtools/source/config/svt_miscopt.cxx
+++ b/binfilter/bf_svtools/source/config/svt_miscopt.cxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * 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
@@ -85,8 +85,6 @@ namespace binfilter
 
 #define VCL_TOOLBOX_STYLE_FLAT				((USHORT)0x0004) // from <vcl/toolbox.hxx>
 
-DECLARE_LIST( LinkList, Link * )
-
 //_________________________________________________________________________________________________________________
 //	private declarations!
 //_________________________________________________________________________________________________________________
@@ -98,7 +96,6 @@ class SvtMiscOptions_Impl : public ConfigItem
     //-------------------------------------------------------------------------------------------------------------
 
     private:
-    LinkList    aList;
     sal_Bool    m_bUseSystemFileDialog;
     sal_Bool    m_bIsUseSystemFileDialogRO;
     sal_Bool    m_bPluginsEnabled;
@@ -376,9 +373,6 @@ SvtMiscOptions_Impl::~SvtMiscOptions_Impl()
     {
         Commit();
     }
-
-    for ( USHORT n=0; n<aList.Count(); )
-        delete aList.Remove(n);
 }
 
 /*-- 25.02.2005 13:22:04---------------------------------------------------
@@ -458,8 +452,6 @@ void SvtMiscOptions_Impl::Load( const Sequence< OUString >& rPropertyNames )
 
 void SvtMiscOptions_Impl::CallListeners()
 {
-    for ( USHORT n = 0; n < aList.Count(); ++n )
-        aList.GetObject(n)->Call( this );
 }
 
 sal_Int16 SvtMiscOptions_Impl::GetSymbolsStyle() const


More information about the Libreoffice-commits mailing list