diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-28 17:21:47 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-29 21:29:24 -0430 |
commit | 7cc0477506ffa023b6e360863e43c8afc90b8712 (patch) | |
tree | a16d9ba6ba6d8da60e2df5d97be8d8920aee5082 | |
parent | 5dd1eb17806a7acebdb0323d76111006ce3ee7fb (diff) |
Move TemplateSearchViewItem to its own header.
Change-Id: Ie00b5e81fdae69dea31be2a680b0d37f867b5f4e
-rw-r--r-- | sfx2/source/control/templatesearchview.cxx | 15 | ||||
-rw-r--r-- | sfx2/source/inc/templatesearchviewitem.hxx | 30 |
2 files changed, 31 insertions, 14 deletions
diff --git a/sfx2/source/control/templatesearchview.cxx b/sfx2/source/control/templatesearchview.cxx index edd4bd4314ae..620d81595a7d 100644 --- a/sfx2/source/control/templatesearchview.cxx +++ b/sfx2/source/control/templatesearchview.cxx @@ -9,20 +9,7 @@ #include "templatesearchview.hxx" -#include <sfx2/templateviewitem.hxx> - -struct TemplateSearchViewItem : public TemplateViewItem -{ - TemplateSearchViewItem (ThumbnailView &rView, Window *pParent) - : TemplateViewItem(rView,pParent) - {} - - virtual ~TemplateSearchViewItem () - {} - - sal_uInt16 mnIdx; // Template associated Index - sal_uInt16 mnRegionId; // Template associated Region id -}; +#include "templatesearchviewitem.hxx" TemplateSearchView::TemplateSearchView (Window *pParent, WinBits nWinStyle) : ThumbnailView(pParent,nWinStyle) diff --git a/sfx2/source/inc/templatesearchviewitem.hxx b/sfx2/source/inc/templatesearchviewitem.hxx new file mode 100644 index 000000000000..185560a890c9 --- /dev/null +++ b/sfx2/source/inc/templatesearchviewitem.hxx @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef __SFX2_TEMPLATESEARCHVIEWITEM_HXX__ +#define __SFX2_TEMPLATESEARCHVIEWITEM_HXX__ + +#include <sfx2/templateviewitem.hxx> + +struct TemplateSearchViewItem : public TemplateViewItem +{ + TemplateSearchViewItem (ThumbnailView &rView, Window *pParent) + : TemplateViewItem(rView,pParent) + {} + + virtual ~TemplateSearchViewItem () + {} + + sal_uInt16 mnIdx; // Template associated Index + sal_uInt16 mnRegionId; // Template associated Region id +}; + +#endif // __SFX2_TEMPLATESEARCHVIEWITEM_HXX__ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |