summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-17 09:41:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-17 13:41:48 +0200
commit28fc986025009473c9782b61d8c6062fa60085ba (patch)
tree08c19f552e49802b93537ea108b04f9fe13770e9 /vcl/osx
parent65575016ab29b942aea482eab0b54afa262fb998 (diff)
move GetStandardText to stdtext.hxx
Change-Id: Iaf9b5107cf88390f62d5ca94bf985c77bcb8b7ad Reviewed-on: https://gerrit.libreoffice.org/79048 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/osx')
-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
{