summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/newstyle.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-27 16:54:50 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-27 17:15:55 +0200
commita1c081a7c213a56321b0b60651a1dbd63bcaec80 (patch)
tree52d8070fc39e37d42f5d9c9a4c0147757859fab8 /sfx2/source/dialog/newstyle.cxx
parent21a4f5df04849a943764918147183ffba3710e87 (diff)
Revert "SfxStyleSheetBasePool: remove internal iterator"
This reverts commit 3a46d91f8de420f38dd763028e91229c846dff52. This breaks the Stylist, not sure why (does it depend on something setting the search flags before?) so revert for now. Change-Id: Ia50feeebae8bf852c827e4f270e81e9f08d2b1ac
Diffstat (limited to 'sfx2/source/dialog/newstyle.cxx')
-rw-r--r--sfx2/source/dialog/newstyle.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/dialog/newstyle.cxx b/sfx2/source/dialog/newstyle.cxx
index 18780f20c3b3..a81cd6d2a38e 100644
--- a/sfx2/source/dialog/newstyle.cxx
+++ b/sfx2/source/dialog/newstyle.cxx
@@ -81,13 +81,11 @@ SfxNewStyleDlg::SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& rInPool
aColBox.SetDoubleClickHdl(LINK(this, SfxNewStyleDlg, OKHdl));
// aColBox.SetAccessibleName(SfxResId(FL_COL).toString());
- SfxStyleSheetIterator iter(&rPool,
- rPool.GetSearchFamily(), rPool.GetSearchMask());
- SfxStyleSheetBase *pStyle = iter.First();
+ SfxStyleSheetBase *pStyle = rPool.First();
while ( pStyle )
{
aColBox.InsertEntry(pStyle->GetName());
- pStyle = iter.Next();
+ pStyle = rPool.Next();
}
}