[Libreoffice-commits] core.git: cui/source dbaccess/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sat Jun 20 06:20:55 PDT 2015


 cui/source/inc/cuitabarea.hxx                         |    1 
 cui/source/tabpages/tpcolor.cxx                       |    8 --
 dbaccess/source/core/api/definitioncolumn.cxx         |    8 --
 dbaccess/source/core/dataaccess/commanddefinition.cxx |   55 ------------------
 dbaccess/source/core/dataaccess/commanddefinition.hxx |   13 ----
 dbaccess/source/core/inc/definitioncolumn.hxx         |    2 
 dbaccess/source/core/misc/dsntypes.cxx                |    6 -
 dbaccess/source/inc/dsntypes.hxx                      |    2 
 dbaccess/source/ui/dlg/tablespage.cxx                 |   12 ---
 dbaccess/source/ui/dlg/tablespage.hxx                 |    4 -
 unusedcode.easy                                       |    6 +
 11 files changed, 5 insertions(+), 112 deletions(-)

New commits:
commit 1f116adb7cfa7ee6a441693530d5afc94ca70f1a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jun 20 14:06:33 2015 +0100

    callcatcher: update unused code
    
    Change-Id: I29b3f1408b814a1424d8bab232e9ac618901b4c2

diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index f1604c7..a25966a 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -750,7 +750,6 @@ public:
     virtual void ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE;
     virtual sfxpg DeactivatePage( SfxItemSet* pSet ) SAL_OVERRIDE;
 
-    XPropertyListRef GetPropertyList( XPropertyListType t );
     void             SetPropertyList( XPropertyListType t, const XPropertyListRef &xRef );
 
     void    SetColorList( XColorListRef pColList );
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 50b74de..224c1af 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -1225,13 +1225,5 @@ void SvxColorTabPage::SetColorList( XColorListRef pColList )
     SetPropertyList( XCOLOR_LIST, XPropertyListRef( ( pColList.get() ) ) );
 }
 
-XPropertyListRef SvxColorTabPage::GetPropertyList( XPropertyListType t )
-{
-    (void) t;
-    OSL_ASSERT( t == XCOLOR_LIST );
-    return XPropertyListRef( pColorList.get() );
-}
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx
index 87b2d29..f2e366e 100644
--- a/dbaccess/source/core/api/definitioncolumn.cxx
+++ b/dbaccess/source/core/api/definitioncolumn.cxx
@@ -396,14 +396,6 @@ void OColumnWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const
     }
 }
 
-sal_Int64 SAL_CALL OColumnWrapper::getSomething( const Sequence< sal_Int8 >& aIdentifier ) throw(RuntimeException)
-{
-    Reference< XUnoTunnel > xTunnel( m_xAggregate, UNO_QUERY);
-    if ( xTunnel.is() )
-        return xTunnel->getSomething( aIdentifier );
-    return 0;
-}
-
 // OTableColumnDescriptorWrapper
 OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper( const Reference< XPropertySet >& _rCol, const bool _bPureWrap, const bool _bIsDescriptor )
     :OColumnWrapper( _rCol, !_bIsDescriptor )
diff --git a/dbaccess/source/core/dataaccess/commanddefinition.cxx b/dbaccess/source/core/dataaccess/commanddefinition.cxx
index 89b2ed3..bf0584e 100644
--- a/dbaccess/source/core/dataaccess/commanddefinition.cxx
+++ b/dbaccess/source/core/dataaccess/commanddefinition.cxx
@@ -68,61 +68,6 @@ void OCommandDefinition::registerProperties()
                     &rCommandDefinition.m_aLayoutInformation, cppu::UnoType<decltype(rCommandDefinition.m_aLayoutInformation)>::get());
 }
 
