diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-08 15:40:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 08:42:33 +0200 |
commit | 61eb53d39a8d90167dc5599c2a2092626788a630 (patch) | |
tree | 4b7b2b2149c178867fa3ab8d048cfce537aa9fab /starmath | |
parent | 0ac80267730300f53e2410ffe9c0883f19f656a6 (diff) |
convert FRAME_DRAW constants to scoped enum
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 3de112fd4616..65a1eccbe48e 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -753,7 +753,7 @@ void SmCmdBoxWindow::Resize() aRect.Bottom() -= CMD_BOX_PADDING; DecorationView aView(this); - aRect = aView.DrawFrame( aRect, FRAME_DRAW_IN | FRAME_DRAW_NODRAW ); + aRect = aView.DrawFrame( aRect, DrawFrameStyle::In, DrawFrameFlags::NoDraw ); aEdit->SetPosSizePixel(aRect.TopLeft(), aRect.GetSize()); SfxDockingWindow::Resize(); @@ -769,7 +769,7 @@ void SmCmdBoxWindow::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectang aRect.Bottom() -= CMD_BOX_PADDING; DecorationView aView(this); - aView.DrawFrame( aRect, FRAME_DRAW_IN ); + aView.DrawFrame( aRect, DrawFrameStyle::In ); } Size SmCmdBoxWindow::CalcDockingSize(SfxChildAlignment eAlign) |