[Libreoffice-commits] .: 3 commits - basic/source dbaccess/source l10ntools/source Makefile sax/inc sax/source sc/source sdext/source svl/inc svl/source svx/inc svx/source toolkit/source unotools/inc unotools/source unusedcode.easy xmloff/source xmlsecurity/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Feb 8 02:13:18 PST 2012


 Makefile                                           |    7 +++
 basic/source/comp/exprtree.cxx                     |   35 ------------------
 basic/source/inc/expr.hxx                          |    2 -
 dbaccess/source/ui/app/AppView.hxx                 |    2 -
 dbaccess/source/ui/control/FieldDescControl.cxx    |   14 -------
 dbaccess/source/ui/inc/FieldDescControl.hxx        |    2 -
 dbaccess/source/ui/inc/TableDesignView.hxx         |    2 -
 dbaccess/source/ui/tabledesign/TEditControl.cxx    |   13 ------
 dbaccess/source/ui/tabledesign/TEditControl.hxx    |    2 -
 dbaccess/source/ui/tabledesign/TableDesignView.cxx |   23 ------------
 l10ntools/source/cfgmerge.cxx                      |    3 -
 sax/inc/sax/tools/converter.hxx                    |    2 -
 sax/source/tools/converter.cxx                     |   16 --------
 sc/source/filter/excel/xltools.cxx                 |    7 ---
 sc/source/filter/inc/xltools.hxx                   |    3 -
 sdext/source/minimizer/unodialog.cxx               |   23 ------------
 sdext/source/minimizer/unodialog.hxx               |    2 -
 svl/inc/svl/style.hxx                              |    2 -
 svl/source/items/style.cxx                         |    4 --
 svx/inc/svx/svdobj.hxx                             |    1 
 svx/source/svdraw/svdobj.cxx                       |    5 --
 toolkit/source/helper/registerservices.cxx         |    9 ----
 unotools/inc/unotools/configvaluecontainer.hxx     |    4 --
 unotools/source/config/configvaluecontainer.cxx    |    5 --
 unusedcode.easy                                    |   40 +++++++++++++++------
 xmloff/source/text/XMLTextFrameContext.cxx         |   11 -----
 xmloff/source/text/XMLTextFrameContext.hxx         |    1 
 xmlsecurity/source/dialogs/resourcemanager.cxx     |   20 ----------
 xmlsecurity/source/dialogs/resourcemanager.hxx     |    1 
 29 files changed, 37 insertions(+), 224 deletions(-)

New commits:
commit 849a2471bd649b252648fa4e43be91dab4d9bdc5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 8 09:12:05 2012 +0000

    update unused list

diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 39c629e..fabb700 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -754,24 +754,6 @@ SbiExprNode* SbiExpression::VBA_Or()
     return pNd;
 }
 
-SbiExprNode* SbiExpression::VBA_Xor()
-{
-    SbiExprNode* pNd = VBA_Or();
-    if( m_eMode != EXPRMODE_EMPTY_PAREN )
-    {
-        for( ;; )
-        {
-            SbiToken eTok = pParser->Peek();
-            if( eTok != XOR )
-                break;
-            eTok = pParser->Next();
-            pNd = new SbiExprNode( pParser, pNd, eTok, VBA_Or() );
-        }
-    }
-    return pNd;
-
-}
-
 SbiExprNode* SbiExpression::Like()
 {
     SbiExprNode* pNd = pParser->IsVBASupportOn() ? VBA_Not() : Comp();
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index 4be12f1..33ee938 100644
--- a/basic/source/inc/expr.hxx
+++ b/basic/source/inc/expr.hxx
@@ -191,7 +191,6 @@ protected:
     SbiExprNode* VBA_Not();
     SbiExprNode* VBA_And();
     SbiExprNode* VBA_Or();
-    SbiExprNode* VBA_Xor();
     SbiExprNode* Comp();
     SbiExprNode* Boolean();
 public:
diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx
index d4fa76c..23c4501 100644
--- a/dbaccess/source/ui/app/AppView.hxx
+++ b/dbaccess/source/ui/app/AppView.hxx
@@ -307,8 +307,6 @@ namespace dbaui
                             sal_Bool _bTable);
 
         SvLBoxEntry* getEntry( const Point& _aPosPixel ) const;
-
-        DECL_LINK( SwitchHdl, Accelerator* );
     };
 }
 #endif // DBAUI_APPVIEW_HXX
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index c100d9d..30a0bad 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -161,7 +161,6 @@ OFieldDescControl::OFieldDescControl( Window* pParent, const ResId& rResId, OTab
     ,m_nOldVThumb( 0 )
     ,m_nOldHThumb( 0 )
     ,m_nWidth(50)
-    ,nDelayedGrabFocusEvent(0)
     ,m_bAdded(sal_False)
     ,m_bRightAligned(false)
     ,pActFieldDescr(NULL)
@@ -211,7 +210,6 @@ OFieldDescControl::OFieldDescControl( Window* pParent, OTableDesignHelpBar* pHel
     ,m_nOldVThumb( 0 )
     ,m_nOldHThumb( 0 )
     ,m_nWidth(50)
-    ,nDelayedGrabFocusEvent(0)
     ,m_bAdded(sal_False)
     ,m_bRightAligned(false)
     ,pActFieldDescr(NULL)
@@ -275,9 +273,6 @@ OFieldDescControl::~OFieldDescControl()
     DeactivateAggregate( tpColumnName );
     DeactivateAggregate( tpType );
     DeactivateAggregate( tpAutoIncrementValue );
-
-    if(nDelayedGrabFocusEvent)
-        Application::RemoveUserEvent(nDelayedGrabFocusEvent);
 }
 
 //------------------------------------------------------------------------------
@@ -1560,15 +1555,6 @@ void OFieldDescControl::DisplayData(OFieldDescription* pFieldDescr )
 
     SetReadOnly( bRead );
 }
-//------------------------------------------------------------------------
-IMPL_LINK(OFieldDescControl, DelayedGrabFocus, Control**, ppControl)
-{
-    nDelayedGrabFocusEvent = 0;
-    if (*ppControl)
-        (*ppControl)->GrabFocus();
-
-    return 0L;
-}
 
 //------------------------------------------------------------------------------
 IMPL_LINK(OFieldDescControl, OnControlFocusGot, Control*, pControl )
diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx
index cd03822..811b0a7 100644
--- a/dbaccess/source/ui/inc/FieldDescControl.hxx
+++ b/dbaccess/source/ui/inc/FieldDescControl.hxx
@@ -124,7 +124,6 @@ namespace dbaui
         long                    m_nOldHThumb;
         sal_Int32               m_nWidth;
 
-        sal_uLong                   nDelayedGrabFocusEvent;
         sal_Bool                m_bAdded;
         bool                    m_bRightAligned;
 
@@ -135,7 +134,6 @@ namespace dbaui
         DECL_LINK( FormatClickHdl, Button * );
         DECL_LINK( ChangeHdl, ListBox * );
 
-        DECL_LINK( DelayedGrabFocus, Control** );
             // von ActivatePropertyField benutzt
         DECL_LINK( OnControlFocusLost, Control* );
         DECL_LINK( OnControlFocusGot, Control* );
diff --git a/dbaccess/source/ui/inc/TableDesignView.hxx b/dbaccess/source/ui/inc/TableDesignView.hxx
index 9e97846..185d400 100644
--- a/dbaccess/source/ui/inc/TableDesignView.hxx
+++ b/dbaccess/source/ui/inc/TableDesignView.hxx
@@ -114,8 +114,6 @@ namespace dbaui
 
         virtual void initialize();
         void reSync(); // resync window data with realdata
-
-        DECL_LINK( SwitchHdl, Accelerator* );
     };
 }
 #endif // DBAUI_TABLEDESIGNVIEW_HXX
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 13abd86..e18d0d7 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -193,7 +193,6 @@ OTableEditorCtrl::OTableEditorCtrl(Window* pWindow)
     ,nDeleteEvent(0)
     ,nInsNewRowsEvent(0)
     ,nInvalidateTypeEvent(0)
-    ,nEntryNotFoundEvent(0)
     ,m_eChildFocus(NONE)
     ,nOldDataPos(-1)
     ,bSaveOnMove(sal_True)
@@ -344,8 +343,6 @@ OTableEditorCtrl::~OTableEditorCtrl()
         Application::RemoveUserEvent( nInsNewRowsEvent );
     if( nInvalidateTypeEvent )
         Application::RemoveUserEvent( nInvalidateTypeEvent );
-    if( nEntryNotFoundEvent )
-        Application::RemoveUserEvent( nEntryNotFoundEvent );
 
     //////////////////////////////////////////////////////////////////////
     // Controltypen zerstoeren
@@ -754,16 +751,6 @@ IMPL_LINK( OTableEditorCtrl, InvalidateFieldType, void*, /*EMPTYTAG*/ )
 }
 
 //------------------------------------------------------------------------------
-IMPL_LINK( OTableEditorCtrl, EntryNotFound, void*, /*EMPTYTAG*/ )
-{
-    DBG_CHKTHIS(OTableEditorCtrl,NULL);
-    nEntryNotFoundEvent = 0;
-    ErrorBox( this, ModuleRes(ERR_INVALID_LISTBOX_ENTRY) ).Execute();
-
-    return 0;
-}
-
-//------------------------------------------------------------------------------
 void OTableEditorCtrl::CellModified( long nRow, sal_uInt16 nColId )
 {
     DBG_CHKTHIS(OTableEditorCtrl,NULL);
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index 3128d97..1f0bb3d 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -69,7 +69,6 @@ namespace dbaui
         sal_uLong                       nDeleteEvent;
         sal_uLong                       nInsNewRowsEvent;
         sal_uLong                       nInvalidateTypeEvent;
-        sal_uLong                       nEntryNotFoundEvent;
         ChildFocusState             m_eChildFocus;
 
         long nOldDataPos;
@@ -188,7 +187,6 @@ namespace dbaui
         DECL_LINK( DelayedDelete, void* );
         DECL_LINK( DelayedInsNewRows, void* );
         DECL_LINK( InvalidateFieldType, void* );
-        DECL_LINK( EntryNotFound, void* );
 
         void InitCellController();
         sal_Int32 HasFieldName( const String& rFieldName );
diff --git a/dbaccess/source/ui/tabledesign/TableDesignView.cxx b/dbaccess/source/ui/tabledesign/TableDesignView.cxx
index fd1a745..ee0c8d5 100644
--- a/dbaccess/source/ui/tabledesign/TableDesignView.cxx
+++ b/dbaccess/source/ui/tabledesign/TableDesignView.cxx
@@ -256,29 +256,6 @@ void OTableDesignView::resizeDocumentView(Rectangle& _rPlayground)
 }
 
 //------------------------------------------------------------------------------
-IMPL_LINK( OTableDesignView, SwitchHdl, Accelerator*, /*pAcc*/ )
-{
-    if( getController().isReadOnly() )
-        return 0;
-
-    if( GetDescWin()->HasChildPathFocus() )
-    {
-        GetDescWin()->LoseFocus();
-        GetEditorCtrl()->GrabFocus();
-    }
-    else
-    {
-         ::boost::shared_ptr<OTableRow>  pRow = (*GetEditorCtrl()->GetRowList())[GetEditorCtrl()->GetCurRow()];
-        OFieldDescription* pFieldDescr = pRow ? pRow->GetActFieldDescr() : NULL;
-        if ( pFieldDescr )
-            GetDescWin()->GrabFocus();
-        else
-            GetEditorCtrl()->GrabFocus();
-    }
-
-    return 0;
-}
-//------------------------------------------------------------------------------
 long OTableDesignView::PreNotify( NotifyEvent& rNEvt )
 {
     sal_Bool bHandled = sal_False;
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx
index fded669..773bc61 100644
--- a/l10ntools/source/cfgmerge.cxx
+++ b/l10ntools/source/cfgmerge.cxx
@@ -62,9 +62,6 @@ boost::scoped_ptr< CfgParser > parser;
 
 }
 
-void badArguments() {
-}
-
 void handleArguments(int argc, char ** argv) {
     enum State {
         STATE_NONE, STATE_INPUT, STATE_OUTPUT, STATE_PRJ, STATE_ROOT,
diff --git a/sax/inc/sax/tools/converter.hxx b/sax/inc/sax/tools/converter.hxx
index 9883dab..1fed19e 100644
--- a/sax/inc/sax/tools/converter.hxx
+++ b/sax/inc/sax/tools/converter.hxx
@@ -210,8 +210,6 @@ public:
 
     static sal_Int32 decodeBase64SomeChars(com::sun::star::uno::Sequence<sal_Int8>& aPass, const rtl::OUString& sBuffer);
 
-    static void clearUndefinedChars(rtl::OUString& rTarget, const rtl::OUString& rSource);
-
     static double GetConversionFactor(::rtl::OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit);
     static sal_Int16 GetUnitFromString(const ::rtl::OUString& rString, sal_Int16 nDefaultUnit);
 
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 698dea8..8d573e2 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1787,22 +1787,6 @@ sal_Int32 Converter::decodeBase64SomeChars(
     return nCharsDecoded;
 }
 
-void Converter::clearUndefinedChars(rtl::OUString& rTarget, const rtl::OUString& rSource)
-{
-    sal_uInt32 nLength(rSource.getLength());
-    rtl::OUStringBuffer sBuffer(nLength);
-    for (sal_uInt32 i = 0; i < nLength; i++)
-    {
-        sal_Unicode cChar = rSource[i];
-        if (!(cChar < 0x0020) ||
-            (cChar == 0x0009) ||        // TAB
-            (cChar == 0x000A) ||        // LF
-            (cChar == 0x000D))          // legal character
-            sBuffer.append(cChar);
-    }
-    rTarget = sBuffer.makeStringAndClear();
-}
-
 double Converter::GetConversionFactor(::rtl::OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit)
 {
     double fRetval(1.0);
diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx
index d801b6f..5caf2fe 100644
--- a/sc/source/filter/excel/xltools.cxx
+++ b/sc/source/filter/excel/xltools.cxx
@@ -578,13 +578,6 @@ OUString XclTools::GetBuiltInStyleName( sal_uInt8 nStyleId, const OUString& rNam
     return aStyleName;
 }
 
-OUString XclTools::GetBuiltInStyleName( const OUString& rStyleName )
-{
-    rtl::OUStringBuffer aBuf(maStyleNamePrefix1);
-    aBuf.append(rStyleName);
-    return aBuf.makeStringAndClear();
-}
-
 bool XclTools::IsBuiltInStyleName( const OUString& rStyleName, sal_uInt8* pnStyleId, sal_Int32* pnNextChar )
 {
     // "Default" becomes "Normal"
diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx
index 54f5b54..b739866 100644
--- a/sc/source/filter/inc/xltools.hxx
+++ b/sc/source/filter/inc/xltools.hxx
@@ -205,8 +205,7 @@ public:
         @param nLevel  The zero-based outline level for RowLevel and ColLevel styles.
         @return  The style name or an empty string, if the parameters are not valid. */
     static rtl::OUString GetBuiltInStyleName( sal_uInt8 nStyleId, const rtl::OUString& rName, sal_uInt8 nLevel );
-    /** Returns the passed style name with a special built-in prefix. */
-    static rtl::OUString GetBuiltInStyleName( const rtl::OUString& rStyleName );
+
     /** Returns true, if the passed string is a name of an Excel built-in style.
         @param pnStyleId  If not 0, the found style identifier will be returned here.
         @param pnNextChar  If not 0, the index of the char after the evaluated substring will be returned here. */
diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx
index 9a9aef7..1e4ad6c 100644
--- a/sdext/source/minimizer/unodialog.cxx
+++ b/sdext/source/minimizer/unodialog.cxx
@@ -321,29 +321,6 @@ void UnoDialog::setControlProperty( const OUString& rControlName, const OUString
 
 // -----------------------------------------------------------------------------
 
-sal_Int32 UnoDialog::getMapsFromPixels( sal_Int32 nPixels ) const
-{
-    double dMaps = 0;
-    try
-    {
-        sal_Int32 nMapWidth = 0;
-        const OUString sWidth( RTL_CONSTASCII_USTRINGPARAM( "Width" ) );
-        if ( mxDialogModelPropertySet->getPropertyValue( sWidth  ) >>= nMapWidth )
-        {
-            Reference< XWindow > xWindow( mxDialog, UNO_QUERY_THROW );
-            double pxWidth = xWindow->getPosSize().Width;
-            double mapRatio = ( pxWidth / nMapWidth );
-            dMaps = nPixels / mapRatio;
-        }
-    }
-    catch ( Exception& )
-    {
-    }
-    return static_cast< sal_Int32 >( dMaps );
-}
-
-// -----------------------------------------------------------------------------
-
 Any UnoDialog::getControlProperty( const OUString& rControlName, const OUString& rPropertyName )
 {
     Any aRet;
diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx
index b89164d..6506383 100644
--- a/sdext/source/minimizer/unodialog.hxx
+++ b/sdext/source/minimizer/unodialog.hxx
@@ -84,8 +84,6 @@ public :
 
     void setVisible( const rtl::OUString& rName, sal_Bool bVisible );
 
-    sal_Int32 getMapsFromPixels( sal_Int32 nPixels ) const;
-
     com::sun::star::uno::Reference< com::sun::star::awt::XButton > insertButton( const rtl::OUString& rName,
         com::sun::star::uno::Reference< com::sun::star::awt::XActionListener > xActionListener, const com::sun::star::uno::Sequence< rtl::OUString >& rPropertyNames,
             const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues );
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx
index e347d54..02e4a12 100644
--- a/svl/inc/svl/style.hxx
+++ b/svl/inc/svl/style.hxx
@@ -285,7 +285,7 @@ public:
     virtual sal_Bool        SetParent( const UniString& );
 
 protected:
-    SfxStyleSheet(); // do not use! needed by MSVC
+    SfxStyleSheet() {} // do not use! needed by MSVC
     virtual             ~SfxStyleSheet();
 };
 
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index c49d9ad..c3e11e1 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -884,10 +884,6 @@ SfxStyleSheet::SfxStyleSheet(const SfxStyleSheet& rStyle) :
     SfxBroadcaster( rStyle )
 {}
 
-SfxStyleSheet::SfxStyleSheet()
-{
-}
-
 SfxStyleSheet::~SfxStyleSheet()
 {
     Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_INDESTRUCTION, *this ) );
diff --git a/toolkit/source/helper/registerservices.cxx b/toolkit/source/helper/registerservices.cxx
index 8ab671c..8757aca 100644
--- a/toolkit/source/helper/registerservices.cxx
+++ b/toolkit/source/helper/registerservices.cxx
@@ -81,15 +81,6 @@ namespace toolkit
     }
 
     //.........................................................................
-    Reference< XRegistryKey > registerServices( const Reference< XRegistryKey >& _rxParentKey,
-        const sal_Char* _pAsciiImplName, const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2 )
-    {
-        Reference< XRegistryKey > xComponentServicesKey = registerServices( _rxParentKey, _pAsciiImplName, _pAsciiServiceName1 );
-        xComponentServicesKey->createKey( ::rtl::OUString::createFromAscii( _pAsciiServiceName2 ) );
-        return xComponentServicesKey;
-    }
-
-    //.........................................................................
     void* tryCreateFactory( const sal_Char* _pRequiredImplName, const sal_Char* _pComponentImplName,
         const sal_Char* _pAsciiServiceName1, const sal_Char* _pAsciiServiceName2,
         ::cppu::ComponentInstantiation _pInstantiation, const Reference< XMultiServiceFactory >& _rxServiceFactory )
diff --git a/unotools/inc/unotools/configvaluecontainer.hxx b/unotools/inc/unotools/configvaluecontainer.hxx
index 589de07..ad6b4da 100644
--- a/unotools/inc/unotools/configvaluecontainer.hxx
+++ b/unotools/inc/unotools/configvaluecontainer.hxx
@@ -73,10 +73,6 @@ namespace utl
                     m_pImpl;
 
     protected:
-        const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&
-                    getServiceFactory( ) const;
-
-    protected:
         //-----------------------------------------------------------------
         // construction/destruction
 
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index 8a0fdcd..eb950b2 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -261,11 +261,6 @@ namespace utl
         delete m_pImpl;
     }
 
-    const Reference< XMultiServiceFactory >& OConfigurationValueContainer::getServiceFactory( ) const
-    {
-        return m_pImpl->xORB;
-    }
-
     void OConfigurationValueContainer::implConstruct( const ::rtl::OUString& _rConfigLocation,
         const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels )
     {
diff --git a/unusedcode.easy b/unusedcode.easy
index f90da4b..5a67cee 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,4 +1,3 @@
-(anonymous namespace)::badArguments()
 ByteString::Append(char)
 ByteString::Assign(char const*, unsigned short)
 ByteString::Assign(char)
@@ -251,7 +250,6 @@ SfxPopupWindow::LinkStubDelete(void*, void*)
 SfxProgress::Lock()
 SfxRangeItem::SfxRangeItem(unsigned short, SvStream&)
 SfxRecordingFloatWrapper_Impl::GetChildWindowId()
-SfxStyleSheetBase::SfxStyleSheetBase()
 SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*)
 SfxUINT32s::Insert(SfxUINT32s const*, unsigned short, unsigned short, unsigned short)
 SfxUINT32s::Remove(unsigned short, unsigned short)
@@ -609,7 +607,6 @@ UnoControlModel::Clone() const
 UnoControlModel::GetImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)
 UnoControlModel::UnoControlModel()
 UnoControlModel::getInfoHelper()
-UnoDialog::getMapsFromPixels(int) const
 UnoListBoxControl::getActionListeners()
 UnoListBoxControl::getItemListeners()
 UnoMemoryStream::UnoMemoryStream(unsigned int, unsigned int)
@@ -683,7 +680,6 @@ XMLSignatureHelper::GetUriBinding() const
 XMLSignatureHelper::SetUriBinding(com::sun::star::uno::Reference<com::sun::star::xml::crypto::XUriBinding>&)
 XMLSignatureHelper::SetX509Certificate(int, int, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&)
 XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, com::sun::star::util::Date const&, unsigned short)
-XMLTextFrameContext::CreateIfNotThere()
 XMLTextImportHelper::GetRangeFor(rtl::OUString&)
 XMLTextImportHelper::HasDrawNameAttribute(com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, SvXMLNamespaceMap&)
 XMLTextImportHelper::getCurrentFieldName()
@@ -710,9 +706,7 @@ XclRoot::GetPixelXFromHmm(int) const
 XclRoot::GetPixelYFromHmm(int) const
 XclTokenArray::XclTokenArray(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, bool)
 XclTokenArrayIterator::Init()
-XclTools::GetBuiltInStyleName(rtl::OUString const&)
 XclXFBase::HasUsedFlags() const
-XmlSec::GetDateTimeString(rtl::OUString const&, rtl::OUString const&)
 XmlSecStatusBarControl::GetDefItemWidth(StatusBar&)
 ZipPackageStream::SetBaseEncryptionData(rtl::Reference<BaseEncryptionData> const&)
 _CpyTabFrms::Insert(_CpyTabFrm const&, unsigned short&)
@@ -1243,9 +1237,6 @@ cppcanvas::internal::TransparencyGroupActionFactory::createTransparencyGroupActi
 cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState&, cppcanvas::internal::OutDevState const&, boost::shared_ptr<cppcanvas::Canvas> const&, Point const&, basegfx::B2DVector const*, double const*)
 cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState&, cppcanvas::internal::OutDevState const&, boost::shared_ptr<cppcanvas::Canvas> const&, basegfx::B2DHomMatrix const&)
 dbaccess::OptimisticSet::getComposedTableName(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&)
-dbaui::OFieldDescControl::LinkStubDelayedGrabFocus(void*, void*)
-dbaui::OTableDesignView::LinkStubSwitchHdl(void*, void*)
-dbaui::OTableEditorCtrl::LinkStubEntryNotFound(void*, void*)
 dbaui::getKeyColumns(com::sun::star::uno::Reference<com::sun::star::container::XIndexAccess> const&, int)
 dbtools::CharsetIteratorDerefHelper::CharsetIteratorDerefHelper()
 dbtools::DBTypeConversion::toINT64(com::sun::star::util::DateTime const&)
@@ -1463,7 +1454,6 @@ salhelper::ORealDynamicLoader::release()
 salhelper::Timer::addTime(salhelper::TTimeValue const&)
 salhelper::Timer::setAbsoluteTime(salhelper::TTimeValue const&)
 salhelper::Timer::setRemainingTime(salhelper::TTimeValue const&, salhelper::TTimeValue const&)
-sax::Converter::clearUndefinedChars(rtl::OUString&, rtl::OUString const&)
 sax::Converter::convertAny(com::sun::star::uno::Any&, rtl::OUString const&, rtl::OUString const&)
 sax::Converter::convertDouble(double&, rtl::OUString const&, short)
 sax::Converter::convertNumber64(rtl::OUStringBuffer&, long)
@@ -1552,7 +1542,6 @@ sw::util::AuthorInfos::Insert(sw::util::AuthorInfo* const*, unsigned short)
 sw::util::AuthorInfos::Insert(sw::util::AuthorInfos const*, unsigned short, unsigned short)
 sw::util::AuthorInfos::Remove(sw::util::AuthorInfo* const&, unsigned short)
 sw::util::AuthorInfos::Remove(unsigned short, unsigned short)
-toolkit::registerServices(com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const&, char const*, char const*, char const*)
 ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&)
 ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&)
 ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&)
@@ -1564,7 +1553,6 @@ unicode::isTitle(unsigned short)
 unographic::GraphicDescriptor::isValid() const
 utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
 utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const
-utl::OConfigurationValueContainer::getServiceFactory() const
 utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const
 vcl::I18nHelper::GetDate(Date const&) const
 vcl::I18nHelper::getLocale() const
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index e984b34..8be7e75 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -1294,17 +1294,6 @@ void XMLTextFrameContext_Impl::SetDesc( const OUString& rDesc )
 
 TYPEINIT1( XMLTextFrameContext, SvXMLImportContext );
 
-sal_Bool XMLTextFrameContext::CreateIfNotThere()
-{
-    sal_Bool bRet = sal_False;
-    SvXMLImportContext *pContext = &m_xImplContext;
-    XMLTextFrameContext_Impl *pImpl = PTR_CAST( XMLTextFrameContext_Impl, pContext );
-    if( pImpl )
-        bRet = pImpl->CreateIfNotThere();
-
-    return bRet;
-}
-
 sal_Bool XMLTextFrameContext::CreateIfNotThere( ::com::sun::star::uno::Reference <
         ::com::sun::star::beans::XPropertySet >& rPropSet )
 {
diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx
index 1168bf3..2c201c5 100644
--- a/xmloff/source/text/XMLTextFrameContext.hxx
+++ b/xmloff/source/text/XMLTextFrameContext.hxx
@@ -64,7 +64,6 @@ class XMLTextFrameContext : public SvXMLImportContext
     sal_Bool m_HasAutomaticStyleWithoutParentStyle;
     sal_Bool m_bSupportsReplacement;
 
-    sal_Bool CreateIfNotThere();
     sal_Bool CreateIfNotThere( ::com::sun::star::uno::Reference <
         ::com::sun::star::beans::XPropertySet >& rPropSet );
 
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx
index 79ca62a..46df04f 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.cxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.cxx
@@ -78,26 +78,6 @@ namespace XmlSec
         return sRet;
     }
 
-    String GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime )
-    {
-        String sDay( _rDate, 6, 2 );
-        String sMonth( _rDate, 4, 2 );
-        String sYear( _rDate, 0, 4 );
-
-        String sHour( _rTime, 0, 2 );
-        String sMin( _rTime, 4, 2 );
-        String sSec( _rTime, 6, 2 );
-
-
-        Date aDate( (sal_uInt16)sDay.ToInt32(), (sal_uInt16) sMonth.ToInt32(), (sal_uInt16)sYear.ToInt32() );
-        Time aTime( sHour.ToInt32(), sMin.ToInt32(), sSec.ToInt32(), 0 );
-        const LocaleDataWrapper& rLoDa = GetLocaleData();
-        String aStr( rLoDa.getDate( aDate ) );
-        aStr.AppendAscii( " " );
-        aStr += rLoDa.getTime( aTime );
-        return aStr;
-    }
-
     String GetDateString( const ::com::sun::star::util::DateTime& _rDT )
     {
         return GetLocaleData().getDate( GetDateTime( _rDT ) );
diff --git a/xmlsecurity/source/dialogs/resourcemanager.hxx b/xmlsecurity/source/dialogs/resourcemanager.hxx
index 07b2668..b522d3f 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.hxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.hxx
@@ -48,7 +48,6 @@ namespace XmlSec
     const LocaleDataWrapper&    GetLocaleData( void );
     DateTime        GetDateTime( const ::com::sun::star::util::DateTime& _rDT );
     String          GetDateTimeString( const ::com::sun::star::util::DateTime& _rDT );
-    String          GetDateTimeString( const rtl::OUString& _rDate, const rtl::OUString& _rTime );
     String          GetDateString( const ::com::sun::star::util::DateTime& _rDT );
 
     std::vector< std::pair< ::rtl::OUString, ::rtl::OUString> >
commit 2cae4ff166ad5ad51db49d6b0fab86b2c8090fb8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 7 23:00:42 2012 +0000

    callcatcher: update list, ByteString is on the ropes

diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 6e3ad7f..39c629e 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -772,23 +772,6 @@ SbiExprNode* SbiExpression::VBA_Xor()
 
 }
 
-SbiExprNode* SbiExpression::VBA_Eqv()
-{
-    SbiExprNode* pNd = VBA_Xor();
-    if( m_eMode != EXPRMODE_EMPTY_PAREN )
-    {
-        for( ;; )
-        {
-            SbiToken eTok = pParser->Peek();
-            if( eTok != EQV )
-                break;
-            eTok = pParser->Next();
-            pNd = new SbiExprNode( pParser, pNd, eTok, VBA_Xor() );
-        }
-    }
-    return pNd;
-}
-
 SbiExprNode* SbiExpression::Like()
 {
     SbiExprNode* pNd = pParser->IsVBASupportOn() ? VBA_Not() : Comp();
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index edd221e..4be12f1 100644
--- a/basic/source/inc/expr.hxx
+++ b/basic/source/inc/expr.hxx
@@ -192,7 +192,6 @@ protected:
     SbiExprNode* VBA_And();
     SbiExprNode* VBA_Or();
     SbiExprNode* VBA_Xor();
-    SbiExprNode* VBA_Eqv();
     SbiExprNode* Comp();
     SbiExprNode* Boolean();
 public:
diff --git a/svx/inc/svx/svdobj.hxx b/svx/inc/svx/svdobj.hxx
index ed8d8c7..6ab8927 100644
--- a/svx/inc/svx/svdobj.hxx
+++ b/svx/inc/svx/svdobj.hxx
@@ -249,7 +249,6 @@ public:
     size_t GetUserDataCount() const;
     const SdrObjUserData* GetUserData(size_t nNum) const;
     SdrObjUserData* GetUserData(size_t nNum);
-    void InsertUserData(SdrObjUserData* pData, size_t nPos);
     void AppendUserData(SdrObjUserData* pData);
     void DeleteUserData(size_t nNum);
 };
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 2ac68a2..b35877c 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -242,11 +242,6 @@ SdrObjUserData* SdrObjUserDataList::GetUserData(size_t nNum)
     return &maList.at(nNum);
 }
 
-void SdrObjUserDataList::InsertUserData(SdrObjUserData* pData, size_t nPos)
-{
-    maList.insert(maList.begin()+nPos, pData);
-}
-
 void SdrObjUserDataList::AppendUserData(SdrObjUserData* pData)
 {
     maList.push_back(pData);
diff --git a/unusedcode.easy b/unusedcode.easy
index 33aca1d..f90da4b 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,8 +1,19 @@
+(anonymous namespace)::badArguments()
 ByteString::Append(char)
 ByteString::Assign(char const*, unsigned short)
 ByteString::Assign(char)
 ByteString::ByteString(char const*, unsigned short)
+ByteString::CompareTo(ByteString const&, unsigned short) const
+ByteString::Equals(ByteString const&, unsigned short, unsigned short) const
+ByteString::Equals(char const*, unsigned short, unsigned short) const
+ByteString::EqualsIgnoreCaseAscii(ByteString const&) const
+ByteString::GetToken(unsigned short, char, unsigned short&) const
+ByteString::Match(ByteString const&) const
+ByteString::SearchAndReplaceAll(ByteString const&, ByteString const&)
+ByteString::SearchAndReplaceAll(char const*, ByteString const&)
+ByteString::SearchBackward(char, unsigned short) const
 ByteString::SetToken(unsigned short, char, ByteString const&, unsigned short)
+ByteString::ToUpperAscii()
 CalendarWrapper::setFirstDayOfWeek(short)
 CalendarWrapper::setMinimumNumberOfDaysForFirstWeek(short)
 CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
@@ -37,6 +48,7 @@ FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, in
 FontSizeBox::SetUserValue(long, FieldUnit)
 FontStyleBox::FontStyleBox(Window*, long)
 FormattedField::SetValidateText(String const&, String const*)
+FuncData::FuncData(rtl::OUString const&)
 GraphCtrl::GraphCtrl(Window*, long)
 GtkSalFrame::popIgnoreDamage()
 GtkSalFrame::pushIgnoreDamage()
@@ -133,7 +145,13 @@ ScAddInDocs::Insert(ScAddInDocs const*, unsigned short, unsigned short)
 ScAddInDocs::Insert(ScDocument* const&, unsigned short&)
 ScAddInDocs::Insert(ScDocument* const*, unsigned short)
 ScAddInDocs::Remove(ScDocument* const&, unsigned short)
-ScChangeActionContent::SetNewValue(String const&, ScDocument*)
+ScChangeAction::IsDeleted() const
+ScChangeActionContent::IsMatrixReference() const
+ScChangeActionContent::IsOldMatrixOrigin() const
+ScChangeActionContent::SetNewValue(rtl::OUString const&, ScDocument*)
+ScChartListener::ScChartListener(rtl::OUString const&, ScDocument*, ScRange const&)
+ScChartListener::SetName(rtl::OUString const&)
+ScCollection::Free(ScDataObject*)
 ScCompressedArray<int, unsigned char>::GetEntryCount() const
 ScCompressedArray<int, unsigned short>::CopyFrom(ScCompressedArray<int, unsigned short> const&, int, int, long)
 ScCompressedArray<int, unsigned short>::GetEntryCount() const
@@ -192,10 +210,17 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
 ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
+ScVbaWorksheet::ScVbaWorksheet(com::sun::star::uno::Reference<ooo::vba::XHelperInterface> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
 ScaList::Insert(void*, unsigned int)
 ScrollBarBox::ScrollBarBox(Window*, ResId const&)
 ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
 SdFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
+SdrObject::IsGrouped() const
+SdrObject::IsMasterCachable() const
+SdrObject::IsShareLock() const
+SdrObject::SetGrouped(bool)
+SdrObject::ShareLock()
+SdrObject::ShareUnlock()
 SectReprArr::Insert(SectRepr* const&, unsigned short&)
 SectReprArr::Insert(SectRepr* const*, unsigned short)
 SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short)
@@ -216,14 +241,17 @@ SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const*&, unsigned short&)
 SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const**, unsigned short)
 SfxFoundCacheArr_Impl::Remove(SfxFoundCache_Impl const*&, unsigned short)
 SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short)
+SfxHintPoster::RegisterEvent()
 SfxMedium::GetHdl()
 SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
 SfxNavigatorWrapper::GetChildWindowId()
+SfxOleStringPropertyBase::SfxOleStringPropertyBase(int, int, unsigned short, String const&)
 SfxPartChildWnd_Impl::GetChildWindowId()
 SfxPopupWindow::LinkStubDelete(void*, void*)
 SfxProgress::Lock()
 SfxRangeItem::SfxRangeItem(unsigned short, SvStream&)
 SfxRecordingFloatWrapper_Impl::GetChildWindowId()
+SfxStyleSheetBase::SfxStyleSheetBase()
 SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*)
 SfxUINT32s::Insert(SfxUINT32s const*, unsigned short, unsigned short, unsigned short)
 SfxUINT32s::Remove(unsigned short, unsigned short)
@@ -1393,6 +1421,7 @@ oox::xls::FormulaProcessorBase::generateApiAddressString(com::sun::star::table::
 oox::xls::FormulaProcessorBase::generateApiRangeListString(oox::xls::ApiCellRangeList const&) const
 oox::xls::FunctionParamInfoIterator::getParamInfo() const
 oox::xls::FunctionProvider::getFuncInfoFromOdfFuncName(rtl::OUString const&) const
+oox::xls::ShapeAnchor::getToCell() const
 oox::xls::SheetDataBuffer::XfIdRange::set(com::sun::star::table::CellAddress const&, int, int)
 oox::xls::SheetDataBuffer::XfIdRange::tryExpand(com::sun::star::table::CellAddress const&, int, int)
 oox::xls::SheetDataBuffer::XfIdRange::tryMerge(oox::xls::SheetDataBuffer::XfIdRange const&)
@@ -1507,6 +1536,7 @@ std::__cxx1998::vector<CntHTTPCookie*, std::allocator<CntHTTPCookie*> >::~vector
 std::__cxx1998::vector<OrderedEntry*, std::allocator<OrderedEntry*> >::~vector()
 std::__cxx1998::vector<ServiceInfo*, std::allocator<ServiceInfo*> >::~vector()
 std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector()
+svt::FrameStatusListener::removeStatusListener(rtl::OUString const&)
 svx::SvxShowCharSetItem::~SvxShowCharSetItem()
 svxform::DataNavigatorManager::GetChildWindowId()
 svxform::FmFilterNavigatorWinMgr::GetChildWindowId()
commit d602c6528389e563c2617581938360c888b7e23a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 7 22:57:17 2012 +0000

    add back in lost unused code filters

diff --git a/Makefile b/Makefile
index 88cd5a1..c5c8589 100644
--- a/Makefile
+++ b/Makefile
@@ -418,7 +418,12 @@ findunusedcode:
 	    ln -sf $(SRCDIR)/solenv/$(INPATH)/bin/dmake \
 		$(SRCDIR)/solenv/callcatcher/bin/dmake
 	@$(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile
-	@grep ::.*\( unusedcode.all | grep -v ^cppu:: > unusedcode.easy
+	@grep ::.*\( unusedcode.all \
+              | grep -v ^cppu:: \
+              | grep -v ^boost:: \
+              | grep -v ^CIcc \
+              | grep -v ^Atom \
+              > unusedcode.easy
 
 check: subsequentcheck
 


More information about the Libreoffice-commits mailing list