diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-22 15:59:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-24 18:19:29 +0100 |
commit | f920e86fbf3968104e1dfc0e9934e80652ed0837 (patch) | |
tree | 01f8ed9c445821739b9709c5fee6e51eab0ae24d /svx/inc | |
parent | da881f38c088c439f034e340bbbb4ca53e67389f (diff) |
weld SvxSearchDialog
I have to use the other way to specify an a11y role, both are implemented in
the vcl parser, but in my gtk3-3.24.7 the role tag crashes the gtk parser,
while the other route works fine.
The CONTENT_FLOWS_TO accessibility relation is another additional complexity
over the norm
Change-Id: Ia096bcbe9f00f9944e4e4d5ad9bb1a52d19c7b3f
Reviewed-on: https://gerrit.libreoffice.org/69569
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/AccessibleSvxFindReplaceDialog.hxx | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/svx/inc/AccessibleSvxFindReplaceDialog.hxx b/svx/inc/AccessibleSvxFindReplaceDialog.hxx deleted file mode 100644 index a460dcc80b4e..000000000000 --- a/svx/inc/AccessibleSvxFindReplaceDialog.hxx +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef INCLUDED_SVX_INC_ACCESSIBLESVXFINDREPLACEDIALOG_HXX -#define INCLUDED_SVX_INC_ACCESSIBLESVXFINDREPLACEDIALOG_HXX - -#include <toolkit/awt/vclxwindow.hxx> -#include <toolkit/awt/vclxaccessiblecomponent.hxx> -#include <toolkit/awt/vclxwindows.hxx> - - -class VCLXAccessibleSvxFindReplaceDialog : public VCLXAccessibleComponent -{ -public: - VCLXAccessibleSvxFindReplaceDialog(VCLXWindow* pVCLXindow); - virtual ~VCLXAccessibleSvxFindReplaceDialog() override; - virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; - -}; - - -class VCLXSvxFindReplaceDialog : public VCLXDialog -{ -public: - VCLXSvxFindReplaceDialog(vcl::Window* pSplDlg) - { - SetWindow(pSplDlg); - } -private: - virtual css::uno::Reference< css::accessibility::XAccessibleContext > CreateAccessibleContext() override - { - return new VCLXAccessibleSvxFindReplaceDialog(this); - } -}; -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |