remove unused ImplSubEdit class
Change-Id: Iaf9a750860b4e51f576c37dab2d4844c2e2146cd
This commit is contained in:
@@ -1,51 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*************************************************************************
|
|
||||||
*
|
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
*
|
|
||||||
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
*
|
|
||||||
* OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
*
|
|
||||||
* This file is part of OpenOffice.org.
|
|
||||||
*
|
|
||||||
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
* only, as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Lesser General Public License version 3 for more details
|
|
||||||
* (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public License
|
|
||||||
* version 3 along with OpenOffice.org. If not, see
|
|
||||||
* <http://www.openoffice.org/license.html>
|
|
||||||
* for a copy of the LGPLv3 License.
|
|
||||||
*
|
|
||||||
************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _SV_SUBEDIT_HXX
|
|
||||||
#define _SV_SUBEDIT_HXX
|
|
||||||
|
|
||||||
#include <vcl/sv.h>
|
|
||||||
#include <vcl/edit.hxx>
|
|
||||||
|
|
||||||
// ---------------
|
|
||||||
// - ImplSubEdit -
|
|
||||||
// ---------------
|
|
||||||
|
|
||||||
class ImplSubEdit : public Edit
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
ImplSubEdit( Edit* pParent, WinBits nStyle );
|
|
||||||
|
|
||||||
Edit* GetParent() const { return (Edit*)Edit::GetParent(); }
|
|
||||||
|
|
||||||
virtual void Modify();
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // _SV_SUBEDIT_HXX
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@@ -45,7 +45,6 @@ namespace i18n {
|
|||||||
class XExtendedInputSequenceChecker;
|
class XExtendedInputSequenceChecker;
|
||||||
}}}}
|
}}}}
|
||||||
|
|
||||||
class ImplSubEdit;
|
|
||||||
struct DDInfo;
|
struct DDInfo;
|
||||||
struct Impl_IMEInfos;
|
struct Impl_IMEInfos;
|
||||||
|
|
||||||
|
@@ -38,7 +38,6 @@
|
|||||||
#include <vcl/combobox.hxx>
|
#include <vcl/combobox.hxx>
|
||||||
|
|
||||||
#include <svdata.hxx>
|
#include <svdata.hxx>
|
||||||
#include <subedit.hxx>
|
|
||||||
#include <ilstbox.hxx>
|
#include <ilstbox.hxx>
|
||||||
#include <controldata.hxx>
|
#include <controldata.hxx>
|
||||||
|
|
||||||
|
@@ -41,7 +41,6 @@
|
|||||||
#include <window.h>
|
#include <window.h>
|
||||||
#include <svdata.hxx>
|
#include <svdata.hxx>
|
||||||
#include <svids.hrc>
|
#include <svids.hrc>
|
||||||
#include <subedit.hxx>
|
|
||||||
#include <controldata.hxx>
|
#include <controldata.hxx>
|
||||||
|
|
||||||
#include <osl/mutex.hxx>
|
#include <osl/mutex.hxx>
|
||||||
@@ -3134,19 +3133,6 @@ void Edit::dragOver( const ::com::sun::star::datatransfer::dnd::DropTargetDragEv
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ImplSubEdit::ImplSubEdit( Edit* pParent, WinBits nStyle ) :
|
|
||||||
Edit( pParent, nStyle )
|
|
||||||
{
|
|
||||||
pParent->SetSubEdit( this );
|
|
||||||
}
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
|
||||||
|
|
||||||
void ImplSubEdit::Modify()
|
|
||||||
{
|
|
||||||
GetParent()->Modify();
|
|
||||||
}
|
|
||||||
|
|
||||||
rtl::OUString Edit::GetSurroundingText() const
|
rtl::OUString Edit::GetSurroundingText() const
|
||||||
{
|
{
|
||||||
if (mpSubEdit)
|
if (mpSubEdit)
|
||||||
|
@@ -41,7 +41,6 @@
|
|||||||
|
|
||||||
#include "svdata.hxx"
|
#include "svdata.hxx"
|
||||||
#include "controldata.hxx"
|
#include "controldata.hxx"
|
||||||
#include "subedit.hxx"
|
|
||||||
#include "ilstbox.hxx"
|
#include "ilstbox.hxx"
|
||||||
#include "dndevdis.hxx"
|
#include "dndevdis.hxx"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user