summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 13:20:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-22 20:21:48 +0100
commit420a65c107551156e69578c432261dd6dc7b882b (patch)
tree18f037329d5d697b948fa7dcfc77be5a3e88deaa /starmath/source/view.cxx
parent1c7d3390022908cfbfd30f55e8c0c3b60a045da7 (diff)
Revert "unused SID command in starmath"
This reverts commit b9c6f2de8bdcdcb95fb4f0457ee2fd0e1c42eb5b. Change-Id: Ice33baa738c025de72ceb11cf6746e017fb27484 Reviewed-on: https://gerrit.libreoffice.org/46964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 2bd4e70f1a36..11c5b7148488 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1694,6 +1694,11 @@ void SmViewShell::Execute(SfxRequest& rReq)
break;
}
+ case SID_GETEDITTEXT:
+ if (pWin)
+ if (!pWin->GetText().isEmpty()) GetDoc()->SetText( pWin->GetText() );
+ break;
+
case SID_ATTR_ZOOM:
{
if ( !GetViewFrame()->GetFrame().IsInPlace() )