summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-10-06 22:42:15 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-10-06 23:54:22 +0300
commit5507e9dda79b769e8bb2c079f725d93931e5c1c5 (patch)
tree85631ac15243a45309b85b86593c42bc7f59b87a /svx
parentee0992bd8ba10e47e9e9a383e5eb2def03d94813 (diff)
Fontwork controls should not allow tearoff
Change-Id: I243d29779247a8ebf622e989161d90a8b343704e
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/fontworkgallery.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index 0ee971dd8865..58968b0a5eb0 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -268,7 +268,7 @@ private:
FontworkAlignmentWindow::FontworkAlignmentWindow(svt::ToolboxController& rController,
const 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)
, maImgAlgin1(SVX_RES(RID_SVXIMG_FONTWORK_ALIGN_LEFT))
, maImgAlgin2(SVX_RES(RID_SVXIMG_FONTWORK_ALIGN_CENTER))
@@ -431,7 +431,7 @@ private:
FontworkCharacterSpacingWindow::FontworkCharacterSpacingWindow(svt::ToolboxController& rController,
const 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)
, msFontworkCharacterSpacing(".uno:FontworkCharacterSpacing")
, msFontworkKernCharacterPairs(".uno:FontworkKernCharacterPairs")