[Libreoffice-commits] core.git: vcl/osx
Noel Grandin
noel at peralex.com
Fri Mar 27 00:55:54 PDT 2015
vcl/osx/salsys.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 328091014d2dadf9beea74a56cf7ee01e347eccc
Author: Noel Grandin <noel at peralex.com>
Date: Fri Mar 27 09:55:06 2015 +0200
fix OSX build after my StandardButtonType changes - part2
Change-Id: Ifb5d85866d35cdd1c4150ea841194ee5ca8a496e
diff --git a/vcl/osx/salsys.cxx b/vcl/osx/salsys.cxx
index e7e1ab3..a60f260 100644
--- a/vcl/osx/salsys.cxx
+++ b/vcl/osx/salsys.cxx
@@ -139,13 +139,13 @@ int AquaSalSystem::ShowNativeMessageBox( const OUString& rTitle,
{
if( aButtonIds[nC].nDefaultButton == nDefaultButton )
{
- if( aButtonIds[nC].nTextIds[0] != -1 )
+ if( aButtonIds[nC].nTextIds[0] != NO_BUTTON )
pDefText = getStandardString(
aButtonIds[nC].nTextIds[0], bUseResources );
- if( aButtonIds[nC].nTextIds[1] != -1 )
+ if( aButtonIds[nC].nTextIds[1] != NO_BUTTON )
pAltText = getStandardString(
aButtonIds[nC].nTextIds[1], bUseResources );
- if( aButtonIds[nC].nTextIds[2] != -1 )
+ if( aButtonIds[nC].nTextIds[2] != NO_BUTTON )
pOthText = getStandardString(
aButtonIds[nC].nTextIds[2], bUseResources );
break;
More information about the Libreoffice-commits
mailing list