vcl/unx/kde/UnxFilePicker.cxx | 8 ++++---- vcl/unx/kde4/KDE4FilePicker.cxx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)
New commits: commit d817456fb0f5c55ea47c16a18c44da107a24b906 Author: Jochen Nitschke <j.nitschke+loger...@ok.de> Date: Sat Jan 28 17:19:17 2017 +0000 loplugin:stringconstant Change-Id: I4e2e0aba2930d7c4ee60567d1d65e0e773a470bf Reviewed-on: https://gerrit.libreoffice.org/33650 Reviewed-by: Jochen Nitschke <j.nitschke+loger...@ok.de> Tested-by: Jochen Nitschke <j.nitschke+loger...@ok.de> diff --git a/vcl/unx/kde/UnxFilePicker.cxx b/vcl/unx/kde/UnxFilePicker.cxx index 3ec3e18..b6b9da2 100644 --- a/vcl/unx/kde/UnxFilePicker.cxx +++ b/vcl/unx/kde/UnxFilePicker.cxx @@ -615,14 +615,14 @@ void SAL_CALL UnxFilePicker::initialize( const uno::Sequence<uno::Any> &rArgumen uno::Any aAny; if ( 0 == rArguments.getLength( ) ) throw lang::IllegalArgumentException( - OUString( "no arguments" ), + "no arguments", static_cast< XFilePicker2* >( this ), 1 ); aAny = rArguments[0]; if ( ( aAny.getValueType() != cppu::UnoType<sal_Int16>::get()) && ( aAny.getValueType() != cppu::UnoType<sal_Int8>::get()) ) throw lang::IllegalArgumentException( - OUString( "invalid argument type" ), + "invalid argument type", static_cast< XFilePicker2* >( this ), 1 ); sal_Int16 templateId = -1; @@ -719,7 +719,7 @@ void SAL_CALL UnxFilePicker::initialize( const uno::Sequence<uno::Any> &rArgumen default: throw lang::IllegalArgumentException( - OUString( "Unknown template" ), + "Unknown template", static_cast< XFilePicker2* >( this ), 1 ); } @@ -853,7 +853,7 @@ void UnxFilePicker::checkFilePicker() else { throw uno::RuntimeException( - OUString( "the external file picker does not run" ), + "the external file picker does not run", *this ); } } diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx index 4576076..70f2b7e 100644 --- a/vcl/unx/kde4/KDE4FilePicker.cxx +++ b/vcl/unx/kde4/KDE4FilePicker.cxx @@ -626,7 +626,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args ) if (args.getLength() == 0) { throw lang::IllegalArgumentException( - OUString( "no arguments" ), + "no arguments", static_cast< XFilePicker2* >( this ), 1 ); } @@ -636,7 +636,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args ) ( arg.getValueType() != cppu::UnoType<sal_Int8>::get())) { throw lang::IllegalArgumentException( - OUString( "invalid argument type" ), + "invalid argument type", static_cast< XFilePicker2* >( this ), 1 ); } @@ -717,7 +717,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args ) default: throw lang::IllegalArgumentException( - OUString( "Unknown template" ), + "Unknown template", static_cast< XFilePicker2* >( this ), 1 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits