[Libreoffice-commits] .: vcl/inc vcl/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed May 23 06:49:48 PDT 2012


 vcl/inc/subedit.hxx             |   51 ----------------------------------------
 vcl/inc/vcl/edit.hxx            |    1 
 vcl/source/control/combobox.cxx |    1 
 vcl/source/control/edit.cxx     |   14 ----------
 vcl/source/control/lstbox.cxx   |    1 
 5 files changed, 68 deletions(-)

New commits:
commit d6cba6bcfa5cb56aaa65ab9a726894f5ece9eecd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 23 10:49:36 2012 +0100

    remove unused ImplSubEdit class
    
    Change-Id: Iaf9a750860b4e51f576c37dab2d4844c2e2146cd

diff --git a/vcl/inc/subedit.hxx b/vcl/inc/subedit.hxx
deleted file mode 100644
index 17b22e2..0000000
--- 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 359b9d7..b425d84 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 ad33e82..0de832a 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 534b813..ebb2ab1 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 c7729c4..d0bb734 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"
 


More information about the Libreoffice-commits mailing list