Kaydet (Commit) bcad6c7e authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4189: local variable is initialized but not referenced

Change-Id: Ibe6ee8225da0090656fbec3ce2253b2c42ddff78
üst a445eb43
...@@ -724,6 +724,8 @@ void VistaFilePickerImpl::impl_sta_SetDefaultName(const RequestRef& rRequest) ...@@ -724,6 +724,8 @@ void VistaFilePickerImpl::impl_sta_SetDefaultName(const RequestRef& rRequest)
// so that the autoextension mechanism can do its job // so that the autoextension mechanism can do its job
BOOL bValue = FALSE; BOOL bValue = FALSE;
HRESULT hResult = iCustom->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, &bValue); HRESULT hResult = iCustom->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, &bValue);
if ( FAILED(hResult) )
return;
if ( bValue ) if ( bValue )
{ {
sal_Int32 nSepPos = sFilename.lastIndexOf( '.' ); sal_Int32 nSepPos = sFilename.lastIndexOf( '.' );
...@@ -759,6 +761,8 @@ void VistaFilePickerImpl::impl_sta_setFiltersOnDialog() ...@@ -759,6 +761,8 @@ void VistaFilePickerImpl::impl_sta_setFiltersOnDialog()
BOOL bValue = FALSE; BOOL bValue = FALSE;
HRESULT hResult = iCustomize->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, &bValue); HRESULT hResult = iCustomize->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, &bValue);
if ( FAILED(hResult) )
return;
if ( bValue ) if ( bValue )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment