summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/vcl/button.hxx2
-rw-r--r--include/vcl/stdtext.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 57e7a9b55857..bff3c8af3de9 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -76,8 +76,6 @@ public:
void SetCommandHandler(const OUString& aCommand);
OUString const & GetCommand() const { return maCommand; }
- static OUString GetStandardText( StandardButtonType eButton );
-
void SetModeImage( const Image& rImage );
Image const & GetModeImage( ) const;
bool HasImage() const;
diff --git a/include/vcl/stdtext.hxx b/include/vcl/stdtext.hxx
index 196725d4e278..5287fc746a26 100644
--- a/include/vcl/stdtext.hxx
+++ b/include/vcl/stdtext.hxx
@@ -21,11 +21,13 @@
#define INCLUDED_VCL_STDTEXT_HXX
#include <rtl/ustring.hxx>
+#include <tools/wintypes.hxx>
#include <vcl/dllapi.h>
namespace weld { class Widget; }
void VCL_DLLPUBLIC ShowServiceNotAvailableError(weld::Widget* pParent, const OUString& rServiceName, bool bError);
+OUString VCL_DLLPUBLIC GetStandardText(StandardButtonType eButton);
#endif // INCLUDED_VCL_STDTEXT_HXX