summaryrefslogtreecommitdiffstats
path: root/starmath/source/smmod.cxx
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2015-11-02 21:43:24 -0200
committerCaolán McNamara <caolanm@redhat.com>2015-11-10 11:54:27 +0000
commite2bfbfcb809329b9ed0bdd2fee14f343ca3603dd (patch)
treed3608f5b5b4056d81d28985237dbdebee8c8621f /starmath/source/smmod.cxx
parentloplugin:oncevar (diff)
downloadcore-e2bfbfcb809329b9ed0bdd2fee14f343ca3603dd.tar.gz
core-e2bfbfcb809329b9ed0bdd2fee14f343ca3603dd.zip
tdf#43090: Add option to disable auto close brackets
As many users asked, now there is a checkbox inside Tools->Math called "Auto close brackets, parentheses and braces". This option is enabled by default, but can be turned off now. Change-Id: I6f96201c0720fb62fc2dce99222f97194e930fbe Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/19750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source/smmod.cxx')
-rw-r--r--starmath/source/smmod.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index 7ded9e325851..45b546704c51 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -274,6 +274,7 @@ SfxItemSet* SmModule::CreateItemSet( sal_uInt16 nId )
SID_PRINTFRAME, SID_PRINTFRAME,
SID_NO_RIGHT_SPACES, SID_NO_RIGHT_SPACES,
SID_SAVE_ONLY_USED_SYMBOLS, SID_SAVE_ONLY_USED_SYMBOLS,
+ SID_AUTO_CLOSE_BRACKETS, SID_AUTO_CLOSE_BRACKETS,
0 );
GetConfig()->ConfigToItemSet(*pRet);