[Libreoffice-commits] .: 2 commits - sdext/source svx/inc svx/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Tue Oct 4 07:54:31 PDT 2011


 sdext/source/pdfimport/tree/treevisiting.hxx |    2 +-
 svx/inc/galbrws2.hxx                         |    1 -
 svx/source/gallery2/galbrws2.cxx             |   12 ------------
 unusedcode.easy                              |    7 -------
 4 files changed, 1 insertion(+), 21 deletions(-)

New commits:
commit 9c28c7d66b10b6008c09da40dae37fcdff3137df
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 4 15:53:36 2011 +0100

    callcatcher: update list

diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index 61226b4..31d87b2 100644
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -168,7 +168,6 @@ public:
     INetURLObject       GetURL() const;
     String              GetFilterName() const;
     Graphic             GetGraphic() const;
-    sal_Bool                GetVCDrawModel( FmFormModel& rModel ) const;
     sal_Bool                IsLinkage() const;
 
     sal_Int8            AcceptDrop( DropTargetHelper& rTarget, const AcceptDropEvent& rEvt );
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 9c1ba48..693b907 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -1197,18 +1197,6 @@ Graphic GalleryBrowser2::GetGraphic() const
 
 // -----------------------------------------------------------------------------
 
-sal_Bool GalleryBrowser2::GetVCDrawModel( FmFormModel& rModel ) const
-{
-    sal_Bool bRet = sal_False;
-
-    if( mpCurTheme && mnCurActionPos != 0xffffffff )
-        bRet = mpCurTheme->GetModel( mnCurActionPos, rModel );
-
-    return bRet;
-}
-
-// -----------------------------------------------------------------------------
-
 sal_Bool GalleryBrowser2::IsLinkage() const
 {
     return mbCurActionIsLinkage;
diff --git a/unusedcode.easy b/unusedcode.easy
index 28ceb2b..8203c75 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -799,7 +799,6 @@ StgCache::Pos2Page(int)
 StgHeader::SetClassId(ClsId const&)
 StorageStream::ValidateMode(unsigned short, StgDirEntry*) const
 SvBorder::SvBorder(Rectangle const&, Rectangle const&)
-SvByteStrings::DeleteAndDestroy(unsigned short, unsigned short)
 SvFileStream::UnlockFile()
 SvI18NMap_Impl::Insert(SvI18NMapEntry_Impl* const&, unsigned short&)
 SvI18NMap_Impl::Insert(SvI18NMapEntry_Impl* const*, unsigned short)
@@ -840,11 +839,6 @@ SvStringsSortDtor::Insert(SvStringsSortDtor const*, unsigned short, unsigned sho
 SvStringsSortDtor::Remove(String* const&, unsigned short)
 SvStringsSortDtor::Remove(unsigned short, unsigned short)
 SvTabListBox::GetTabJustify(unsigned short) const
-SvULongs::Insert(SvULongs const*, unsigned short, unsigned short, unsigned short)
-SvULongs::Remove(unsigned short, unsigned short)
-SvULongs::Replace(unsigned long const&, unsigned short)
-SvULongs::Replace(unsigned long const*, unsigned short, unsigned short)
-SvULongs::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
 SvUShorts::Insert(SvUShorts const*, unsigned short, unsigned short, unsigned short)
 SvUShorts::Replace(unsigned short const&, unsigned short)
 SvUShorts::Replace(unsigned short const*, unsigned short, unsigned short)
@@ -1774,7 +1768,6 @@ binfilter::SvBools::Insert(binfilter::SvBools const*, unsigned short, unsigned s
 binfilter::SvBools::Replace(unsigned char const&, unsigned short)
 binfilter::SvBools::Replace(unsigned char const*, unsigned short, unsigned short)
 binfilter::SvBools::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned char const&, void*), void*)
-binfilter::SvByteStrings::DeleteAndDestroy(unsigned short, unsigned short)
 binfilter::SvBytes::Insert(binfilter::SvBytes const*, unsigned short, unsigned short, unsigned short)
 binfilter::SvBytes::Replace(unsigned char const&, unsigned short)
 binfilter::SvBytes::Replace(unsigned char const*, unsigned short, unsigned short)
commit d7829740dde1150a90cef695ce880bf99ce71d95
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 4 15:53:22 2011 +0100

    keep it simple, original won't compile except on msvc anyway

diff --git a/sdext/source/pdfimport/tree/treevisiting.hxx b/sdext/source/pdfimport/tree/treevisiting.hxx
index 73b3f24..2da532e 100644
--- a/sdext/source/pdfimport/tree/treevisiting.hxx
+++ b/sdext/source/pdfimport/tree/treevisiting.hxx
@@ -63,7 +63,7 @@ namespace pdfi
         virtual void visit( ImageElement&, const std::list< Element* >::const_iterator&  ) = 0;
         virtual void visit( PageElement&, const std::list< Element* >::const_iterator&  ) = 0;
         virtual void visit( DocumentElement&, const std::list< Element* >::const_iterator&  ) = 0;
-        virtual ~ElementTreeVisitor() = 0 { };
+        virtual ~ElementTreeVisitor() {}
     };
     typedef boost::shared_ptr<ElementTreeVisitor> ElementTreeVisitorSharedPtr;
 


More information about the Libreoffice-commits mailing list