diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/Metadatable.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/docundomanager.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 0b409959622e..f1550da9c0b3 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -1209,7 +1209,6 @@ XmlIdRegistryClipboard::RegisterCopyClipboard(Metadatable & i_rCopy, const bool success( m_pImpl->TryInsertMetadatable(i_rCopy, i_rReference.First, i_rReference.Second) ); OSL_ENSURE(success, "RegisterCopyClipboard: TryInsert failed?"); - (void) success; } const std::shared_ptr<MetadatableClipboard> xLink( CreateClipboard( isContentFile(i_rReference.First)) ); diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx index 693084ec14c2..143dffb1e3e3 100644 --- a/sfx2/source/doc/docundomanager.cxx +++ b/sfx2/source/doc/docundomanager.cxx @@ -414,9 +414,8 @@ namespace sfx2 } - void SAL_CALL DocumentUndoManager::setParent( const Reference< XInterface >& i_parent ) + void SAL_CALL DocumentUndoManager::setParent( const Reference< XInterface >& ) { - (void)i_parent; throw NoSupportException( OUString(), m_pImpl->getThis() ); } diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 6714c7a0ef94..1bb7a932b853 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2507,7 +2507,6 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs ) bOpen = DoSaveCompleted( pMediumTmp ); DBG_ASSERT(bOpen,"Error handling for DoSaveCompleted not implemented"); - (void)bOpen; } else { @@ -2801,7 +2800,6 @@ bool SfxObjectShell::PreDoSaveAs_Impl(const OUString& rFileName, const OUString& bool bRet( false ); bRet = DoSaveCompleted( pMedium ); DBG_ASSERT( bRet, "Error in DoSaveCompleted, can't be handled!"); - (void)bRet; } // TODO/LATER: disconnect the new file from the storage for the case when pure saving is done |