summaryrefslogtreecommitdiff
path: root/vcl/osx/salsys.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 09:55:06 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 09:55:06 +0200
commit328091014d2dadf9beea74a56cf7ee01e347eccc (patch)
tree2c6758c58ad331d2a4bf2b2d1859ad0a2b4e92ea /vcl/osx/salsys.cxx
parent3ff3570be469351e3993ee0c5b33e87ba8d17e9a (diff)
fix OSX build after my StandardButtonType changes - part2
Change-Id: Ifb5d85866d35cdd1c4150ea841194ee5ca8a496e
Diffstat (limited to 'vcl/osx/salsys.cxx')
-rw-r--r--vcl/osx/salsys.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/salsys.cxx b/vcl/osx/salsys.cxx
index e7e1ab32ada4..a60f26078316 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;