summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-22 09:19:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-22 10:17:52 +0100
commit60c6906147e5b6fe8aafcd9487283478ff0d3c6e (patch)
tree9946b8bbb61bb595f6a0d1d91072fd288501c34b
parente00416c7258e0400464d09cd5e955d8fb5cb76a0 (diff)
callcatcher: remove unused methods
-rw-r--r--sfx2/inc/sfx2/docfile.hxx6
-rw-r--r--sfx2/inc/sfx2/progress.hxx2
-rw-r--r--sfx2/source/bastyp/helper.cxx27
-rw-r--r--sfx2/source/bastyp/progress.cxx24
-rw-r--r--sfx2/source/doc/docfile.cxx34
-rw-r--r--sfx2/source/doc/new.cxx13
-rw-r--r--sfx2/source/doc/objmisc.cxx27
-rw-r--r--sfx2/source/inc/helper.hxx1
-rw-r--r--sfx2/source/inc/objshimp.hxx2
-rw-r--r--sfx2/source/inc/preview.hxx3
10 files changed, 0 insertions, 139 deletions
diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx
index 6b9dcdff7e..6c427e9d60 100644
--- a/sfx2/inc/sfx2/docfile.hxx
+++ b/sfx2/inc/sfx2/docfile.hxx
@@ -246,7 +246,6 @@ public:
SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetInputStream_Impl();
SAL_DLLPRIVATE void CloseAndReleaseStreams_Impl();
- SAL_DLLPRIVATE void RefreshName_Impl();
SAL_DLLPRIVATE sal_uInt16 AddVersion_Impl( com::sun::star::util::RevisionTag& rVersion );
SAL_DLLPRIVATE sal_Bool TransferVersionList_Impl( SfxMedium& rMedium );
SAL_DLLPRIVATE sal_Bool SaveVersionList_Impl( sal_Bool bUseXML );
@@ -254,8 +253,6 @@ public:
SAL_DLLPRIVATE void SetExpired_Impl( const DateTime& rDateTime );
SAL_DLLPRIVATE SvKeyValueIterator* GetHeaderAttributes_Impl();
- SAL_DLLPRIVATE const String& GetPreRedirectedURL() const;
- SAL_DLLPRIVATE void SetOrigFilter_Impl( const SfxFilter* pFilter );
// Diese Protokolle liefern MIME Typen
SAL_DLLPRIVATE sal_Bool SupportsMIME_Impl() const;
@@ -275,12 +272,9 @@ public:
{ aLongName = rName; }
SAL_DLLPRIVATE const String & GetLongName() const { return aLongName; }
SAL_DLLPRIVATE ErrCode CheckOpenMode_Impl( sal_Bool bSilent, sal_Bool bAllowRO = sal_True );
- SAL_DLLPRIVATE sal_Bool IsDownloadDone_Impl();
SAL_DLLPRIVATE sal_Bool IsPreview_Impl();
SAL_DLLPRIVATE void ClearBackup_Impl();
SAL_DLLPRIVATE void Done_Impl( ErrCode );
- SAL_DLLPRIVATE void DataAvailable_Impl();
- SAL_DLLPRIVATE void Cancel_Impl();
SAL_DLLPRIVATE void SetPhysicalName_Impl(const String& rName);
SAL_DLLPRIVATE void CanDisposeStorage_Impl( sal_Bool bDisposeStorage );
SAL_DLLPRIVATE sal_Bool WillDisposeStorageOnClose_Impl();
diff --git a/sfx2/inc/sfx2/progress.hxx b/sfx2/inc/sfx2/progress.hxx
index d8a580a7ba..c785aca883 100644
--- a/sfx2/inc/sfx2/progress.hxx
+++ b/sfx2/inc/sfx2/progress.hxx
@@ -82,8 +82,6 @@ public:
DECL_DLLPRIVATE_STATIC_LINK( SfxProgress, SetStateHdl, PlugInLoadStatus* );
DECL_DLLPRIVATE_STATIC_LINK( SfxProgress, DefaultBindingProgress, SvProgressArg* );
- SAL_DLLPRIVATE bool StatusBarManagerGone_Impl(SfxStatusBarManager*pStb);
- SAL_DLLPRIVATE const String& GetStateText_Impl() const;
};
#endif
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index 15d40a0d56..e00fbda6c3 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -121,33 +121,6 @@ sal_Bool SfxContentHelper::IsDocument( const String& rContent )
// -----------------------------------------------------------------------
-sal_Bool SfxContentHelper::Kill( const String& rContent )
-{
- sal_Bool bRet = sal_True;
- INetURLObject aDeleteObj( rContent );
- DBG_ASSERT( aDeleteObj.GetProtocol() != INET_PROT_NOT_VALID, "Invalid URL!" );
-
- try
- {
- ::ucbhelper::Content aCnt( aDeleteObj.GetMainURL( INetURLObject::NO_DECODE ), uno::Reference< ucb::XCommandEnvironment > () );
- aCnt.executeCommand( OUString(RTL_CONSTASCII_USTRINGPARAM("delete")), uno::makeAny( sal_Bool( sal_True ) ) );
- }
- catch( const ucb::CommandAbortedException& )
- {
- DBG_WARNING( "CommandAbortedException" );
- bRet = sal_False;
- }
- catch( const uno::Exception& )
- {
- DBG_ERRORFILE( "Any other exception" );
- bRet = sal_False;
- }
-
- return bRet;
-}
-
-// -----------------------------------------------------------------------
-
uno::Sequence < OUString > SfxContentHelper::GetResultSet( const String& rURL )
{
StringList_Impl* pList = NULL;
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index 625440d297..1482b0458d 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -258,13 +258,6 @@ void SfxProgress::SetText
// -----------------------------------------------------------------------
-const String& SfxProgress::GetStateText_Impl() const
-{
- return pImp->aStateText;
-}
-
-// -----------------------------------------------------------------------
-
// Required in App data
static sal_uIntPtr nLastTime = 0;
@@ -669,21 +662,4 @@ void SfxProgress::LeaveLock()
pImp->nRescheduleLocks--;
}
-// -----------------------------------------------------------------------
-
-bool SfxProgress::StatusBarManagerGone_Impl
-(
- SfxStatusBarManager * // This <SfxStatusBarManager> will be destroyed
-)
-
-/* [Description]
-
- Internal method for notifying the SfxProgress that the specified
- SfxStatusBarManger will be destroyed so that the Progress can let go of it.
-*/
-
-{
- return sal_True;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 5386853be5..bd1f9b1314 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -323,17 +323,6 @@ public:
~SfxMedium_Impl();
};
-void SfxMedium::DataAvailable_Impl()
-{
- pImp->aAvailableLink.ClearPendingCall();
- pImp->aAvailableLink.Call( NULL );
-}
-
-void SfxMedium::Cancel_Impl()
-{
- SetError( ERRCODE_IO_GENERAL, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) );
-}
-
//------------------------------------------------------------------
SfxMedium_Impl::SfxMedium_Impl( SfxMedium* pAntiImplP )
: SvCompatWeakBase( pAntiImplP ),
@@ -2587,13 +2576,6 @@ const SfxFilter* SfxMedium::GetOrigFilter( sal_Bool bNotCurrent ) const
//----------------------------------------------------------------
-void SfxMedium::SetOrigFilter_Impl( const SfxFilter* pOrigFilter )
-{
- pImp->pOrigFilter = pOrigFilter;
-}
-
-//------------------------------------------------------------------
-
sal_uInt32 SfxMedium::CreatePasswordToModifyHash( const ::rtl::OUString& aPasswd, sal_Bool bWriter )
{
sal_uInt32 nHash = 0;
@@ -2753,10 +2735,6 @@ void SfxMedium::CloseStreams_Impl()
//------------------------------------------------------------------
-void SfxMedium::RefreshName_Impl()
-{
-}
-
void SfxMedium::SetIsRemote_Impl()
{
INetURLObject aObj( GetName() );
@@ -3040,13 +3018,6 @@ const INetURLObject& SfxMedium::GetURLObject() const
//----------------------------------------------------------------
-const String& SfxMedium::GetPreRedirectedURL() const
-{
- return pImp->aPreRedirectionURL;
-}
-
-//----------------------------------------------------------------
-
void SfxMedium::SetReferer( const String& rRefer )
{
pImp->aReferer = rRefer;
@@ -3144,11 +3115,6 @@ SvCompatWeakHdl* SfxMedium::GetHdl()
return pImp->GetHdl();
}
-sal_Bool SfxMedium::IsDownloadDone_Impl()
-{
- return pImp->bDownloadDone;
-}
-
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SfxMedium::GetInputStream()
{
if ( !pImp->xInputStream.is() )
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 0695d9df43..f487e6699a 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -104,19 +104,6 @@ void SfxPreviewBase_Impl::Resize()
Invalidate();
}
-void SfxPreviewBase_Impl::SetGDIFile( ::boost::shared_ptr<GDIMetaFile> pFile )
-{
- pMetaFile = pFile;
- Invalidate();
-}
-
-SfxFrameWindow* SfxPreviewWin_Impl::PreviewFactory(
- SfxFrame* pFrame, const String& /*rName*/ )
-{
- return new SfxFrameWindow( new SfxPreviewWin_Impl(
- &pFrame->GetCurrentViewFrame()->GetWindow() ) );
-}
-
void SfxPreviewWin_Impl::ImpPaint(
const Rectangle&, GDIMetaFile* pFile, Window* pWindow )
{
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 98ded9fdf3..eb5798acd4 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -2079,33 +2079,6 @@ sal_Bool SfxObjectShell::UseInteractionToHandleError(
return bResult;
}
-sal_Bool SfxObjectShell_Impl::NeedsOfficeUpdateDialog()
-{
- // if the configuration is not available for any reason, the default behavior is to show the message
- sal_Bool bResult = sal_True;
-
- try
- {
- uno::Reference< lang::XMultiServiceFactory > xServiceManager( ::comphelper::getProcessServiceFactory(), uno::UNO_SET_THROW );
- uno::Reference< uno::XInterface > xCommonConfig(
- ::comphelper::ConfigurationHelper::openConfig(
- xServiceManager,
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/org.openoffice.Office.Common" ) ),
- ::comphelper::ConfigurationHelper::E_STANDARD ),
- uno::UNO_SET_THROW );
-
- ::comphelper::ConfigurationHelper::readRelativeKey(
- xCommonConfig,
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Load/" ) ),
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ShowOfficeUpdateDialog" ) ) ) >>= bResult;
- }
- catch( uno::Exception& )
- {
- }
-
- return bResult;
-}
-
sal_Int16 SfxObjectShell_Impl::getCurrentMacroExecMode() const
{
sal_Int16 nImposedExecMode( MacroExecMode::NEVER_EXECUTE );
diff --git a/sfx2/source/inc/helper.hxx b/sfx2/source/inc/helper.hxx
index ebad5da12e..5ee62f43b9 100644
--- a/sfx2/source/inc/helper.hxx
+++ b/sfx2/source/inc/helper.hxx
@@ -43,7 +43,6 @@ class SfxContentHelper
{
public:
static sal_Bool IsDocument( const String& rContent );
- static sal_Bool Kill( const String& rContent );
static ::com::sun::star::uno::Sequence< ::rtl::OUString >
GetResultSet( const String& rURL );
diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx
index 7d2278c70a..b76bf1e9ec 100644
--- a/sfx2/source/inc/objshimp.hxx
+++ b/sfx2/source/inc/objshimp.hxx
@@ -157,8 +157,6 @@ struct SfxObjectShell_Impl : public ::sfx2::IMacroDocumentAccess
SfxObjectShell_Impl( SfxObjectShell& _rDocShell );
virtual ~SfxObjectShell_Impl();
- static sal_Bool NeedsOfficeUpdateDialog();
-
// IMacroDocumentAccess overridables
virtual sal_Int16 getCurrentMacroExecMode() const;
virtual sal_Bool setCurrentMacroExecMode( sal_uInt16 nMacroMode );
diff --git a/sfx2/source/inc/preview.hxx b/sfx2/source/inc/preview.hxx
index e6feb4ef55..037bdd072a 100644
--- a/sfx2/source/inc/preview.hxx
+++ b/sfx2/source/inc/preview.hxx
@@ -48,7 +48,6 @@ public:
SfxPreviewBase_Impl( Window* pParent );
~SfxPreviewBase_Impl( );
void SetObjectShell( SfxObjectShell* pObj );
- void SetGDIFile( ::boost::shared_ptr<GDIMetaFile> pFile );
virtual void Resize();
};
@@ -66,8 +65,6 @@ public:
: SfxPreviewBase_Impl( pParent ){};
static void ImpPaint(
const Rectangle& rRect, GDIMetaFile* pFile, Window* pWindow );
- static SfxFrameWindow*
- PreviewFactory( SfxFrame* pFrame, const String& rName );
};
#endif