summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koerner <wk661lo@gmail.com>2012-12-29 13:24:20 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-07 16:51:29 +0100
commit02369ca82db8326058d38403c91185fdeb7311d8 (patch)
tree503b2f0d004a6ed207d10bfbb11c52cfa598dc78
parentabf0ed8400d7787fec906b21de74698936d40e28 (diff)
Fix wrong bracketing
Wrong bracketing, item is put at a which-id of sal_false. Change-Id: Ic4216519d74de75690b21a3efa5083e79aa5b83d Reviewed-on: https://gerrit.libreoffice.org/1498 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 06bdc1e3ae8e93154dc9b9487691b547348c8634)
-rw-r--r--sw/source/ui/shells/textsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index 1124d5119dec..c351e3847a0b 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -1426,7 +1426,7 @@ void SwTextShell::GetState( SfxItemSet &rSet )
break;
case FN_GLOSSARY_DLG:
{
- rSet.Put(SfxBoolItem(nWhich), sal_True);
+ rSet.Put( SfxBoolItem( nWhich, sal_True ) );
}
break;