[Libreoffice-commits] core.git: svx/source
Maxim Monastirsky
momonasmon at gmail.com
Thu Oct 6 18:50:55 UTC 2016
svx/source/tbxctrls/extrusioncontrols.cxx | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
New commits:
commit c872e3c432566811e7644e76d1359b91fb377144
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Thu Oct 6 21:44:32 2016 +0300
Extrusion controls should not allow tearoff
Change-Id: Ie4e2b42d3f261ded4f2c8778e6a099103d7d3663
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index b09e435..aab9155 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -62,8 +62,7 @@ ExtrusionDirectionWindow::ExtrusionDirectionWindow(
const css::uno::Reference< css::frame::XFrame >& rFrame,
vcl::Window* pParentWindow
)
- : ToolbarMenu(rFrame, pParentWindow,
- WB_MOVEABLE|WB_CLOSEABLE|WB_HIDE|WB_3DLOOK)
+ : ToolbarMenu(rFrame, pParentWindow, WB_STDPOPUP)
, mrController(rController)
, maImgPerspective(SVX_RES(RID_SVXIMG_PERSPECTIVE))
, maImgParallel(SVX_RES(RID_SVXIMG_PARALLEL))
@@ -323,7 +322,7 @@ ExtrusionDepthWindow::ExtrusionDepthWindow(
svt::ToolboxController& rController,
const css::uno::Reference< css::frame::XFrame >& rFrame,
vcl::Window* pParentWindow
-) : ToolbarMenu( rFrame, pParentWindow, WB_MOVEABLE|WB_CLOSEABLE|WB_HIDE|WB_3DLOOK)
+) : ToolbarMenu( rFrame, pParentWindow, WB_STDPOPUP )
, mrController( rController )
, maImgDepth0(SVX_RES(RID_SVXIMG_DEPTH_0))
, maImgDepth1(SVX_RES(RID_SVXIMG_DEPTH_1))
@@ -530,7 +529,7 @@ static const char g_sExtrusionLightingIntensity[] = ".uno:ExtrusionLightingInten
ExtrusionLightingWindow::ExtrusionLightingWindow(svt::ToolboxController& rController,
const css::uno::Reference<css::frame::XFrame >& rFrame,
vcl::Window* pParentWindow)
- : ToolbarMenu(rFrame, pParentWindow, WB_MOVEABLE|WB_CLOSEABLE|WB_HIDE|WB_3DLOOK)
+ : ToolbarMenu(rFrame, pParentWindow, WB_STDPOPUP)
, mrController(rController)
, maImgBright(SVX_RES(RID_SVXIMG_LIGHTING_BRIGHT))
, maImgNormal(SVX_RES(RID_SVXIMG_LIGHTING_NORMAL))
@@ -800,7 +799,7 @@ ExtrusionSurfaceWindow::ExtrusionSurfaceWindow(
svt::ToolboxController& rController,
const css::uno::Reference< css::frame::XFrame >& rFrame,
vcl::Window* pParentWindow)
- : ToolbarMenu(rFrame, pParentWindow, WB_MOVEABLE|WB_CLOSEABLE|WB_HIDE|WB_3DLOOK)
+ : ToolbarMenu(rFrame, pParentWindow, WB_STDPOPUP)
, mrController(rController)
, maImgSurface1(SVX_RES(RID_SVXIMG_WIRE_FRAME))
, maImgSurface2(SVX_RES(RID_SVXIMG_MATTE))
More information about the Libreoffice-commits
mailing list