diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-26 18:00:28 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-26 12:46:55 +0200 |
commit | f99a9a925951b682b8d4918f18f877b6a478f628 (patch) | |
tree | 00e9290caf049fd16be7b47751d01601831c1c5b /vcl | |
parent | 0f6bbf15962cb4beaffe6b04a5836fe776c77925 (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]; |