diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-13 11:53:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-14 12:15:56 +0100 |
commit | 3888b5e0000c27c0f1de283e05a6daf0196553b4 (patch) | |
tree | 55c5396f03ee131b412f9da2a7d2859c8825e2cf /include | |
parent | 1c6728a7b52439ed09ed1576517b8037479de1a6 (diff) |
SvxCharViewControl is newly unused
Change-Id: I8319f6498b6c2adf74c94c76d78aa02cabc01c64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86689
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/charwin.hxx | 32 |
1 files changed, 0 insertions, 32 deletions
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 <sfx2/dllapi.h> -#include <vcl/ctrl.hxx> #include <vcl/customweld.hxx> #include <vcl/virdev.hxx> #include <vcl/weld.hxx> @@ -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<SvxCharViewControl*,void> &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<SvxCharViewControl*, void> maMouseClickHdl; -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |