[Libreoffice-commits] .: toolkit/source

David Tardon dtardon at kemper.freedesktop.org
Sun Jan 30 23:36:31 PST 2011


 toolkit/source/awt/vclxwindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2e6d88bb08187c6f816124fa9494cad51e42f51
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Jan 31 08:34:11 2011 +0100

    use the right variable
    
    Not that it matters much, as nWheelBehavior has the same value...

diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 8b0409f..525637f 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -1518,7 +1518,7 @@ void VCLXWindow::setProperty( const ::rtl::OUString& PropertyName, const ::com::
                 OSL_ENSURE( false, "VCLXWindow::setProperty( 'MouseWheelBehavior' ): illegal property value!" );
             }
 
-            aMouseSettings.SetWheelBehavior( nWheelBehavior );
+            aMouseSettings.SetWheelBehavior( nVclBehavior );
             aSettings.SetMouseSettings( aMouseSettings );
             pWindow->SetSettings( aSettings, TRUE );
         }


More information about the Libreoffice-commits mailing list