diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-03-17 21:30:53 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-04-26 14:01:26 +0000 |
commit | 0bdb8baf57ac243f574db6273eed70127379e3fc (patch) | |
tree | 8d20a0b316a9a19341a752527c9c7cc4fa21088c /include | |
parent | 56cd140064149b2055a2f50d86352d539b35bcad (diff) |
Removed useless Template Properties Dialog.
Change-Id: I453abb67de9eb1515f98ff78cc7bebcc69482a1e
Reviewed-on: https://gerrit.libreoffice.org/23339
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/templatedlg.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/templateinfodlg.hxx | 53 |
2 files changed, 0 insertions, 55 deletions
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index ba3dbbf7ae55..74d7e0953976 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -25,7 +25,6 @@ class Edit; class PopupMenu; -class SfxTemplateInfoDlg; class TemplateAbstractView; class TemplateLocalView; class TemplateRemoteView; @@ -89,7 +88,6 @@ private: static void OnTemplateLink (); void OnTemplateOpen (); void OnTemplateEdit (); - void OnTemplateProperties (); void OnTemplateDelete (); void OnTemplateAsDefault (); void OnTemplateExport (); diff --git a/include/sfx2/templateinfodlg.hxx b/include/sfx2/templateinfodlg.hxx deleted file mode 100644 index afa39e49135b..000000000000 --- a/include/sfx2/templateinfodlg.hxx +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- 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 INCLUDED_SFX2_TEMPLATEINFODLG_HXX -#define INCLUDED_SFX2_TEMPLATEINFODLG_HXX - -#include <vcl/dialog.hxx> -#include <vcl/button.hxx> -#include <vcl/layout.hxx> - -namespace svtools { - class ODocumentInfoPreview; -} - -namespace com{ namespace sun { namespace star { namespace awt { class XWindow; } } } } -namespace com{ namespace sun { namespace star { namespace frame { class XFrame2; } } } } - -class SfxTemplateInfoDlg : public ModalDialog -{ -public: - - SfxTemplateInfoDlg (vcl::Window *pParent = nullptr); - - virtual ~SfxTemplateInfoDlg(); - virtual void dispose() override; - - void loadDocument (const OUString &rURL); - -protected: - - DECL_LINK_TYPED(CloseHdl, Button*, void); - -private: - - VclPtr<PushButton> mpBtnClose; - VclPtr<VclBox> mpBox; - - VclPtr<vcl::Window> mpPreviewView; // gets released when xWindows get destroyed (don't delete in constructor) - VclPtr<svtools::ODocumentInfoPreview> mpInfoView; - - css::uno::Reference < css::frame::XFrame2 > m_xFrame; - css::uno::Reference< css::awt::XWindow > xWindow; -}; - -#endif // INCLUDED_SFX2_TEMPLATEINFODLG_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |