newstyle.cxx (d119d52d) | newstyle.cxx (0deba7fb) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 73 unchanged lines hidden (view full) --- 82 rPool( rInPool ) 83 84{ 85 FreeResource(); 86 87 aOKBtn.SetClickHdl(LINK(this, SfxNewStyleDlg, OKHdl)); 88 aColBox.SetModifyHdl(LINK(this, SfxNewStyleDlg, ModifyHdl)); 89 aColBox.SetDoubleClickHdl(LINK(this, SfxNewStyleDlg, OKHdl)); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 73 unchanged lines hidden (view full) --- 82 rPool( rInPool ) 83 84{ 85 FreeResource(); 86 87 aOKBtn.SetClickHdl(LINK(this, SfxNewStyleDlg, OKHdl)); 88 aColBox.SetModifyHdl(LINK(this, SfxNewStyleDlg, ModifyHdl)); 89 aColBox.SetDoubleClickHdl(LINK(this, SfxNewStyleDlg, OKHdl)); |
90 // aColBox.SetAccessibleName(SfxResId(FL_COL)); | 90 aColBox.SetAccessibleName(SfxResId(FL_COL)); |
91 92 SfxStyleSheetBase *pStyle = rPool.First(); 93 while ( pStyle ) 94 { 95 aColBox.InsertEntry(pStyle->GetName()); 96 pStyle = rPool.Next(); 97 } 98} 99 100// ----------------------------------------------------------------------- 101 102__EXPORT SfxNewStyleDlg::~SfxNewStyleDlg() 103{ 104} 105 | 91 92 SfxStyleSheetBase *pStyle = rPool.First(); 93 while ( pStyle ) 94 { 95 aColBox.InsertEntry(pStyle->GetName()); 96 pStyle = rPool.Next(); 97 } 98} 99 100// ----------------------------------------------------------------------- 101 102__EXPORT SfxNewStyleDlg::~SfxNewStyleDlg() 103{ 104} 105 |