From 3888b5e0000c27c0f1de283e05a6daf0196553b4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Jan 2020 11:53:28 +0000 Subject: SvxCharViewControl is newly unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8319f6498b6c2adf74c94c76d78aa02cabc01c64 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86689 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/sfx2/charwin.hxx | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'include') diff --git a/include/sfx2/charwin.hxx b/include/sfx2/charwin.hxx index 06d971d0f304..26337be0913d 100644 --- a/include/sfx2/charwin.hxx +++ b/include/sfx2/charwin.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SFX2_INC_CHARWIN_HXX #include -#include #include #include #include @@ -71,37 +70,6 @@ public: void ContextMenuSelect(const OString& rIdent); }; -class SvxCharViewControl final : public Control -{ -public: - SvxCharViewControl(vcl::Window* pParent); - - void SetFont( const vcl::Font& rFont ); - void SetText( const OUString& rText ) override; - void InsertCharToDoc(); - - void createContextMenu(); - - virtual void Resize() override; - - virtual Size GetOptimalSize() const override; - - void setMouseClickHdl(const Link &rLink); - -private: - virtual void Paint(vcl::RenderContext& rRenderContext, const ::tools::Rectangle&) override; - - virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; - - virtual void KeyInput( const KeyEvent& rKEvt ) override; - - long mnY; - Point maPosition; - vcl::Font maFont; - - Link maMouseClickHdl; -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit