[Libreoffice-commits] .: linguistic/inc linguistic/source sfx2/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Tue Jul 26 14:39:14 PDT 2011


 linguistic/inc/linguistic/lngprophelp.hxx |    3 ---
 linguistic/source/lngprophelp.cxx         |   14 --------------
 sfx2/source/doc/new.cxx                   |    7 -------
 sfx2/source/inc/preview.hxx               |    3 ---
 4 files changed, 27 deletions(-)

New commits:
commit a2644343c0f9730c607f86471412ae2bd92649f1
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Tue Jul 26 23:33:12 2011 +0200

    callcatcher: remove unused methods

diff --git a/linguistic/inc/linguistic/lngprophelp.hxx b/linguistic/inc/linguistic/lngprophelp.hxx
index 405b6a6..4772d76 100644
--- a/linguistic/inc/linguistic/lngprophelp.hxx
+++ b/linguistic/inc/linguistic/lngprophelp.hxx
@@ -266,12 +266,9 @@ public:
 				::com::sun::star::uno::XInterface > &rxSource,
 			::com::sun::star::uno::Reference<
 				::com::sun::star::beans::XPropertySet > &rxPropSet );
-	~PropertyHelper_Spelling();
 
 	void 	AddAsPropListener();
-	void	RemoveAsPropListener();
 	void SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals );
-    sal_Int16   GetMaxNumberOfSuggestions() const;
 	sal_Bool	IsSpellUpperCase() const;
 	sal_Bool	IsSpellWithDigits() const;
 	sal_Bool	IsSpellCapitalization() const;
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index d5ae4fb..d1ad962 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -806,30 +806,16 @@ PropertyHelper_Spelling::PropertyHelper_Spelling(
 	xPropHelper = pInst;
 }
 
-PropertyHelper_Spelling::~PropertyHelper_Spelling()
-{
-}
-
 void PropertyHelper_Spelling::AddAsPropListener()
 {
 	pInst->AddAsPropListener();
 }
 
-void PropertyHelper_Spelling::RemoveAsPropListener()
-{
-	pInst->RemoveAsPropListener();
-}
-
 void PropertyHelper_Spelling::SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals )
 {
 	pInst->SetTmpPropVals( rPropVals );
 }
 
-sal_Int16 PropertyHelper_Spelling::GetMaxNumberOfSuggestions() const
-{
-	return pInst->GetMaxNumberOfSuggestions();
-}
-
 sal_Bool PropertyHelper_Spelling::IsSpellUpperCase() const
 {
 	return pInst->IsSpellUpperCase();
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index f487e66..611d20c 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -88,13 +88,6 @@ SfxPreviewBase_Impl::SfxPreviewBase_Impl(
 {
 }
 
-SfxPreviewBase_Impl::SfxPreviewBase_Impl( Window* pParent )
-    : Window(pParent, 0 ), pMetaFile()
-{
-    Resize();
-    Show();
-}
-
 SfxPreviewBase_Impl::~SfxPreviewBase_Impl()
 {
 }
diff --git a/sfx2/source/inc/preview.hxx b/sfx2/source/inc/preview.hxx
index 037bdd0..5208543 100644
--- a/sfx2/source/inc/preview.hxx
+++ b/sfx2/source/inc/preview.hxx
@@ -45,7 +45,6 @@ protected:
 public:
                     SfxPreviewBase_Impl( Window* pParent,
                                          const ResId& rResId );
-                    SfxPreviewBase_Impl( Window* pParent );
                     ~SfxPreviewBase_Impl(  );
     void            SetObjectShell( SfxObjectShell* pObj );
     virtual void    Resize();
@@ -61,8 +60,6 @@ public:
                     SfxPreviewWin_Impl( Window* pParent,
                                     const ResId& rResId )
                     : SfxPreviewBase_Impl( pParent, rResId ){};
-                    SfxPreviewWin_Impl( Window* pParent )
-                    : SfxPreviewBase_Impl( pParent ){};
     static void     ImpPaint(
         const Rectangle& rRect, GDIMetaFile* pFile, Window* pWindow );
 };


More information about the Libreoffice-commits mailing list