Kaydet (Commit) b55fda6d authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: V785 Constant expression in switch statement

Change-Id: I2ac33db8d265f1af1c8fc8def2d3a45c5be37741
Reviewed-on: https://gerrit.libreoffice.org/62154
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst ceaf6f7a
...@@ -1074,12 +1074,7 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa ...@@ -1074,12 +1074,7 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa
if ( xProv.is() ) if ( xProv.is() )
{ {
URL aURL; URL aURL;
switch(_nId) aURL.Complete = ".uno:Open";
{
case SID_OPENDOC:
aURL.Complete = ".uno:Open";
break;
}
if ( m_xUrlTransformer.is() ) if ( m_xUrlTransformer.is() )
m_xUrlTransformer->parseStrict( aURL ); m_xUrlTransformer->parseStrict( aURL );
......
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