summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-23 10:49:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-23 14:48:59 +0100
commitd6cba6bcfa5cb56aaa65ab9a726894f5ece9eecd (patch)
tree456142bf8ca6426599f0df88c6b379acae4024cd /vcl
parente4b3ac16d7288f3e7fc5bee8df520e25f9cfe7e0 (diff)
remove unused ImplSubEdit class
Change-Id: Iaf9a750860b4e51f576c37dab2d4844c2e2146cd
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/subedit.hxx51
-rw-r--r--vcl/inc/vcl/edit.hxx1
-rw-r--r--vcl/source/control/combobox.cxx1
-rw-r--r--vcl/source/control/edit.cxx14
-rw-r--r--vcl/source/control/lstbox.cxx1
5 files changed, 0 insertions, 68 deletions
diff --git a/vcl/inc/subedit.hxx b/vcl/inc/subedit.hxx
deleted file mode 100644
index 17b22e2b5587..000000000000
--- a/vcl/inc/subedit.hxx
+++ /dev/null
@@ -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: */
diff --git a/vcl/inc/vcl/edit.hxx b/vcl/inc/vcl/edit.hxx
index 359b9d7ce29b..b425d84b1ff5 100644
--- a/vcl/inc/vcl/edit.hxx
+++ b/vcl/inc/vcl/edit.hxx
@@ -45,7 +45,6 @@ namespace i18n {
class XExtendedInputSequenceChecker;
}}}}
-class ImplSubEdit;
struct DDInfo;
struct Impl_IMEInfos;
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index ad33e824736f..0de832ae06b0 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -38,7 +38,6 @@
#include <vcl/combobox.hxx>
#include <svdata.hxx>
-#include <subedit.hxx>
#include <ilstbox.hxx>
#include <controldata.hxx>
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 534b813a15af..ebb2ab1915ec 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -41,7 +41,6 @@
#include <window.h>
#include <svdata.hxx>
#include <svids.hrc>
-#include <subedit.hxx>
#include <controldata.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
{
if (mpSubEdit)
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index c7729c43af58..d0bb734309a3 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -41,7 +41,6 @@
#include "svdata.hxx"
#include "controldata.hxx"
-#include "subedit.hxx"
#include "ilstbox.hxx"
#include "dndevdis.hxx"