diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-26 18:00:28 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-25 17:04:49 +0000 |
commit | 6308a43f76169af4eb2b08f4913ddbe766ab534d (patch) | |
tree | c74b06e09a621a5eca0917e811f19097c646e649 /vcl | |
parent | 6bdd4e3334b226c3ba7c4a0ca756abf5e49a0fa5 (diff) |
WaE: format string is not a string literal (potentially insecure)
(cherry picked from commit 765cd0ebaabf9cf7948ae1424681de144c7d267e)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I568817c33aa555bc8aef93105e6a00be1d4b501d
Reviewed-on: https://gerrit.libreoffice.org/8753
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/app/salsys.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/app/salsys.cxx b/vcl/aqua/source/app/salsys.cxx index 3cfcb3c1fe94..8058a9565df1 100644 --- a/vcl/aqua/source/app/salsys.cxx +++ b/vcl/aqua/source/app/salsys.cxx @@ -155,7 +155,7 @@ int AquaSalSystem::ShowNativeMessageBox( const OUString& rTitle, } - int nResult = NSRunAlertPanel( pTitle, pMessage, pDefText, pAltText, pOthText ); + int nResult = NSRunAlertPanel( pTitle, @"%@", pDefText, pAltText, pOthText, pMessage ); if( pTitle ) [pTitle release]; |