summaryrefslogtreecommitdiff
path: root/vcl/osx/salsys.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/salsys.cxx')
-rw-r--r--vcl/osx/salsys.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salsys.cxx b/vcl/osx/salsys.cxx
index b8c306e2e806..36c92b8f2757 100644
--- a/vcl/osx/salsys.cxx
+++ b/vcl/osx/salsys.cxx
@@ -19,7 +19,7 @@
#include <rtl/ustrbuf.hxx>
-#include <vcl/button.hxx>
+#include <vcl/stdtext.hxx>
#include <osx/salsys.h>
#include <osx/saldata.hxx>
@@ -70,7 +70,7 @@ static NSString* getStandardString( StandardButtonType nButtonId, bool bUseResou
OUString aText;
if( bUseResources )
{
- aText = Button::GetStandardText( nButtonId );
+ aText = GetStandardText( nButtonId );
}
if( aText.isEmpty() ) // this is for bad cases, we might be missing the vcl resource
{