summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-03 14:04:00 +0200
commit065a8ea524dacb8bda2ee00d0a6a08964823e0f5 (patch)
tree3ce875f3b83eec5c296a5c5efa93b0ebc9f93bbe /fpicker
parent602867578e1e1c1d2cd89a6ef619c729482a0617 (diff)
loplugin:oncevar (clang-cl): fpicker
Change-Id: I13e11f07a8022b315ffa80282575472bcb0c3acc
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index f0481f5a756b..449be62fb848 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -243,9 +243,8 @@ void VistaFilePicker::ensureInit()
if ( !bInitialized )
{
- sal_Int16 nTemplateDescription = css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE;
css::uno::Sequence < css::uno::Any > aInitArguments(1);
- aInitArguments[0] <<= nTemplateDescription;
+ aInitArguments[0] <<= css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE;
initialize(aInitArguments);
}
}