summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 09:04:44 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 09:04:44 +0200
commitf2d556ca02827d0d77d06388bfe1a40739f4d1f8 (patch)
tree4c0ab405b27e11c65c9856651a1de048492cda45 /cui
parent3dc9f684b3994bd125b9f27049581aa35b1e52bc (diff)
work around Windows and OSX macro collisions with enum values
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5132ae839911..5771f5700907 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -5309,7 +5309,7 @@ MessBox( pWindow, WB_DEF_YES, CUI_RES( RID_SVXSTR_REPLACE_ICON_CONFIRM ), CUI_R
SetImage( WarningBox::GetStandardImage() );
SetMessText( ReplaceIconName( aMessage ) );
RemoveButton( 1 );
- AddButton( StandardButtonType::YES, 2, 0 );
+ AddButton( StandardButtonType::SB_YES, 2, 0 );
AddButton( CUI_RES( RID_SVXSTR_YESTOALL ), 5, 0 );
AddButton( StandardButtonType::NO, 3, 0 );
AddButton( StandardButtonType::CANCEL, 4, 0 );