diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-17 22:23:46 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-18 09:32:47 +0100 |
commit | e913e9efdf2740505900cf7430523cf4fd33b4b3 (patch) | |
tree | 9ef69ffc8d402a04f802942c0078924bd384fdf0 /sfx2/inc | |
parent | d998e633e74eba87ffd0f41b98e6aa13180adf67 (diff) |
sfx2: renamed TemplateLocalViewItem into TemplateContainerItem
Change-Id: I8ff318a7bcad21c4fe8d5dda818fad5763a6ff02
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/templatelocalview.hxx | 6 | ||||
-rw-r--r-- | sfx2/inc/sfx2/templatelocalviewitem.hxx | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/sfx2/inc/sfx2/templatelocalview.hxx b/sfx2/inc/sfx2/templatelocalview.hxx index dac7fedf8634..c5a1f848c875 100644 --- a/sfx2/inc/sfx2/templatelocalview.hxx +++ b/sfx2/inc/sfx2/templatelocalview.hxx @@ -16,7 +16,7 @@ #include <sfx2/templateproperties.hxx> class SfxDocumentTemplates; -class TemplateLocalViewItem; +class TemplateContainerItem; namespace com { namespace sun { namespace star { namespace frame { @@ -59,7 +59,7 @@ public: bool copyFrom (const sal_uInt16 nRegionItemId, const BitmapEx &rThumbnail, const OUString &rPath); - bool copyFrom(TemplateLocalViewItem *pItem, const OUString &rPath); + bool copyFrom(TemplateContainerItem *pItem, const OUString &rPath); bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName); @@ -67,7 +67,7 @@ public: com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rModel, const OUString &rName); - bool saveTemplateAs (const TemplateLocalViewItem *pDstItem, + bool saveTemplateAs (const TemplateContainerItem *pDstItem, com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rModel, const OUString &rName); diff --git a/sfx2/inc/sfx2/templatelocalviewitem.hxx b/sfx2/inc/sfx2/templatelocalviewitem.hxx index 739f70ed46af..2c2d18bafb51 100644 --- a/sfx2/inc/sfx2/templatelocalviewitem.hxx +++ b/sfx2/inc/sfx2/templatelocalviewitem.hxx @@ -13,18 +13,16 @@ #include <sfx2/templateproperties.hxx> #include <sfx2/thumbnailviewitem.hxx> -class TemplateViewItem; - -class TemplateLocalViewItem : public ThumbnailViewItem +class TemplateContainerItem : public ThumbnailViewItem { public: BitmapEx maPreview2; std::vector<TemplateItemProperties> maTemplates; - TemplateLocalViewItem (ThumbnailView &rView); + TemplateContainerItem (ThumbnailView &rView); - virtual ~TemplateLocalViewItem (); + virtual ~TemplateContainerItem (); const Point& getPrev2Pos () const { return maPrev2Pos; } |