diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-29 23:36:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 11:22:09 +0100 |
commit | 8a0685d49f679d6f98de2f357f1ec74590573852 (patch) | |
tree | 97eb05105a45186049c1c3dad20233c29747ed9c /vcl/source/control | |
parent | b18cfdc7cd3755c147970f86d23973f337be01a7 (diff) |
make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/button.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index fd8d002bdccc..3e09946ed16f 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -150,8 +150,7 @@ XubString Button::GetStandardText( StandardButtonType eButton ) if( pResMgr ) { sal_uInt32 nResId = aResIdAry[(sal_uInt16)eButton].nResId; - ResId aResId( nResId, *pResMgr ); - aText = String( aResId ); + aText = ResId(nResId, *pResMgr).toString(); // Windows (apparently) has some magic auto-accelerator evil around // ok / cancel so add this only for Unix |