sfx2/source/dialog/filedlghelper.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5c66da2c9233832296db6cafae223d81df37d5fe
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Mon Jun 3 23:08:30 2013 +0200

    Fix variable value reassigned before old value used
    
    Change-Id: Ied47c5268b4554b219028281916d884aebf816dd

diff --git a/sfx2/source/dialog/filedlghelper.cxx 
b/sfx2/source/dialog/filedlghelper.cxx
index 88fd6aa..cc9ada9 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1969,9 +1969,8 @@ void FileDialogHelper_Impl::saveConfig()
 
         try
         {
-            sal_Bool bValue = sal_False;
             aValue = xDlg->getValue( 
ExtendedFilePickerElementIds::CHECKBOX_PREVIEW, 0 );
-            bValue = sal_False;
+            sal_Bool bValue = sal_False;
             aValue >>= bValue;
             aUserData.SetToken( 1, ' ', OUString::number( (sal_Int32) bValue ) 
);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to