summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/controlfontdialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/controlfontdialog.hxx')
-rw-r--r--extensions/source/propctrlr/controlfontdialog.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/extensions/source/propctrlr/controlfontdialog.hxx b/extensions/source/propctrlr/controlfontdialog.hxx
index 0f7dba0b1ed5..29dd95d2192a 100644
--- a/extensions/source/propctrlr/controlfontdialog.hxx
+++ b/extensions/source/propctrlr/controlfontdialog.hxx
@@ -17,15 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_CONTROLFONTDIALOG_HXX
-#define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_CONTROLFONTDIALOG_HXX
+#pragma once
#include <comphelper/proparrhlp.hxx>
#include <svtools/genericunodialog.hxx>
+#include <svtools/ctrltool.hxx>
class SfxItemSet;
class SfxItemPool;
-class SfxPoolItem;
namespace pcr
{
@@ -45,9 +44,8 @@ namespace pcr
// </properties>
std::unique_ptr<SfxItemSet> m_pFontItems; // item set for the dialog
- SfxItemPool* m_pItemPool; // item pool for the item set for the dialog
- std::vector<SfxPoolItem*>*
- m_pItemPoolDefaults; // pool defaults
+ rtl::Reference<SfxItemPool> m_pItemPool; // item pool for the item set for the dialog
+ FontList maFontList;
public:
explicit OControlFontDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
@@ -80,6 +78,4 @@ namespace pcr
} // namespace pcr
-#endif // INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_CONTROLFONTDIALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */