Files
libreoffice/svtools/source/edit/textwindowpeer.cxx
Stephan Bergmann 62fcdfa34a -Werror,-Wunused-private-field
...fixed more thoroughly than 49c1964b42 "WaE:
private field 'm_bCompoundControlChild' is not used."

Change-Id: Ief1093c054fe272b82da78ab103e8ca3feb72b90
2013-11-26 15:56:33 +01:00

48 lines
1.6 KiB
C++

/* -*- 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 .
*/
#include <svtools/textwindowpeer.hxx>
#include <vcl/textview.hxx>
#include "svtaccessiblefactory.hxx"
namespace svt
{
TextWindowPeer::TextWindowPeer(::TextView & rView):
m_rEngine(*rView.GetTextEngine()), m_rView(rView)
{
SetWindow(rView.GetWindow());
m_pFactoryAccess.reset( new AccessibleFactoryAccess );
}
// virtual
TextWindowPeer::~TextWindowPeer()
{
}
css::uno::Reference< css::accessibility::XAccessibleContext > TextWindowPeer::CreateAccessibleContext()
{
return m_pFactoryAccess->getFactory().createAccessibleTextWindowContext(
this, m_rEngine, m_rView
);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */