diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-10-31 22:04:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-01 15:14:33 +0100 |
commit | 7a896f183dca54aa9d8529f5797920cf629f9210 (patch) | |
tree | c4475c2352c5dcab2521709db12199fa7084c2fb /starmath/inc | |
parent | 9aa8552bf9168836662b45798e06de4b972550ed (diff) |
use officecfg for Experimental flag
move IsShowOutlineContentVisibilityButton out of header to
avoid having to add extra include paths to all the unit
test makefiles.
Change-Id: I2763390e07cd85b8f09b6f2ad7702039daecb22f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105100
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/edit.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/view.hxx | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx index 43ef648ddd95..421554834314 100644 --- a/starmath/inc/edit.hxx +++ b/starmath/inc/edit.hxx @@ -123,7 +123,7 @@ public: void DeleteEditView(); bool HandleWheelCommands(const CommandEvent& rCEvt); - bool IsInlineEditEnabled(); + static bool IsInlineEditEnabled(); void StartCursorMove(); // for Accessibility diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index eab940b2ed86..ee4e17b10767 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -30,7 +30,6 @@ #include <sfx2/ctrlitem.hxx> #include <sfx2/shell.hxx> #include <sfx2/viewfrm.hxx> -#include <svtools/miscopt.hxx> #include <vcl/timer.hxx> #include "document.hxx" #include "edit.hxx" @@ -108,7 +107,7 @@ private: using Window::SetCursor; void SetCursor(const SmNode *pNode); void SetCursor(const tools::Rectangle &rRect); - bool IsInlineEditEnabled() const; + static bool IsInlineEditEnabled(); virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override; virtual void KeyInput(const KeyEvent& rKEvt) override; @@ -213,7 +212,6 @@ class SmViewShell: public SfxViewShell { std::unique_ptr<sfx2::DocumentInserter> mpDocInserter; std::unique_ptr<SfxRequest> mpRequest; - SvtMiscOptions maOpts; VclPtr<SmGraphicWindow> mpGraphic; SmGraphicController maGraphicController; OUString maStatusText; @@ -309,7 +307,7 @@ public: void SetInsertIntoEditWindow(bool bEditWindowHadFocusLast){ mbInsertIntoEditWindow = bEditWindowHadFocusLast; } - bool IsInlineEditEnabled() const; + static bool IsInlineEditEnabled(); private: void ZoomByItemSet(const SfxItemSet *pSet); |