summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2017-01-18 15:32:29 +0100
committerSzymon Kłos <eszkadev@gmail.com>2017-01-18 17:52:29 +0000
commitb93856a666cc0af099c934669a3d593116456b84 (patch)
tree1bc332bbc4d4729007a9c6bc579c2636f2ae4cb5 /sw/sdi
parentbc6479e92b56df742dd7339d337ffc78d2f9e4a1 (diff)
tdf#102142 : Disable edit paragraph style in the print preview mode
Before that patch clicking on the Edit button in the print preview mode was causing a crash. Change-Id: Idd6ab2f16f515caa1d5fd3ed4ccdf9ae681849b5 Reviewed-on: https://gerrit.libreoffice.org/33269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_docsh.sdi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/sdi/_docsh.sdi b/sw/sdi/_docsh.sdi
index 3bb9b7fb2fce..f85f95f51edb 100644
--- a/sw/sdi/_docsh.sdi
+++ b/sw/sdi/_docsh.sdi
@@ -38,7 +38,7 @@ interface BaseTextDocument
SID_STYLE_EDIT
[
ExecMethod = ExecStyleSheet ;
- StateMethod = NoState ;
+ StateMethod = StateStyleSheet ;
]
SID_STYLE_DELETE