summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-17 08:56:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-20 15:02:38 +0100
commitc6e576da95074215d1dcfbcc4b7c4fad6cdeb27c (patch)
tree7d53362fea92636c1fca479bbd7a45b60edf00fc /sfx2
parent05b2cd081452571dde558b5376d0db41f9049ab4 (diff)
Resolves: #i122329# Disable undocking of stylist in the sidebar
(cherry picked from commit 8dc875f17c0cdd41e7ba6ad2f4c1ea3bda1a8be2) Change-Id: I1a19135d3496463c8759e341449fa51d389fa264 (cherry picked from commit 048eca411083bc8a2ef95e5701bf7eba5d232a2d)
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 7853b729c6ac..3d81345f8767 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -398,6 +398,8 @@ SfxTemplatePanelControl::SfxTemplatePanelControl (
OSL_ASSERT(mpBindings!=NULL);
pImpl->updateNonFamilyImages();
+
+ SetStyle(GetStyle() & ~WB_DOCKABLE);
}