vcl/aqua/source/app/salsys.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6308a43f76169af4eb2b08f4913ddbe766ab534d
Author: Tor Lillqvist <[email protected]>
Date:   Thu Dec 26 18:00:28 2013 +0200

    WaE: format string is not a string literal (potentially insecure)
    
    (cherry picked from commit 765cd0ebaabf9cf7948ae1424681de144c7d267e)
    Signed-off-by: Tor Lillqvist <[email protected]>
    
    Change-Id: I568817c33aa555bc8aef93105e6a00be1d4b501d
    Reviewed-on: https://gerrit.libreoffice.org/8753
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/vcl/aqua/source/app/salsys.cxx b/vcl/aqua/source/app/salsys.cxx
index 3cfcb3c..8058a95 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];
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to