-OUString OCommandDefinition::getName() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getDefinition().m_aProps.aTitle;
-}
-
-OUString OCommandDefinition::getCommand() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getCommandDefinition().m_sCommand;
-}
-
-void OCommandDefinition::setCommand(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException )
-{
-    setPropertyValue(PROPERTY_COMMAND, Any(p1) );
-}
-
-bool OCommandDefinition::getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getCommandDefinition().m_bEscapeProcessing;
-}
-
-void OCommandDefinition::setEscapeProcessing(bool p1) throw( ::com::sun::star::uno::RuntimeException )
-{
-    setPropertyValue(PROPERTY_ESCAPE_PROCESSING, Any(p1) );
-}
-
-OUString OCommandDefinition::getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getCommandDefinition().m_sUpdateTableName;
-}
-
-void OCommandDefinition::setUpdateTableName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException )
-{
-    setPropertyValue(PROPERTY_UPDATE_TABLENAME, Any(p1) );
-}
-
-OUString OCommandDefinition::getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getCommandDefinition().m_sUpdateCatalogName;
-}
-
-void OCommandDefinition::setUpdateCatalogName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException )
-{
-    setPropertyValue(PROPERTY_UPDATE_CATALOGNAME, Any(p1) );
-}
-
-OUString OCommandDefinition::getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException )
-{
-    return getCommandDefinition().m_sUpdateSchemaName;
-}
-
-void OCommandDefinition::setUpdateSchemaName(const OUString& p1) throw( ::com::sun::star::uno::RuntimeException )
-{
-    setPropertyValue(PROPERTY_UPDATE_SCHEMANAME, Any(p1) );
-}
-
 OCommandDefinition::OCommandDefinition(const Reference< XComponentContext >& _xORB
                                        ,const Reference< XInterface >& _rxContainer
                                        ,const TContentPtr& _pImpl)
diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx
index 18469f9..d8f4923 100644
--- a/dbaccess/source/core/dataaccess/commanddefinition.hxx
+++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx
@@ -124,19 +124,6 @@ public:
      virtual void SAL_CALL removeEventListener(const com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>& p1) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
         { OComponentDefinition::removeEventListener(p1); }
 
-    // XQueryDefinition properties
-    OUString getName() throw( ::com::sun::star::uno::RuntimeException );
-    OUString getCommand() throw( ::com::sun::star::uno::RuntimeException );
-    void setCommand(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
-    bool getEscapeProcessing() throw( ::com::sun::star::uno::RuntimeException );
-    void setEscapeProcessing(bool) throw( ::com::sun::star::uno::RuntimeException );
-    OUString getUpdateTableName() throw( ::com::sun::star::uno::RuntimeException );
-    void setUpdateTableName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
-    OUString getUpdateCatalogName() throw( ::com::sun::star::uno::RuntimeException );
-    void setUpdateCatalogName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
-    OUString getUpdateSchemaName() throw( ::com::sun::star::uno::RuntimeException );
-    void setUpdateSchemaName(const OUString&) throw( ::com::sun::star::uno::RuntimeException );
-
     // OPropertySetHelper
     DECLARE_PROPERTYCONTAINER_DEFAULTS( );
 
diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx
index d615c55..0fa060e 100644
--- a/dbaccess/source/core/inc/definitioncolumn.hxx
+++ b/dbaccess/source/core/inc/definitioncolumn.hxx
@@ -209,8 +209,6 @@ namespace dbaccess
                                                      )
                                                      throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
 
-        sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
-
     protected:
         OUString impl_getPropertyNameFromHandle( const sal_Int32 _nHandle ) const;
 
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index a8e80f2..1e4d003 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -279,12 +279,6 @@ bool ODsnTypeCollection::supportsDBCreation(const OUString& _sURL) const
     return aFeatures.getOrDefault("SupportsDBCreation",sal_False);
 }
 
