summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-03 23:08:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-06-03 23:08:30 +0200
commit5c66da2c9233832296db6cafae223d81df37d5fe (patch)
tree594ac61783a8e8f48ef58cfe2dd29d6a5a2a6124
parentd7904330fd38af65b4448045909f42a3c0a994bb (diff)
Fix variable value reassigned before old value used
Change-Id: Ied47c5268b4554b219028281916d884aebf816dd
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 88fd6aa5f4f9..cc9ada9010ce 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 ) );
rapper&id=dc06c8f4989fc28d0c31ebd333e53dfe0e0f5f66'>-Werror=redundant-move (GCC 9), take twoStephan Bergmann 2018-08-08tdf#112343 Change dependency from dbus-glib to dbusArkadiy Illarionov 2018-08-04fillUnoException not working on std::rethrow_exception exceptionsCaolán McNamara 2018-07-07Drop TEST_FONTS_MISSING for HAVE_MORE_FONTSKhaled Hosny 2018-07-04Make brittle SortedAutoCompleteStrings ownership handling more explicitStephan Bergmann 2018-05-23rename config_extension_update.h.in to config_extensions.h.inRene Engelhard 2018-05-22Fix misleading comment: We do check HAVE_FEATURE_READONLY_INSTALLSET...Tor Lillqvist 2018-05-11(try to) fix dbaccess firebird-related testsRene Engelhard 2018-05-10move Java from config_features to already existing config_javaRene Engelhard 2018-05-10sal: log windows traces to debugger console, take twoThorsten Behrens 2018-05-08sal: log windows trace output to debugger consoleThorsten Behrens 2018-05-07configure option to disable libnumbertextNoel Grandin 2018-03-18properly check for gpgconf (and --create-socketdir) workingRene Engelhard 2018-01-23Introduce gtk3_kde5 vcl pluginMilian Wolff 2018-01-23Extend build system to support linking against KDE Frameworks 5Milian Wolff 2017-12-22request installation of langpack via packagekitCaolán McNamara 2017-12-14external: upload libepubgen-0.1.0Miklos Vajna 2017-12-09gpg4libre: check if we can really verify OpenPGP signaturesThorsten Behrens 2017-12-08gpg4libre: rename GPGME_HAVE_GPGME to HAVE_FEATURE_GPGMEThorsten Behrens 2017-12-06Work around latest Boost 1.65.1 still using deprecated std::auto_ptrStephan Bergmann 2017-12-05android: fix gpgme buildMiklos Vajna 2017-12-05gpg4libre: add gpgme config header where gpgme.h is includedThorsten Behrens 2017-11-23gpg4libre: conditional-compile gpgme codeThorsten Behrens 2017-11-08Drop HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STLStephan Bergmann 2017-11-06QT5 first stab on implementing CommonSalLayoutJan-Marek Glogowski 2017-11-06KF5 seperate Qt5 detection from KF5Jan-Marek Glogowski 2017-10-30related: tdf#103884 remove gltf/collada featureThorsten Behrens 2017-10-24config_lgpl.h.in: fix loplugin:includeform warningMiklos Vajna