[Libreoffice-commits] .: sw/source

Joseph Powers jpowers at kemper.freedesktop.org
Sun Jan 2 07:56:56 PST 2011


 sw/source/ui/chrdlg/swuiccoll.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5599f282ce50852630b8cc78b03a749bd6b2567b
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Sun Jan 2 07:55:33 2011 -0800

    Remove DECLARE_LIST(SfxStyleFilter, SfxFilterTupel*)

diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx
index b09cbab..ad86d7a 100644
--- a/sw/source/ui/chrdlg/swuiccoll.cxx
+++ b/sw/source/ui/chrdlg/swuiccoll.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
@@ -122,10 +122,10 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
     }
 
     const SfxStyleFilter& rFilterList = pFamilyItem->GetFilterList();
-    for( i = 0; i < rFilterList.Count(); ++i)
+    for( size_t i = 0; i < rFilterList.size(); ++i )
     {
-        aFilterLB.InsertEntry(rFilterList.GetObject(i)->aName);
-        USHORT* pFilter = new USHORT(rFilterList.GetObject(i)->nFlags);
+        aFilterLB.InsertEntry( rFilterList[ i ]->aName);
+        USHORT* pFilter = new USHORT( rFilterList[ i ]->nFlags);
         aFilterLB.SetEntryData(i, pFilter);
     }
     aFilterLB.SelectEntryPos(1);


More information about the Libreoffice-commits mailing list