Kaydet (Commit) 32809101 authored tarafından Noel Grandin's avatar Noel Grandin

fix OSX build after my StandardButtonType changes - part2

Change-Id: Ifb5d85866d35cdd1c4150ea841194ee5ca8a496e
üst 3ff3570b
...@@ -139,13 +139,13 @@ int AquaSalSystem::ShowNativeMessageBox( const OUString& rTitle, ...@@ -139,13 +139,13 @@ int AquaSalSystem::ShowNativeMessageBox( const OUString& rTitle,
{ {
if( aButtonIds[nC].nDefaultButton == nDefaultButton ) if( aButtonIds[nC].nDefaultButton == nDefaultButton )
{ {
if( aButtonIds[nC].nTextIds[0] != -1 ) if( aButtonIds[nC].nTextIds[0] != NO_BUTTON )
pDefText = getStandardString( pDefText = getStandardString(
aButtonIds[nC].nTextIds[0], bUseResources ); aButtonIds[nC].nTextIds[0], bUseResources );
if( aButtonIds[nC].nTextIds[1] != -1 ) if( aButtonIds[nC].nTextIds[1] != NO_BUTTON )
pAltText = getStandardString( pAltText = getStandardString(
aButtonIds[nC].nTextIds[1], bUseResources ); aButtonIds[nC].nTextIds[1], bUseResources );
if( aButtonIds[nC].nTextIds[2] != -1 ) if( aButtonIds[nC].nTextIds[2] != NO_BUTTON )
pOthText = getStandardString( pOthText = getStandardString(
aButtonIds[nC].nTextIds[2], bUseResources ); aButtonIds[nC].nTextIds[2], bUseResources );
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment