sw/source/ui/shells/textsh1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 06bdc1e3ae8e93154dc9b9487691b547348c8634
Author: Werner Koerner <wk66...@gmail.com>
Date:   Sat Dec 29 13:24:20 2012 +0100

    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 <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index 1124d51..c351e38 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;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to