-bool ODsnTypeCollection::needsJVM(const OUString& _sURL) const
-{
-    const ::comphelper::NamedValueCollection& aFeatures = m_aDriverConfig.getMetaData(_sURL);
-    return aFeatures.getOrDefault("UseJava",sal_False);
-}
-
 Sequence<PropertyValue> ODsnTypeCollection::getDefaultDBSettings( const OUString& _sURL ) const
 {
     const ::comphelper::NamedValueCollection& aProperties = m_aDriverConfig.getProperties(_sURL);
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index 79b8f9c..f26d6b2 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -179,8 +179,6 @@ public:
 
     DATASOURCE_TYPE determineType(const OUString& _rDsn) const;
 
-    bool needsJVM(const OUString& _rDsn) const;
-
     sal_Int32 getIndexOf(const OUString& _sURL) const;
     sal_Int32 size() const;
     OUString getType(const OUString& _sURL) const;
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index b8e31e9..8d82f1e 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -138,18 +138,6 @@ namespace dbaui
             m_pTablesList->notifyHiContrastChanged();
         }
     }
-    void OTableSubscriptionPage::resizeControls(const Size& _rDiff)
-    {
-        if ( _rDiff.Height() )
-        {
-            Size aOldSize = m_pTablesList->GetSizePixel();
-            aOldSize.Height() -= _rDiff.Height();
-            m_pTablesList->SetPosSizePixel(
-                    m_pTablesList->GetPosPixel()+Point(0,_rDiff.Height()),
-                    aOldSize
-                    );
-        }
-    }
     void OTableSubscriptionPage::implCheckTables(const Sequence< OUString >& _rTables)
     {
         // the meta data for the current connection, used for splitting up table names
diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx
index 884ef4a..2b8d9f223 100644
--- a/dbaccess/source/ui/dlg/tablespage.hxx
+++ b/dbaccess/source/ui/dlg/tablespage.hxx
@@ -56,10 +56,6 @@ namespace dbaui
         virtual void            StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
         virtual void            DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
 
-        /** will be called when the controls need to be resized.
-        */
-        void            resizeControls(const Size& _rDiff);
-
         OTableSubscriptionPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ,OTableSubscriptionDialog* _pTablesDlg);
         virtual ~OTableSubscriptionPage();
         virtual void dispose() SAL_OVERRIDE;
diff --git a/unusedcode.easy b/unusedcode.easy
index bf3c1ab..acf29d4 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,6 +1,7 @@
 BigInt::BigInt(unsigned int)
 BitmapFilterStackBlur::filter(BitmapEx&)
 FontCharMap::GetDefaultMap(bool)
+GenericSalLayout::GetTextRect() const
 NotifyEvent::NotifyEvent()
 OpenGLContext::init(_XDisplay*, unsigned long, unsigned int, unsigned int, int)
 OpenGLContext::renderToFile()
@@ -47,7 +48,8 @@ SvpSalFrame::enableDamageTracker(bool)
 SvpSalInstance::PostedEventsInQueue()
 SvtAccessibilityOptions::IsModified() const
 SvtListener::IsListening(SvtBroadcaster&) const
-SvxColorTabPage::GetPropertyList(XPropertyListType)
+SwUnoTableCrsr::Clone() const
+SwXParaFrameEnumerationImpl::PurgeFrameClients()::{lambda(std::shared_ptr<sw::FrameClient>&)#1}::_FUN(std::shared_ptr<sw::FrameClient>&)
 Test::testCopyPasteSkipEmptyConditionalFormatting()
 Test::testPerf()
 Test::testSharedFormulaMoveBlock()
@@ -100,6 +102,7 @@ vcl::IsWindowSystemAvailable()
 vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
 vcl::Region::IsInside(Rectangle const&) const
 vcl::RenderSettings::PushAndApply(OutputDevice&)
+vcl::Window::DrawGradientWallpaper(OutputDevice&, long, long, long, long, Wallpaper const&)
 vcl::Window::DrawSelectionBackground(Rectangle const&, unsigned short, bool, bool, bool, Color*)
 vcl::Window::GetRenderSettings()
 vcl::Window::SetDoubleBuffering(bool)
@@ -108,3 +111,4 @@ vclcanvas::CanvasBitmapHelper::setPixel(com::sun::star::uno::Sequence<signed cha
 vclcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
 vclcanvas::CanvasHelper::setData(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerRectangle2D const&)
 vclcanvas::CanvasHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
+ww8::WW8TableNodeInfo::isEndOfLine() const


More information about the Libreoffice-commits mailing list