[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 05:32:06 PST 2013


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

New commits:
commit 06bdc1e3ae8e93154dc9b9487691b547348c8634
Author: Werner Koerner <wk661lo at 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 <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at 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;
 


More information about the Libreoffice-commits mailing list