diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-11 13:04:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-13 16:16:39 +0200 |
commit | d854687a1316783e40d227756fef08af925e93e6 (patch) | |
tree | c6314a26cc9fa4d8dd43ecf4a101400b8562a33e /include | |
parent | 226fcda0a888c4959b1f895de31856f1624f04ee (diff) |
SvxFontPrevWindow is now unused
sc/uiconfig/scalc/ui/conditionalentrymobile.ui was already non-functional
before this change
Change-Id: I07743a8fcca4b3cf325ce3d3d0699bf68c0115f3
Reviewed-on: https://gerrit.libreoffice.org/80690
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/fntctrl.hxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 5332c98ed52e..f2489c750f3c 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -28,35 +28,6 @@ class SfxItemSet; class FontPrevWin_Impl; -class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxFontPrevWindow : public vcl::Window -{ - using OutputDevice::SetFont; -private: - std::unique_ptr<FontPrevWin_Impl> pImpl; - bool mbResetForeground : 1; - bool mbResetBackground : 1; - - SVX_DLLPRIVATE void ResetSettings(bool bForeground, bool bBackground); - SVX_DLLPRIVATE void ApplySettings(vcl::RenderContext& rRenderContext) override; - SVX_DLLPRIVATE void Init (); - -public: - SvxFontPrevWindow(vcl::Window* pParent, WinBits nStyle); - virtual ~SvxFontPrevWindow() override; - virtual void dispose() override; - - virtual void StateChanged( StateChangedType nStateChange ) override; - virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; - - void SetFont( const SvxFont& rNormalFont, const SvxFont& rCJKFont, const SvxFont& rCTLFont ); - void SetBackColor( const Color& rColor ); - void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override; - - bool IsTwoLines() const; - - virtual Size GetOptimalSize() const override; -}; - class SAL_WARN_UNUSED SVX_DLLPUBLIC FontPrevWindow : public weld::CustomWidgetController { private: |