[Libreoffice-commits] core.git: svl/source
Jelle van der Waa
jelle at vdwaa.nl
Wed Jul 17 02:20:03 PDT 2013
svl/source/config/ctloptions.cxx | 10 --
svl/source/config/itemholder2.cxx | 8 -
svl/source/config/itemholder2.hxx | 4
svl/source/config/languageoptions.cxx | 13 --
svl/source/filepicker/pickerhistory.cxx | 8 -
svl/source/filerec/filerec.cxx | 19 ----
svl/source/fsstor/fsfactory.cxx | 9 --
svl/source/fsstor/fsstorage.cxx | 62 -------------
svl/source/fsstor/fsstorage.hxx | 14 ---
svl/source/fsstor/oinputstreamcontainer.cxx | 19 ----
svl/source/fsstor/ostreamcontainer.cxx | 25 -----
svl/source/inc/passwordcontainer.hxx | 6 -
svl/source/items/cenumitm.cxx | 34 -------
svl/source/items/cintitem.cxx | 59 -------------
svl/source/items/cntwall.cxx | 3
svl/source/items/ctypeitm.cxx | 18 ----
svl/source/items/custritm.cxx | 10 --
svl/source/items/dateitem.cxx | 2
svl/source/items/eitem.cxx | 4
svl/source/items/globalnameitem.cxx | 2
svl/source/items/imageitm.cxx | 4
svl/source/items/intitem.cxx | 32 -------
svl/source/items/itempool.cxx | 1
svl/source/items/itemset.cxx | 5 -
svl/source/items/lckbitem.cxx | 2
svl/source/items/macitem.cxx | 1
svl/source/items/nranges.cxx | 14 ---
svl/source/items/poolcach.cxx | 4
svl/source/items/poolio.cxx | 7 -
svl/source/items/poolitem.cxx | 4
svl/source/items/rngitem.cxx | 9 --
svl/source/items/slstitm.cxx | 17 ---
svl/source/items/srchitem.cxx | 1
svl/source/items/stritem.cxx | 6 -
svl/source/items/visitem.cxx | 14 ---
svl/source/misc/adrparse.cxx | 10 --
svl/source/misc/filenotation.cxx | 12 --
svl/source/misc/inettype.cxx | 28 ------
svl/source/misc/ownlist.cxx | 5 -
svl/source/misc/strmadpt.cxx | 53 -----------
svl/source/misc/urihelper.cxx | 10 --
svl/source/notify/brdcst.cxx | 9 --
svl/source/notify/broadcast.cxx | 6 -
svl/source/notify/hint.cxx | 2
svl/source/notify/isethint.cxx | 4
svl/source/notify/listener.cxx | 9 --
svl/source/notify/lstner.cxx | 10 --
svl/source/notify/smplhint.cxx | 2
svl/source/passwordcontainer/passwordcontainer.cxx | 66 --------------
svl/source/passwordcontainer/syscreds.cxx | 1
svl/source/svsql/converter.cxx | 1
svl/source/undo/undo.cxx | 94 ---------------------
52 files changed, 772 deletions(-)
New commits:
commit e179af1576a7763f3aeb112a41a640057d02c4f0
Author: Jelle van der Waa <jelle at vdwaa.nl>
Date: Sun Jul 14 11:20:36 2013 +0200
fdo#62475 removed pointless comments
Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6
Reviewed-on: https://gerrit.libreoffice.org/4901
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx
index 70c4f47..84ffcf6 100644
--- a/svl/source/config/ctloptions.cxx
+++ b/svl/source/config/ctloptions.cxx
@@ -88,13 +88,11 @@ public:
bool IsReadOnly(SvtCTLOptions::EOption eOption) const;
};
-//------------------------------------------------------------------------------
namespace
{
struct PropertyNames
: public rtl::Static< Sequence< OUString >, PropertyNames > {};
}
-//------------------------------------------------------------------------------
bool SvtCTLOptions_Impl::IsReadOnly(SvtCTLOptions::EOption eOption) const
{
bool bReadOnly = CFG_READONLY_DEFAULT;
@@ -110,7 +108,6 @@ bool SvtCTLOptions_Impl::IsReadOnly(SvtCTLOptions::EOption eOption) const
}
return bReadOnly;
}
-//------------------------------------------------------------------------------
SvtCTLOptions_Impl::SvtCTLOptions_Impl() :
utl::ConfigItem("Office.Common/I18N/CTL"),
@@ -131,7 +128,6 @@ SvtCTLOptions_Impl::SvtCTLOptions_Impl() :
m_bROCTLTextNumerals ( CFG_READONLY_DEFAULT )
{
}
-//------------------------------------------------------------------------------
SvtCTLOptions_Impl::~SvtCTLOptions_Impl()
{
if ( IsModified() == sal_True )
@@ -329,7 +325,6 @@ void SvtCTLOptions_Impl::Load()
m_bIsLoaded = sal_True;
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLFontEnabled( bool _bEnabled )
{
if(!m_bROCTLFontEnabled && m_bCTLFontEnabled != _bEnabled)
@@ -339,7 +334,6 @@ void SvtCTLOptions_Impl::SetCTLFontEnabled( bool _bEnabled )
NotifyListeners(0);
}
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLSequenceChecking( bool _bEnabled )
{
if(!m_bROCTLSequenceChecking && m_bCTLSequenceChecking != _bEnabled)
@@ -349,7 +343,6 @@ void SvtCTLOptions_Impl::SetCTLSequenceChecking( bool _bEnabled )
NotifyListeners(0);
}
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLSequenceCheckingRestricted( bool _bEnabled )
{
if(!m_bROCTLRestricted && m_bCTLRestricted != _bEnabled)
@@ -359,7 +352,6 @@ void SvtCTLOptions_Impl::SetCTLSequenceCheckingRestricted( bool _bEnabled )
NotifyListeners(0);
}
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLSequenceCheckingTypeAndReplace( bool _bEnabled )
{
if(!m_bROCTLTypeAndReplace && m_bCTLTypeAndReplace != _bEnabled)
@@ -369,7 +361,6 @@ void SvtCTLOptions_Impl::SetCTLSequenceCheckingTypeAndReplace( bool _bEnabled )
NotifyListeners(0);
}
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLCursorMovement( SvtCTLOptions::CursorMovement _eMovement )
{
if (!m_bROCTLCursorMovement && m_eCTLCursorMovement != _eMovement )
@@ -379,7 +370,6 @@ void SvtCTLOptions_Impl::SetCTLCursorMovement( SvtCTLOptions::CursorMovement _eM
NotifyListeners(0);
}
}
-//------------------------------------------------------------------------------
void SvtCTLOptions_Impl::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumerals )
{
if (!m_bROCTLTextNumerals && m_eCTLTextNumerals != _eNumerals )
diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx
index 6b7b25c..129feca 100644
--- a/svl/source/config/itemholder2.cxx
+++ b/svl/source/config/itemholder2.cxx
@@ -31,7 +31,6 @@
#include <tools/debug.hxx>
-//-----------------------------------------------
ItemHolder2::ItemHolder2()
: ItemHolderMutexBase()
{
@@ -64,27 +63,23 @@ ItemHolder2::ItemHolder2()
#endif
}
-//-----------------------------------------------
ItemHolder2::~ItemHolder2()
{
impl_releaseAllItems();
}
-//-----------------------------------------------
void ItemHolder2::holdConfigItem(EItem eItem)
{
static ItemHolder2* pHolder = new ItemHolder2();
pHolder->impl_addItem(eItem);
}
-//-----------------------------------------------
void SAL_CALL ItemHolder2::disposing(const css::lang::EventObject&)
throw(css::uno::RuntimeException)
{
impl_releaseAllItems();
}
-//-----------------------------------------------
void ItemHolder2::impl_addItem(EItem eItem)
{
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -106,7 +101,6 @@ void ItemHolder2::impl_addItem(EItem eItem)
m_lItems.push_back(aNewItem);
}
-//-----------------------------------------------
void ItemHolder2::impl_releaseAllItems()
{
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -122,7 +116,6 @@ void ItemHolder2::impl_releaseAllItems()
m_lItems.clear();
}
-//-----------------------------------------------
void ItemHolder2::impl_newItem(TItemInfo& rItem)
{
switch(rItem.eItem)
@@ -145,7 +138,6 @@ void ItemHolder2::impl_newItem(TItemInfo& rItem)
}
}
-//-----------------------------------------------
void ItemHolder2::impl_deleteItem(TItemInfo& rItem)
{
if (rItem.pItem)
diff --git a/svl/source/config/itemholder2.hxx b/svl/source/config/itemholder2.hxx
index 1e0db6b..7e8c596 100644
--- a/svl/source/config/itemholder2.hxx
+++ b/svl/source/config/itemholder2.hxx
@@ -27,13 +27,11 @@
class ItemHolder2 : private ItemHolderMutexBase
, public ::cppu::WeakImplHelper1< css::lang::XEventListener >
{
- //...........................................
// member
private:
TItems m_lItems;
- //...........................................
// c++ interface
public:
@@ -41,14 +39,12 @@ class ItemHolder2 : private ItemHolderMutexBase
virtual ~ItemHolder2();
static void holdConfigItem(EItem eItem);
- //...........................................
// uno interface
public:
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
throw(css::uno::RuntimeException);
- //...........................................
// helper
private:
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index 687c99a..8d09427 100644
--- a/svl/source/config/languageoptions.cxx
+++ b/svl/source/config/languageoptions.cxx
@@ -49,7 +49,6 @@ SvtLanguageOptions::SvtLanguageOptions( sal_Bool _bDontLoad )
m_pCTLOptions->AddListener(this);
m_pCJKOptions->AddListener(this);
}
-//------------------------------------------------------------------------------
SvtLanguageOptions::~SvtLanguageOptions()
{
// Global access, must be guarded (multithreading)
@@ -61,51 +60,40 @@ SvtLanguageOptions::~SvtLanguageOptions()
delete m_pCJKOptions;
delete m_pCTLOptions;
}
-//------------------------------------------------------------------------------
// CJK options -----------------------------------------------------------------
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsCJKFontEnabled() const
{
return m_pCJKOptions->IsCJKFontEnabled();
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsVerticalTextEnabled() const
{
return m_pCJKOptions->IsVerticalTextEnabled();
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsAsianTypographyEnabled() const
{
return m_pCJKOptions->IsAsianTypographyEnabled();
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsJapaneseFindEnabled() const
{
return m_pCJKOptions->IsJapaneseFindEnabled();
}
-//------------------------------------------------------------------------------
void SvtLanguageOptions::SetAll( sal_Bool _bSet )
{
m_pCJKOptions->SetAll( _bSet );
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsAnyEnabled() const
{
return m_pCJKOptions->IsAnyEnabled();
}
-//------------------------------------------------------------------------------
// CTL options -----------------------------------------------------------------
-//------------------------------------------------------------------------------
void SvtLanguageOptions::SetCTLFontEnabled( sal_Bool _bEnabled )
{
m_pCTLOptions->SetCTLFontEnabled( _bEnabled );
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsCTLFontEnabled() const
{
return m_pCTLOptions->IsCTLFontEnabled();
}
-//------------------------------------------------------------------------------
void SvtLanguageOptions::SetCTLSequenceChecking( sal_Bool _bEnabled )
{
m_pCTLOptions->SetCTLSequenceChecking( _bEnabled );
@@ -121,7 +109,6 @@ void SvtLanguageOptions::SetCTLSequenceCheckingTypeAndReplace( sal_Bool _bEnable
m_pCTLOptions->SetCTLSequenceCheckingTypeAndReplace( _bEnable );
}
-//------------------------------------------------------------------------------
sal_Bool SvtLanguageOptions::IsReadOnly(SvtLanguageOptions::EOption eOption) const
{
sal_Bool bReadOnly = sal_False;
diff --git a/svl/source/filepicker/pickerhistory.cxx b/svl/source/filepicker/pickerhistory.cxx
index 5bca8b2..2b77247 100644
--- a/svl/source/filepicker/pickerhistory.cxx
+++ b/svl/source/filepicker/pickerhistory.cxx
@@ -21,10 +21,8 @@
#include <cppuhelper/weakref.hxx>
#include <vector>
-//.........................................................................
namespace svt
{
-//.........................................................................
using namespace ::com::sun::star::uno;
namespace
@@ -52,7 +50,6 @@ namespace svt
if ( !_rxPicker.is() )
return;
- //=============================================================
// first, check which of the objects we hold in s_aHistory can be removed
{
InterfaceArray aCleanedHistory;
@@ -73,26 +70,21 @@ namespace svt
_rHistory.swap( aCleanedHistory );
}
- //=============================================================
// then push_back the picker
_rHistory.push_back( InterfaceAdapter( _rxPicker ) );
}
}
- //---------------------------------------------------------------------
void addFolderPicker( const Reference< XInterface >& _rxPicker )
{
implPushBackPicker( getFolderPickerHistory(), _rxPicker );
}
- //---------------------------------------------------------------------
void addFilePicker( const Reference< XInterface >& _rxPicker )
{
implPushBackPicker( getFilePickerHistory(), _rxPicker );
}
-//.........................................................................
} // namespace svt
-//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 1787bf8..697c522 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -20,7 +20,6 @@
#include <svl/filerec.hxx>
#include <osl/endian.h>
-//========================================================================
/* Die folgenden Makros extrahieren Teilbereiche aus einem sal_uInt32 Wert.
Diese sal_uInt32-Werte werden anstelle der einzelnen Werte gestreamt,
@@ -36,7 +35,6 @@
#define SFX_REC_CONTENT_VER(n) ( ((n) & 0x000000FF) )
#define SFX_REC_CONTENT_OFS(n) ( ((n) & 0xFFFFFF00) >> 8 )
-//-------------------------------------------------------------------------
/* Die folgenden Makros setzen Teilbereiche zu einem sal_uInt32 Wert zusammen.
Diese sal_uInt32-Werte werden anstelle der einzelnen Werte gestreamt,
@@ -56,7 +54,6 @@
( sal_uInt32(nContentVer) | \
sal_uInt32( nCurStartPos - n1StStartPos ) << 8 )
-//=========================================================================
sal_uInt32 SfxMiniRecordWriter::Close
(
@@ -227,7 +224,6 @@ SfxMiniRecordReader::SfxMiniRecordReader
}
}
-//=========================================================================
SfxSingleRecordWriter::SfxSingleRecordWriter
(
@@ -248,7 +244,6 @@ SfxSingleRecordWriter::SfxSingleRecordWriter
*pStream << SFX_REC_HEADER(nRecordType, nContentTag, nContentVer);
}
-//=========================================================================
inline bool SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
@@ -282,7 +277,6 @@ inline bool SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
return bRet;
}
-//-------------------------------------------------------------------------
bool SfxSingleRecordReader::FindHeader_Impl
(
@@ -348,7 +342,6 @@ bool SfxSingleRecordReader::FindHeader_Impl
return sal_False;
}
-//=========================================================================
SfxMultiFixRecordWriter::SfxMultiFixRecordWriter
(
@@ -370,7 +363,6 @@ SfxMultiFixRecordWriter::SfxMultiFixRecordWriter
pStream->SeekRel( + SFX_REC_HEADERSIZE_MULTI );
}
-//------------------------------------------------------------------------
sal_uInt32 SfxMultiFixRecordWriter::Close( bool bSeekToEndOfRec )
@@ -397,7 +389,6 @@ sal_uInt32 SfxMultiFixRecordWriter::Close( bool bSeekToEndOfRec )
return 0;
}
-//=========================================================================
SfxMultiVarRecordWriter::SfxMultiVarRecordWriter
(
@@ -417,7 +408,6 @@ SfxMultiVarRecordWriter::SfxMultiVarRecordWriter
{
}
-//-------------------------------------------------------------------------
SfxMultiVarRecordWriter::SfxMultiVarRecordWriter
(
@@ -445,7 +435,6 @@ SfxMultiVarRecordWriter::SfxMultiVarRecordWriter
{
}
-//-------------------------------------------------------------------------
SfxMultiVarRecordWriter::~SfxMultiVarRecordWriter()
@@ -462,7 +451,6 @@ SfxMultiVarRecordWriter::~SfxMultiVarRecordWriter()
Close();
}
-//-------------------------------------------------------------------------
void SfxMultiVarRecordWriter::FlushContent_Impl()
@@ -480,7 +468,6 @@ void SfxMultiVarRecordWriter::FlushContent_Impl()
SFX_REC_CONTENT_HEADER(_nContentVer,_nStartPos,_nContentStartPos));
}
-//-------------------------------------------------------------------------
void SfxMultiVarRecordWriter::NewContent()
@@ -496,7 +483,6 @@ void SfxMultiVarRecordWriter::NewContent()
++_nContentCount;
}
-//-------------------------------------------------------------------------
sal_uInt32 SfxMultiVarRecordWriter::Close( bool bSeekToEndOfRec )
@@ -537,7 +523,6 @@ sal_uInt32 SfxMultiVarRecordWriter::Close( bool bSeekToEndOfRec )
return 0;
}
-//=========================================================================
void SfxMultiMixRecordWriter::NewContent
(
@@ -564,7 +549,6 @@ void SfxMultiMixRecordWriter::NewContent
_nContentVer = nContentVer;
}
-//=========================================================================
bool SfxMultiRecordReader::ReadHeader_Impl()
@@ -607,7 +591,6 @@ bool SfxMultiRecordReader::ReadHeader_Impl()
return !_pStream->GetError();
}
-//-------------------------------------------------------------------------
SfxMultiRecordReader::SfxMultiRecordReader( SvStream *pStream, sal_uInt16 nTag )
: _pContentOfs(0)
@@ -632,14 +615,12 @@ SfxMultiRecordReader::SfxMultiRecordReader( SvStream *pStream, sal_uInt16 nTag )
}
}
-//-------------------------------------------------------------------------
SfxMultiRecordReader::~SfxMultiRecordReader()
{
delete[] _pContentOfs;
}
-//-------------------------------------------------------------------------
bool SfxMultiRecordReader::GetContent()
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 2379cf1..52c599e 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -36,7 +36,6 @@
using namespace ::com::sun::star;
-//-------------------------------------------------------------------------
uno::Sequence< OUString > SAL_CALL FSStorageFactory::impl_staticGetSupportedServiceNames()
{
uno::Sequence< OUString > aRet(2);
@@ -45,20 +44,17 @@ uno::Sequence< OUString > SAL_CALL FSStorageFactory::impl_staticGetSupportedServ
return aRet;
}
-//-------------------------------------------------------------------------
OUString SAL_CALL FSStorageFactory::impl_staticGetImplementationName()
{
return OUString("com.sun.star.comp.embed.FileSystemStorageFactory");
}
-//-------------------------------------------------------------------------
uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::impl_staticCreateSelfInstance(
const uno::Reference< lang::XMultiServiceFactory >& xServiceManager )
{
return uno::Reference< uno::XInterface >( *new FSStorageFactory( comphelper::getComponentContext(xServiceManager) ) );
}
-//-------------------------------------------------------------------------
uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstance()
throw ( uno::Exception,
uno::RuntimeException )
@@ -82,7 +78,6 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstance()
uno::UNO_QUERY );
}
-//-------------------------------------------------------------------------
uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithArguments(
const uno::Sequence< uno::Any >& aArguments )
throw ( uno::Exception,
@@ -164,14 +159,12 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
uno::UNO_QUERY );
}
-//-------------------------------------------------------------------------
OUString SAL_CALL FSStorageFactory::getImplementationName()
throw ( uno::RuntimeException )
{
return impl_staticGetImplementationName();
}
-//-------------------------------------------------------------------------
sal_Bool SAL_CALL FSStorageFactory::supportsService( const OUString& ServiceName )
throw ( uno::RuntimeException )
{
@@ -184,14 +177,12 @@ sal_Bool SAL_CALL FSStorageFactory::supportsService( const OUString& ServiceName
return sal_False;
}
-//-------------------------------------------------------------------------
uno::Sequence< OUString > SAL_CALL FSStorageFactory::getSupportedServiceNames()
throw ( uno::RuntimeException )
{
return impl_staticGetSupportedServiceNames();
}
-//-------------------------------------------------------------------------
extern "C"
{
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index 5d5bfef..fd8dd26 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -62,7 +62,6 @@
using namespace ::com::sun::star;
-//=========================================================
// TODO: move to a standard helper
sal_Bool isLocalFile_Impl( OUString aURL )
@@ -84,7 +83,6 @@ sal_Bool isLocalFile_Impl( OUString aURL )
}
-//=========================================================
struct FSStorage_Impl
{
@@ -124,7 +122,6 @@ struct FSStorage_Impl
~FSStorage_Impl();
};
-//=========================================================
FSStorage_Impl::~FSStorage_Impl()
{
@@ -136,11 +133,8 @@ FSStorage_Impl::~FSStorage_Impl()
delete m_pContent;
}
-//=====================================================
// FSStorage implementation
-//=====================================================
-//-----------------------------------------------
FSStorage::FSStorage( const ::ucbhelper::Content& aContent,
sal_Int32 nMode,
uno::Reference< uno::XComponentContext > xContext )
@@ -153,7 +147,6 @@ FSStorage::FSStorage( const ::ucbhelper::Content& aContent,
GetContent();
}
-//-----------------------------------------------
FSStorage::~FSStorage()
{
{
@@ -167,7 +160,6 @@ FSStorage::~FSStorage()
}
}
-//-----------------------------------------------
sal_Bool FSStorage::MakeFolderNoUI( const OUString& rFolder )
{
INetURLObject aURL( rFolder );
@@ -185,7 +177,6 @@ sal_Bool FSStorage::MakeFolderNoUI( const OUString& rFolder )
return sal_False;
}
-//-----------------------------------------------
::ucbhelper::Content* FSStorage::GetContent()
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -205,7 +196,6 @@ sal_Bool FSStorage::MakeFolderNoUI( const OUString& rFolder )
return m_pImpl->m_pContent;
}
-//-----------------------------------------------
void FSStorage::CopyStreamToSubStream( const OUString& aSourceURL,
const uno::Reference< embed::XStorage >& xDest,
const OUString& aNewEntryName )
@@ -234,7 +224,6 @@ void FSStorage::CopyStreamToSubStream( const OUString& aSourceURL,
xDestOutput->closeOutput();
}
-//-----------------------------------------------
void FSStorage::CopyContentToStorage_Impl( ::ucbhelper::Content* pContent, const uno::Reference< embed::XStorage >& xDest )
{
if ( !pContent )
@@ -296,11 +285,8 @@ void FSStorage::CopyContentToStorage_Impl( ::ucbhelper::Content* pContent, const
}
}
-//____________________________________________________________________________________________________
// XInterface
-//____________________________________________________________________________________________________
-//-----------------------------------------------
uno::Any SAL_CALL FSStorage::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException )
{
@@ -321,23 +307,18 @@ uno::Any SAL_CALL FSStorage::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-//-----------------------------------------------
void SAL_CALL FSStorage::acquire() throw()
{
OWeakObject::acquire();
}
-//-----------------------------------------------
void SAL_CALL FSStorage::release() throw()
{
OWeakObject::release();
}
-//____________________________________________________________________________________________________
// XTypeProvider
-//____________________________________________________________________________________________________
-//-----------------------------------------------
uno::Sequence< uno::Type > SAL_CALL FSStorage::getTypes()
throw( uno::RuntimeException )
{
@@ -358,7 +339,6 @@ uno::Sequence< uno::Type > SAL_CALL FSStorage::getTypes()
return m_pImpl->m_pTypeCollection->getTypes() ;
}
-//-----------------------------------------------
uno::Sequence< sal_Int8 > SAL_CALL FSStorage::getImplementationId()
throw( uno::RuntimeException )
{
@@ -379,11 +359,8 @@ uno::Sequence< sal_Int8 > SAL_CALL FSStorage::getImplementationId()
}
-//____________________________________________________________________________________________________
// XStorage
-//____________________________________________________________________________________________________
-//-----------------------------------------------
void SAL_CALL FSStorage::copyToStorage( const uno::Reference< embed::XStorage >& xDest )
throw ( embed::InvalidStorageException,
io::IOException,
@@ -435,7 +412,6 @@ void SAL_CALL FSStorage::copyToStorage( const uno::Reference< embed::XStorage >&
}
}
-//-----------------------------------------------
uno::Reference< io::XStream > SAL_CALL FSStorage::openStreamElement(
const OUString& aStreamName, sal_Int32 nOpenMode )
throw ( embed::InvalidStorageException,
@@ -545,7 +521,6 @@ uno::Reference< io::XStream > SAL_CALL FSStorage::openStreamElement(
return xResult;
}
-//-----------------------------------------------
uno::Reference< io::XStream > SAL_CALL FSStorage::openEncryptedStreamElement(
const OUString&, sal_Int32, const OUString& )
throw ( embed::InvalidStorageException,
@@ -559,7 +534,6 @@ uno::Reference< io::XStream > SAL_CALL FSStorage::openEncryptedStreamElement(
throw packages::NoEncryptionException();
}
-//-----------------------------------------------
uno::Reference< embed::XStorage > SAL_CALL FSStorage::openStorageElement(
const OUString& aStorName, sal_Int32 nStorageMode )
throw ( embed::InvalidStorageException,
@@ -653,7 +627,6 @@ uno::Reference< embed::XStorage > SAL_CALL FSStorage::openStorageElement(
return xResult;
}
-//-----------------------------------------------
uno::Reference< io::XStream > SAL_CALL FSStorage::cloneStreamElement( const OUString& aStreamName )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -726,7 +699,6 @@ uno::Reference< io::XStream > SAL_CALL FSStorage::cloneStreamElement( const OUSt
return xTempResult;
}
-//-----------------------------------------------
uno::Reference< io::XStream > SAL_CALL FSStorage::cloneEncryptedStreamElement(
const OUString&,
const OUString& )
@@ -741,7 +713,6 @@ uno::Reference< io::XStream > SAL_CALL FSStorage::cloneEncryptedStreamElement(
throw packages::NoEncryptionException();
}
-//-----------------------------------------------
void SAL_CALL FSStorage::copyLastCommitTo(
const uno::Reference< embed::XStorage >& xTargetStorage )
throw ( embed::InvalidStorageException,
@@ -753,7 +724,6 @@ void SAL_CALL FSStorage::copyLastCommitTo(
copyToStorage( xTargetStorage );
}
-//-----------------------------------------------
void SAL_CALL FSStorage::copyStorageElementLastCommitTo(
const OUString& aStorName,
const uno::Reference< embed::XStorage >& xTargetStorage )
@@ -773,7 +743,6 @@ void SAL_CALL FSStorage::copyStorageElementLastCommitTo(
xSourceStor->copyToStorage( xTargetStorage );
}
-//-----------------------------------------------
sal_Bool SAL_CALL FSStorage::isStreamElement( const OUString& aElementName )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -794,7 +763,6 @@ sal_Bool SAL_CALL FSStorage::isStreamElement( const OUString& aElementName )
return !::utl::UCBContentHelper::IsFolder( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
}
-//-----------------------------------------------
sal_Bool SAL_CALL FSStorage::isStorageElement( const OUString& aElementName )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -815,7 +783,6 @@ sal_Bool SAL_CALL FSStorage::isStorageElement( const OUString& aElementName )
return ::utl::UCBContentHelper::IsFolder( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
}
-//-----------------------------------------------
void SAL_CALL FSStorage::removeElement( const OUString& aElementName )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -842,7 +809,6 @@ void SAL_CALL FSStorage::removeElement( const OUString& aElementName )
::utl::UCBContentHelper::Kill( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
}
-//-----------------------------------------------
void SAL_CALL FSStorage::renameElement( const OUString& aElementName, const OUString& aNewName )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -922,7 +888,6 @@ void SAL_CALL FSStorage::renameElement( const OUString& aElementName, const OUSt
}
}
-//-----------------------------------------------
void SAL_CALL FSStorage::copyElementTo( const OUString& aElementName,
const uno::Reference< embed::XStorage >& xDest,
const OUString& aNewName )
@@ -1007,7 +972,6 @@ void SAL_CALL FSStorage::copyElementTo( const OUString& aElementName,
}
}
-//-----------------------------------------------
void SAL_CALL FSStorage::moveElementTo( const OUString& aElementName,
const uno::Reference< embed::XStorage >& xDest,
const OUString& aNewName )
@@ -1028,11 +992,8 @@ void SAL_CALL FSStorage::moveElementTo( const OUString& aElementName,
throw io::IOException(); // TODO: error handling
}
-//____________________________________________________________________________________________________
// XNameAccess
-//____________________________________________________________________________________________________
-//-----------------------------------------------
uno::Any SAL_CALL FSStorage::getByName( const OUString& aName )
throw ( container::NoSuchElementException,
lang::WrappedTargetException,
@@ -1091,7 +1052,6 @@ uno::Any SAL_CALL FSStorage::getByName( const OUString& aName )
}
-//-----------------------------------------------
uno::Sequence< OUString > SAL_CALL FSStorage::getElementNames()
throw ( uno::RuntimeException )
{
@@ -1157,7 +1117,6 @@ uno::Sequence< OUString > SAL_CALL FSStorage::getElementNames()
}
-//-----------------------------------------------
sal_Bool SAL_CALL FSStorage::hasByName( const OUString& aName )
throw ( uno::RuntimeException )
{
@@ -1194,7 +1153,6 @@ sal_Bool SAL_CALL FSStorage::hasByName( const OUString& aName )
|| ::utl::UCBContentHelper::IsDocument( aURL.GetMainURL( INetURLObject::NO_DECODE ) ) );
}
-//-----------------------------------------------
uno::Type SAL_CALL FSStorage::getElementType()
throw ( uno::RuntimeException )
{
@@ -1207,7 +1165,6 @@ uno::Type SAL_CALL FSStorage::getElementType()
return uno::Type();
}
-//-----------------------------------------------
sal_Bool SAL_CALL FSStorage::hasElements()
throw ( uno::RuntimeException )
{
@@ -1235,11 +1192,8 @@ sal_Bool SAL_CALL FSStorage::hasElements()
}
-//____________________________________________________________________________________________________
// XDisposable
-//____________________________________________________________________________________________________
-//-----------------------------------------------
void SAL_CALL FSStorage::dispose()
throw ( uno::RuntimeException )
{
@@ -1258,7 +1212,6 @@ void SAL_CALL FSStorage::dispose()
m_pImpl = NULL;
}
-//-----------------------------------------------
void SAL_CALL FSStorage::addEventListener(
const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
@@ -1274,7 +1227,6 @@ void SAL_CALL FSStorage::addEventListener(
m_pImpl->m_pListenersContainer->addInterface( xListener );
}
-//-----------------------------------------------
void SAL_CALL FSStorage::removeEventListener(
const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
@@ -1288,11 +1240,8 @@ void SAL_CALL FSStorage::removeEventListener(
m_pImpl->m_pListenersContainer->removeInterface( xListener );
}
-//____________________________________________________________________________________________________
// XPropertySet
-//____________________________________________________________________________________________________
-//-----------------------------------------------
uno::Reference< beans::XPropertySetInfo > SAL_CALL FSStorage::getPropertySetInfo()
throw ( uno::RuntimeException )
{
@@ -1306,7 +1255,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL FSStorage::getPropertySetInfo
}
-//-----------------------------------------------
void SAL_CALL FSStorage::setPropertyValue( const OUString& aPropertyName, const uno::Any& )
throw ( beans::UnknownPropertyException,
beans::PropertyVetoException,
@@ -1326,7 +1274,6 @@ void SAL_CALL FSStorage::setPropertyValue( const OUString& aPropertyName, const
}
-//-----------------------------------------------
uno::Any SAL_CALL FSStorage::getPropertyValue( const OUString& aPropertyName )
throw ( beans::UnknownPropertyException,
lang::WrappedTargetException,
@@ -1346,7 +1293,6 @@ uno::Any SAL_CALL FSStorage::getPropertyValue( const OUString& aPropertyName )
}
-//-----------------------------------------------
void SAL_CALL FSStorage::addPropertyChangeListener(
const OUString& /*aPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ )
@@ -1363,7 +1309,6 @@ void SAL_CALL FSStorage::addPropertyChangeListener(
}
-//-----------------------------------------------
void SAL_CALL FSStorage::removePropertyChangeListener(
const OUString& /*aPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*aListener*/ )
@@ -1380,7 +1325,6 @@ void SAL_CALL FSStorage::removePropertyChangeListener(
}
-//-----------------------------------------------
void SAL_CALL FSStorage::addVetoableChangeListener(
const OUString& /*PropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ )
@@ -1397,7 +1341,6 @@ void SAL_CALL FSStorage::addVetoableChangeListener(
}
-//-----------------------------------------------
void SAL_CALL FSStorage::removeVetoableChangeListener(
const OUString& /*PropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ )
@@ -1413,10 +1356,7 @@ void SAL_CALL FSStorage::removeVetoableChangeListener(
//TODO:
}
-//____________________________________________________________________________________________________
// XHierarchicalStorageAccess
-//____________________________________________________________________________________________________
-//-----------------------------------------------
uno::Reference< embed::XExtendedStorageStream > SAL_CALL FSStorage::openStreamElementByHierarchicalName( const OUString& sStreamPath, ::sal_Int32 nOpenMode )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -1539,7 +1479,6 @@ uno::Reference< embed::XExtendedStorageStream > SAL_CALL FSStorage::openStreamEl
return uno::Reference< embed::XExtendedStorageStream >( xResult, uno::UNO_QUERY_THROW );
}
-//-----------------------------------------------
uno::Reference< embed::XExtendedStorageStream > SAL_CALL FSStorage::openEncryptedStreamElementByHierarchicalName( const OUString& /*sStreamName*/, ::sal_Int32 /*nOpenMode*/, const OUString& /*sPassword*/ )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
@@ -1552,7 +1491,6 @@ uno::Reference< embed::XExtendedStorageStream > SAL_CALL FSStorage::openEncrypte
throw packages::NoEncryptionException();
}
-//-----------------------------------------------
void SAL_CALL FSStorage::removeStreamElementByHierarchicalName( const OUString& sStreamPath )
throw ( embed::InvalidStorageException,
lang::IllegalArgumentException,
diff --git a/svl/source/fsstor/fsstorage.hxx b/svl/source/fsstor/fsstorage.hxx
index ef4a1f6..efafe8f 100644
--- a/svl/source/fsstor/fsstorage.hxx
+++ b/svl/source/fsstor/fsstorage.hxx
@@ -66,9 +66,7 @@ public:
static sal_Bool MakeFolderNoUI( const OUString& rFolder );
- //____________________________________________________________________________________________________
// XInterface
- //____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& rType )
throw( ::com::sun::star::uno::RuntimeException );
@@ -77,9 +75,7 @@ public:
virtual void SAL_CALL release() throw();
- //____________________________________________________________________________________________________
// XTypeProvider
- //____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
throw( ::com::sun::star::uno::RuntimeException );
@@ -87,9 +83,7 @@ public:
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
throw( ::com::sun::star::uno::RuntimeException );
- //____________________________________________________________________________________________________
// XStorage
- //____________________________________________________________________________________________________
virtual void SAL_CALL copyToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xDest )
throw ( ::com::sun::star::embed::InvalidStorageException,
@@ -212,9 +206,7 @@ public:
::com::sun::star::embed::StorageWrappedTargetException,
::com::sun::star::uno::RuntimeException );
- //____________________________________________________________________________________________________
// XNameAccess
- //____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
throw ( ::com::sun::star::container::NoSuchElementException,
@@ -233,9 +225,7 @@ public:
virtual sal_Bool SAL_CALL hasElements()
throw ( ::com::sun::star::uno::RuntimeException );
- //____________________________________________________________________________________________________
// XComponent
- //____________________________________________________________________________________________________
virtual void SAL_CALL dispose()
throw ( ::com::sun::star::uno::RuntimeException );
@@ -248,9 +238,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener )
throw ( ::com::sun::star::uno::RuntimeException );
- //____________________________________________________________________________________________________
// XPropertySet
- //____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
throw ( ::com::sun::star::uno::RuntimeException );
@@ -293,9 +281,7 @@ public:
::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException );
- //____________________________________________________________________________________________________
// XHierarchicalStorageAccess
- //____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XExtendedStorageStream > SAL_CALL openStreamElementByHierarchicalName( const OUString& sStreamPath, ::sal_Int32 nOpenMode )
throw ( ::com::sun::star::embed::InvalidStorageException,
diff --git a/svl/source/fsstor/oinputstreamcontainer.cxx b/svl/source/fsstor/oinputstreamcontainer.cxx
index d43b021..3c4caa6 100644
--- a/svl/source/fsstor/oinputstreamcontainer.cxx
+++ b/svl/source/fsstor/oinputstreamcontainer.cxx
@@ -23,7 +23,6 @@
using namespace ::com::sun::star;
-//-----------------------------------------------
OFSInputStreamContainer::OFSInputStreamContainer( const uno::Reference< io::XInputStream >& xStream )
: m_xInputStream( xStream )
, m_xSeekable( xStream, uno::UNO_QUERY )
@@ -34,7 +33,6 @@ OFSInputStreamContainer::OFSInputStreamContainer( const uno::Reference< io::XInp
m_bSeekable = m_xSeekable.is();
}
-//-----------------------------------------------
OFSInputStreamContainer::~OFSInputStreamContainer()
{
if ( m_pListenersContainer )
@@ -44,7 +42,6 @@ OFSInputStreamContainer::~OFSInputStreamContainer()
}
}
-//-----------------------------------------------
uno::Sequence< uno::Type > SAL_CALL OFSInputStreamContainer::getTypes()
throw ( uno::RuntimeException )
{
@@ -80,7 +77,6 @@ uno::Sequence< uno::Type > SAL_CALL OFSInputStreamContainer::getTypes()
}
-//-----------------------------------------------
uno::Any SAL_CALL OFSInputStreamContainer::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException )
{
@@ -104,21 +100,18 @@ uno::Any SAL_CALL OFSInputStreamContainer::queryInterface( const uno::Type& rTyp
return ::cppu::OWeakObject::queryInterface( rType ) ;
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::acquire()
throw()
{
::cppu::OWeakObject::acquire();
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::release()
throw()
{
::cppu::OWeakObject::release();
}
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSInputStreamContainer::readBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -136,7 +129,6 @@ sal_Int32 SAL_CALL OFSInputStreamContainer::readBytes( uno::Sequence< sal_Int8 >
return m_xInputStream->readBytes( aData, nBytesToRead );
}
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSInputStreamContainer::readSomeBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead )
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -154,7 +146,6 @@ sal_Int32 SAL_CALL OFSInputStreamContainer::readSomeBytes( uno::Sequence< sal_In
return m_xInputStream->readSomeBytes( aData, nMaxBytesToRead );
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::skipBytes( sal_Int32 nBytesToSkip )
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -172,7 +163,6 @@ void SAL_CALL OFSInputStreamContainer::skipBytes( sal_Int32 nBytesToSkip )
m_xInputStream->skipBytes( nBytesToSkip );
}
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSInputStreamContainer::available( )
throw ( io::NotConnectedException,
io::IOException,
@@ -189,7 +179,6 @@ sal_Int32 SAL_CALL OFSInputStreamContainer::available( )
return m_xInputStream->available();
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::closeInput( )
throw ( io::NotConnectedException,
io::IOException,
@@ -206,7 +195,6 @@ void SAL_CALL OFSInputStreamContainer::closeInput( )
dispose();
}
-//-----------------------------------------------
uno::Reference< io::XInputStream > SAL_CALL OFSInputStreamContainer::getInputStream()
throw ( uno::RuntimeException )
{
@@ -221,7 +209,6 @@ uno::Reference< io::XInputStream > SAL_CALL OFSInputStreamContainer::getInputStr
return uno::Reference< io::XInputStream >( static_cast< io::XInputStream* >( this ), uno::UNO_QUERY );
}
-//-----------------------------------------------
uno::Reference< io::XOutputStream > SAL_CALL OFSInputStreamContainer::getOutputStream()
throw ( uno::RuntimeException )
{
@@ -233,7 +220,6 @@ uno::Reference< io::XOutputStream > SAL_CALL OFSInputStreamContainer::getOutputS
return uno::Reference< io::XOutputStream >();
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::seek( sal_Int64 location )
throw ( lang::IllegalArgumentException,
io::IOException,
@@ -250,7 +236,6 @@ void SAL_CALL OFSInputStreamContainer::seek( sal_Int64 location )
m_xSeekable->seek( location );
}
-//-----------------------------------------------
sal_Int64 SAL_CALL OFSInputStreamContainer::getPosition()
throw ( io::IOException,
uno::RuntimeException)
@@ -266,7 +251,6 @@ sal_Int64 SAL_CALL OFSInputStreamContainer::getPosition()
return m_xSeekable->getPosition();
}
-//-----------------------------------------------
sal_Int64 SAL_CALL OFSInputStreamContainer::getLength()
throw ( io::IOException,
uno::RuntimeException )
@@ -282,7 +266,6 @@ sal_Int64 SAL_CALL OFSInputStreamContainer::getLength()
return m_xSeekable->getLength();
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::dispose( )
throw ( uno::RuntimeException )
{
@@ -305,7 +288,6 @@ void SAL_CALL OFSInputStreamContainer::dispose( )
m_bDisposed = true;
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::addEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -320,7 +302,6 @@ void SAL_CALL OFSInputStreamContainer::addEventListener( const uno::Reference< l
m_pListenersContainer->addInterface( xListener );
}
-//-----------------------------------------------
void SAL_CALL OFSInputStreamContainer::removeEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx
index 081eb59..0089784 100644
--- a/svl/source/fsstor/ostreamcontainer.cxx
+++ b/svl/source/fsstor/ostreamcontainer.cxx
@@ -23,7 +23,6 @@
using namespace ::com::sun::star;
-//-----------------------------------------------
OFSStreamContainer::OFSStreamContainer( const uno::Reference < io::XStream >& xStream )
: m_bDisposed( false )
, m_bInputClosed( false )
@@ -54,7 +53,6 @@ OFSStreamContainer::OFSStreamContainer( const uno::Reference < io::XStream >& xS
}
}
-//-----------------------------------------------
OFSStreamContainer::~OFSStreamContainer()
{
if ( m_pListenersContainer )
@@ -65,7 +63,6 @@ OFSStreamContainer::~OFSStreamContainer()
}
// XInterface
-//-----------------------------------------------
uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException )
{
@@ -131,14 +128,12 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
return OWeakObject::queryInterface( rType );
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::acquire()
throw()
{
OWeakObject::acquire();
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::release()
throw()
{
@@ -146,7 +141,6 @@ void SAL_CALL OFSStreamContainer::release()
}
// XTypeProvider
-//-----------------------------------------------
uno::Sequence< uno::Type > SAL_CALL OFSStreamContainer::getTypes()
throw( uno::RuntimeException )
{
@@ -188,7 +182,6 @@ uno::Sequence< uno::Type > SAL_CALL OFSStreamContainer::getTypes()
return m_pTypeCollection->getTypes() ;
}
-//-----------------------------------------------
uno::Sequence< sal_Int8 > SAL_CALL OFSStreamContainer::getImplementationId()
throw( uno::RuntimeException )
{
@@ -209,7 +202,6 @@ uno::Sequence< sal_Int8 > SAL_CALL OFSStreamContainer::getImplementationId()
}
// XStream
-//-----------------------------------------------
uno::Reference< io::XInputStream > SAL_CALL OFSStreamContainer::getInputStream()
throw ( uno::RuntimeException )
{
@@ -227,7 +219,6 @@ uno::Reference< io::XInputStream > SAL_CALL OFSStreamContainer::getInputStream()
return uno::Reference< io::XInputStream >();
}
-//-----------------------------------------------
uno::Reference< io::XOutputStream > SAL_CALL OFSStreamContainer::getOutputStream()
throw ( uno::RuntimeException )
{
@@ -246,7 +237,6 @@ uno::Reference< io::XOutputStream > SAL_CALL OFSStreamContainer::getOutputStream
}
// XComponent
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::dispose()
throw ( uno::RuntimeException )
{
@@ -279,7 +269,6 @@ void SAL_CALL OFSStreamContainer::dispose()
m_bDisposed = true;
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::addEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -294,7 +283,6 @@ void SAL_CALL OFSStreamContainer::addEventListener( const uno::Reference< lang::
m_pListenersContainer->addInterface( xListener );
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::removeEventListener( const uno::Reference< lang::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -309,7 +297,6 @@ void SAL_CALL OFSStreamContainer::removeEventListener( const uno::Reference< lan
// XSeekable
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::seek( sal_Int64 location )
throw ( lang::IllegalArgumentException,
io::IOException,
@@ -326,7 +313,6 @@ void SAL_CALL OFSStreamContainer::seek( sal_Int64 location )
m_xSeekable->seek( location );
}
-//-----------------------------------------------
sal_Int64 SAL_CALL OFSStreamContainer::getPosition()
throw ( io::IOException,
uno::RuntimeException )
@@ -342,7 +328,6 @@ sal_Int64 SAL_CALL OFSStreamContainer::getPosition()
return m_xSeekable->getPosition();
}
-//-----------------------------------------------
sal_Int64 SAL_CALL OFSStreamContainer::getLength()
throw ( io::IOException,
uno::RuntimeException )
@@ -360,7 +345,6 @@ sal_Int64 SAL_CALL OFSStreamContainer::getLength()
// XInputStream
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSStreamContainer::readBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )
throw( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -378,7 +362,6 @@ sal_Int32 SAL_CALL OFSStreamContainer::readBytes( uno::Sequence< sal_Int8 >& aDa
return m_xInputStream->readBytes( aData, nBytesToRead );
}
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSStreamContainer::readSomeBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead )
throw( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -396,7 +379,6 @@ sal_Int32 SAL_CALL OFSStreamContainer::readSomeBytes( uno::Sequence< sal_Int8 >&
return m_xInputStream->readSomeBytes( aData, nMaxBytesToRead );
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::skipBytes( sal_Int32 nBytesToSkip )
throw( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -414,7 +396,6 @@ void SAL_CALL OFSStreamContainer::skipBytes( sal_Int32 nBytesToSkip )
m_xInputStream->skipBytes( nBytesToSkip );
}
-//-----------------------------------------------
sal_Int32 SAL_CALL OFSStreamContainer::available()
throw( io::NotConnectedException,
io::IOException,
@@ -431,7 +412,6 @@ sal_Int32 SAL_CALL OFSStreamContainer::available()
return m_xInputStream->available();
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::closeInput()
throw( io::NotConnectedException,
io::IOException,
@@ -456,7 +436,6 @@ void SAL_CALL OFSStreamContainer::closeInput()
}
// XOutputStream
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::writeBytes( const uno::Sequence< sal_Int8 >& aData )
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -474,7 +453,6 @@ void SAL_CALL OFSStreamContainer::writeBytes( const uno::Sequence< sal_Int8 >& a
return m_xOutputStream->writeBytes( aData );
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::flush()
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -492,7 +470,6 @@ void SAL_CALL OFSStreamContainer::flush()
return m_xOutputStream->flush();
}
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::closeOutput()
throw ( io::NotConnectedException,
io::BufferSizeExceededException,
@@ -519,7 +496,6 @@ void SAL_CALL OFSStreamContainer::closeOutput()
// XTruncate
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::truncate()
throw ( io::IOException,
uno::RuntimeException )
@@ -537,7 +513,6 @@ void SAL_CALL OFSStreamContainer::truncate()
// XAsyncOutputMonitor
-//-----------------------------------------------
void SAL_CALL OFSStreamContainer::waitForCompletion()
throw ( io::IOException,
uno::RuntimeException )
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx
index 1c07948..cdf6d12 100644
--- a/svl/source/inc/passwordcontainer.hxx
+++ b/svl/source/inc/passwordcontainer.hxx
@@ -45,7 +45,6 @@
#define MEMORY_RECORD 0
#define PERSISTENT_RECORD 1
-//----------------------------------------------------------------------------------
class NamePassRecord
{
@@ -184,12 +183,10 @@ public:
};
-//----------------------------------------------------------------------------------
typedef ::std::pair< const OUString, ::std::list< NamePassRecord > > PairUrlRecord;
typedef ::std::map< OUString, ::std::list< NamePassRecord > > PassMap;
-//----------------------------------------------------------------------------------
class PasswordContainer;
@@ -223,7 +220,6 @@ public:
virtual void Commit();
};
-//----------------------------------------------------------------------------------
enum PasswordState {
no_password,
@@ -381,7 +377,6 @@ public:
void Notify();
};
-//----------------------------------------------------------------------------------
class MasterPasswordRequest_Impl : public ucbhelper::InteractionRequest
{
@@ -395,7 +390,6 @@ public:
};
-//----------------------------------------------------------------------------------
class RW_SvMemoryStream : public SvMemoryStream {
public:
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index e9cb523..c476a14 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -24,18 +24,14 @@
#include <comphelper/extract.hxx>
-//============================================================================
//
// class SfxEnumItemInterface
//
-//============================================================================
DBG_NAME(SfxEnumItemInterface)
-//============================================================================
TYPEINIT1(SfxEnumItemInterface, SfxPoolItem)
-//============================================================================
// virtual
int SfxEnumItemInterface::operator ==(const SfxPoolItem & rItem) const
{
@@ -45,7 +41,6 @@ int SfxEnumItemInterface::operator ==(const SfxPoolItem & rItem) const
GetEnumValue();
}
-//============================================================================
// virtual
SfxItemPresentation
SfxEnumItemInterface::GetPresentation(SfxItemPresentation, SfxMapUnit,
@@ -56,7 +51,6 @@ SfxEnumItemInterface::GetPresentation(SfxItemPresentation, SfxMapUnit,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool SfxEnumItemInterface::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8)
const
@@ -65,7 +59,6 @@ bool SfxEnumItemInterface::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8)
return true;
}
-//============================================================================
// virtual
bool SfxEnumItemInterface::PutValue(const com::sun::star::uno::Any& rVal,
sal_uInt8)
@@ -81,21 +74,18 @@ bool SfxEnumItemInterface::PutValue(const com::sun::star::uno::Any& rVal,
return false;
}
-//============================================================================
OUString SfxEnumItemInterface::GetValueTextByPos(sal_uInt16) const
{
DBG_WARNING("SfxEnumItemInterface::GetValueTextByPos(): Pure virtual");
return OUString();
}
-//============================================================================
// virtual
sal_uInt16 SfxEnumItemInterface::GetValueByPos(sal_uInt16 nPos) const
{
return nPos;
}
-//============================================================================
// virtual
sal_uInt16 SfxEnumItemInterface::GetPosByValue(sal_uInt16 nValue) const
{
@@ -111,34 +101,28 @@ sal_Bool SfxEnumItemInterface::IsEnabled(sal_uInt16) const
return sal_True;
}
-//============================================================================
// virtual
int SfxEnumItemInterface::HasBoolValue() const
{
return false;
}
-//============================================================================
// virtual
sal_Bool SfxEnumItemInterface::GetBoolValue() const
{
return false;
}
-//============================================================================
// virtual
void SfxEnumItemInterface::SetBoolValue(sal_Bool)
{}
-//============================================================================
//
// class CntEnumItem
//
-//============================================================================
DBG_NAME(CntEnumItem)
-//============================================================================
CntEnumItem::CntEnumItem(sal_uInt16 which, SvStream & rStream):
SfxEnumItemInterface(which)
{
@@ -146,10 +130,8 @@ CntEnumItem::CntEnumItem(sal_uInt16 which, SvStream & rStream):
rStream >> m_nValue;
}
-//============================================================================
TYPEINIT1(CntEnumItem, SfxEnumItemInterface)
-//============================================================================
// virtual
SvStream & CntEnumItem::Store(SvStream & rStream, sal_uInt16) const
{
@@ -157,32 +139,26 @@ SvStream & CntEnumItem::Store(SvStream & rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
sal_uInt16 CntEnumItem::GetEnumValue() const
{
return GetValue();
}
-//============================================================================
// virtual
void CntEnumItem::SetEnumValue(sal_uInt16 nTheValue)
{
SetValue(nTheValue);
}
-//============================================================================
//
// class CntBoolItem
//
-//============================================================================
DBG_NAME(CntBoolItem)
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntBoolItem, SfxPoolItem)
-//============================================================================
CntBoolItem::CntBoolItem(sal_uInt16 which, SvStream & rStream):
SfxPoolItem(which)
{
@@ -190,7 +166,6 @@ CntBoolItem::CntBoolItem(sal_uInt16 which, SvStream & rStream):
rStream >> m_bValue;
}
-//============================================================================
// virtual
int CntBoolItem::operator ==(const SfxPoolItem & rItem) const
{
@@ -199,7 +174,6 @@ int CntBoolItem::operator ==(const SfxPoolItem & rItem) const
return m_bValue == static_cast< CntBoolItem const * >(&rItem)->m_bValue;
}
-//============================================================================
// virtual
int CntBoolItem::Compare(const SfxPoolItem & rWith) const
{
@@ -208,7 +182,6 @@ int CntBoolItem::Compare(const SfxPoolItem & rWith) const
0 : m_bValue ? -1 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation CntBoolItem::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -219,7 +192,6 @@ SfxItemPresentation CntBoolItem::GetPresentation(SfxItemPresentation,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntBoolItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -227,7 +199,6 @@ bool CntBoolItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool CntBoolItem::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
{
@@ -241,14 +212,12 @@ bool CntBoolItem::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntBoolItem::Create(SvStream & rStream, sal_uInt16) const
{
return new CntBoolItem(Which(), rStream);
}
-//============================================================================
// virtual
SvStream & CntBoolItem::Store(SvStream & rStream, sal_uInt16) const
{
@@ -256,21 +225,18 @@ SvStream & CntBoolItem::Store(SvStream & rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
SfxPoolItem * CntBoolItem::Clone(SfxItemPool *) const
{
return new CntBoolItem(*this);
}
-//============================================================================
// virtual
sal_uInt16 CntBoolItem::GetValueCount() const
{
return 2;
}
-//============================================================================
// virtual
OUString CntBoolItem::GetValueTextByVal(sal_Bool bTheValue) const
{
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index 430bdb3..c8b35b9 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -21,18 +21,14 @@
#include <tools/stream.hxx>
#include <svl/cintitem.hxx>
-//============================================================================
//
// class CntByteItem
//
-//============================================================================
DBG_NAME(CntByteItem)
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntByteItem, SfxPoolItem);
-//============================================================================
// virtual
int CntByteItem::operator ==(const SfxPoolItem & rItem) const
{
@@ -42,7 +38,6 @@ int CntByteItem::operator ==(const SfxPoolItem & rItem) const
return m_nValue == (static_cast< const CntByteItem * >(&rItem))->m_nValue;
}
-//============================================================================
// virtual
int CntByteItem::Compare(const SfxPoolItem & rWith) const
{
@@ -55,7 +50,6 @@ int CntByteItem::Compare(const SfxPoolItem & rWith) const
0 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation CntByteItem::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -67,7 +61,6 @@ SfxItemPresentation CntByteItem::GetPresentation(SfxItemPresentation,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntByteItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -76,7 +69,6 @@ bool CntByteItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool CntByteItem::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
{
@@ -91,7 +83,6 @@ bool CntByteItem::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntByteItem::Create(SvStream & rStream, sal_uInt16) const
{
@@ -101,7 +92,6 @@ SfxPoolItem * CntByteItem::Create(SvStream & rStream, sal_uInt16) const
return new CntByteItem(Which(), sal_uInt8(nTheValue));
}
-//============================================================================
// virtual
SvStream & CntByteItem::Store(SvStream & rStream, sal_uInt16) const
{
@@ -110,7 +100,6 @@ SvStream & CntByteItem::Store(SvStream & rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
SfxPoolItem * CntByteItem::Clone(SfxItemPool *) const
{
@@ -118,7 +107,6 @@ SfxPoolItem * CntByteItem::Clone(SfxItemPool *) const
return new CntByteItem(*this);
}
-//============================================================================
// virtual
sal_uInt8 CntByteItem::GetMin() const
{
@@ -126,7 +114,6 @@ sal_uInt8 CntByteItem::GetMin() const
return 0;
}
-//============================================================================
// virtual
sal_uInt8 CntByteItem::GetMax() const
{
@@ -134,7 +121,6 @@ sal_uInt8 CntByteItem::GetMax() const
return 255;
}
-//============================================================================
// virtual
SfxFieldUnit CntByteItem::GetUnit() const
{
@@ -142,18 +128,14 @@ SfxFieldUnit CntByteItem::GetUnit() const
return SFX_FUNIT_NONE;
}
-//============================================================================
//
// class CntUInt16Item
//
-//============================================================================
DBG_NAME(CntUInt16Item);
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntUInt16Item, SfxPoolItem);
-//============================================================================
CntUInt16Item::CntUInt16Item(sal_uInt16 which, SvStream & rStream) :
SfxPoolItem(which)
{
@@ -163,7 +145,6 @@ CntUInt16Item::CntUInt16Item(sal_uInt16 which, SvStream & rStream) :
m_nValue = nTheValue;
}
-//============================================================================
// virtual
int CntUInt16Item::operator ==(const SfxPoolItem & rItem) const
{
@@ -174,7 +155,6 @@ int CntUInt16Item::operator ==(const SfxPoolItem & rItem) const
m_nValue;
}
-//============================================================================
// virtual
int CntUInt16Item::Compare(const SfxPoolItem & rWith) const
{
@@ -189,7 +169,6 @@ int CntUInt16Item::Compare(const SfxPoolItem & rWith) const
0 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation CntUInt16Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -202,7 +181,6 @@ SfxItemPresentation CntUInt16Item::GetPresentation(SfxItemPresentation,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntUInt16Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -211,7 +189,6 @@ bool CntUInt16Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool CntUInt16Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
{
@@ -227,7 +204,6 @@ bool CntUInt16Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntUInt16Item::Create(SvStream & rStream, sal_uInt16) const
{
@@ -235,7 +211,6 @@ SfxPoolItem * CntUInt16Item::Create(SvStream & rStream, sal_uInt16) const
return new CntUInt16Item(Which(), rStream);
}
-//============================================================================
// virtual
SvStream & CntUInt16Item::Store(SvStream &rStream, sal_uInt16) const
{
@@ -244,7 +219,6 @@ SvStream & CntUInt16Item::Store(SvStream &rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
SfxPoolItem * CntUInt16Item::Clone(SfxItemPool *) const
{
@@ -252,7 +226,6 @@ SfxPoolItem * CntUInt16Item::Clone(SfxItemPool *) const
return new CntUInt16Item(*this);
}
-//============================================================================
// virtual
sal_uInt16 CntUInt16Item::GetMin() const
{
@@ -260,7 +233,6 @@ sal_uInt16 CntUInt16Item::GetMin() const
return 0;
}
-//============================================================================
// virtual
sal_uInt16 CntUInt16Item::GetMax() const
{
@@ -268,7 +240,6 @@ sal_uInt16 CntUInt16Item::GetMax() const
return 65535;
}
-//============================================================================
// virtual
SfxFieldUnit CntUInt16Item::GetUnit() const
{
@@ -276,18 +247,14 @@ SfxFieldUnit CntUInt16Item::GetUnit() const
return SFX_FUNIT_NONE;
}
-//============================================================================
//
// class CntInt32Item
//
-//============================================================================
DBG_NAME(CntInt32Item);
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntInt32Item, SfxPoolItem);
-//============================================================================
CntInt32Item::CntInt32Item(sal_uInt16 which, SvStream & rStream) :
SfxPoolItem(which)
{
@@ -296,7 +263,6 @@ CntInt32Item::CntInt32Item(sal_uInt16 which, SvStream & rStream) :
rStream >> m_nValue;
}
-//============================================================================
// virtual
int CntInt32Item::operator ==(const SfxPoolItem & rItem) const
{
@@ -307,7 +273,6 @@ int CntInt32Item::operator ==(const SfxPoolItem & rItem) const
m_nValue;
}
-//============================================================================
// virtual
int CntInt32Item::Compare(const SfxPoolItem & rWith) const
{
@@ -321,7 +286,6 @@ int CntInt32Item::Compare(const SfxPoolItem & rWith) const
0 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation CntInt32Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -333,7 +297,6 @@ SfxItemPresentation CntInt32Item::GetPresentation(SfxItemPresentation,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntInt32Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -342,7 +305,6 @@ bool CntInt32Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool CntInt32Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
{
@@ -357,7 +319,6 @@ bool CntInt32Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntInt32Item::Create(SvStream & rStream, sal_uInt16) const
{
@@ -365,7 +326,6 @@ SfxPoolItem * CntInt32Item::Create(SvStream & rStream, sal_uInt16) const
return new CntInt32Item(Which(), rStream);
}
-//============================================================================
// virtual
SvStream & CntInt32Item::Store(SvStream &rStream, sal_uInt16) const
{
@@ -375,7 +335,6 @@ SvStream & CntInt32Item::Store(SvStream &rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
SfxPoolItem * CntInt32Item::Clone(SfxItemPool *) const
{
@@ -383,7 +342,6 @@ SfxPoolItem * CntInt32Item::Clone(SfxItemPool *) const
return new CntInt32Item(*this);
}
-//============================================================================
// virtual
sal_Int32 CntInt32Item::GetMin() const
{
@@ -391,7 +349,6 @@ sal_Int32 CntInt32Item::GetMin() const
return sal_Int32(0x80000000);
}
-//============================================================================
// virtual
sal_Int32 CntInt32Item::GetMax() const
{
@@ -399,7 +356,6 @@ sal_Int32 CntInt32Item::GetMax() const
return 0x7FFFFFFF;
}
-//============================================================================
// virtual
SfxFieldUnit CntInt32Item::GetUnit() const
{
@@ -407,18 +363,14 @@ SfxFieldUnit CntInt32Item::GetUnit() const
return SFX_FUNIT_NONE;
}
-//============================================================================
//
// class CntUInt32Item
//
-//============================================================================
DBG_NAME(CntUInt32Item);
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntUInt32Item, SfxPoolItem);
-//============================================================================
CntUInt32Item::CntUInt32Item(sal_uInt16 which, SvStream & rStream) :
SfxPoolItem(which)
{
@@ -428,7 +380,6 @@ CntUInt32Item::CntUInt32Item(sal_uInt16 which, SvStream & rStream) :
m_nValue = nTheValue;
}
-//============================================================================
// virtual
int CntUInt32Item::operator ==(const SfxPoolItem & rItem) const
{
@@ -439,7 +390,6 @@ int CntUInt32Item::operator ==(const SfxPoolItem & rItem) const
m_nValue;
}
-//============================================================================
// virtual
int CntUInt32Item::Compare(const SfxPoolItem & rWith) const
{
@@ -454,7 +404,6 @@ int CntUInt32Item::Compare(const SfxPoolItem & rWith) const
0 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation CntUInt32Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -467,7 +416,6 @@ SfxItemPresentation CntUInt32Item::GetPresentation(SfxItemPresentation,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntUInt32Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -477,7 +425,6 @@ bool CntUInt32Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool CntUInt32Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
{
@@ -493,7 +440,6 @@ bool CntUInt32Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8)
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntUInt32Item::Create(SvStream & rStream, sal_uInt16) const
{
@@ -501,7 +447,6 @@ SfxPoolItem * CntUInt32Item::Create(SvStream & rStream, sal_uInt16) const
return new CntUInt32Item(Which(), rStream);
}
-//============================================================================
// virtual
SvStream & CntUInt32Item::Store(SvStream &rStream, sal_uInt16) const
{
@@ -510,7 +455,6 @@ SvStream & CntUInt32Item::Store(SvStream &rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
// virtual
SfxPoolItem * CntUInt32Item::Clone(SfxItemPool *) const
{
@@ -518,7 +462,6 @@ SfxPoolItem * CntUInt32Item::Clone(SfxItemPool *) const
return new CntUInt32Item(*this);
}
-//============================================================================
// virtual
sal_uInt32 CntUInt32Item::GetMin() const
{
@@ -526,7 +469,6 @@ sal_uInt32 CntUInt32Item::GetMin() const
return 0;
}
-//============================================================================
// virtual
sal_uInt32 CntUInt32Item::GetMax() const
{
@@ -534,7 +476,6 @@ sal_uInt32 CntUInt32Item::GetMax() const
return 0xFFFFFFFF;
}
-//============================================================================
// virtual
SfxFieldUnit CntUInt32Item::GetUnit() const
{
diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx
index 43c1478..b0e0e82 100644
--- a/svl/source/items/cntwall.cxx
+++ b/svl/source/items/cntwall.cxx
@@ -103,7 +103,6 @@ int CntWallpaperItem::operator==( const SfxPoolItem& rItem ) const
return sal_False;
}
-//============================================================================
// virtual
sal_uInt16 CntWallpaperItem::GetVersion(sal_uInt16) const
{
@@ -136,7 +135,6 @@ SfxPoolItem* CntWallpaperItem::Clone( SfxItemPool* ) const
return new CntWallpaperItem( *this );
}
-//----------------------------------------------------------------------------
// virtual
bool CntWallpaperItem::QueryValue( com::sun::star::uno::Any&, sal_uInt8) const
{
@@ -144,7 +142,6 @@ bool CntWallpaperItem::QueryValue( com::sun::star::uno::Any&, sal_uInt8) const
return false;
}
-//----------------------------------------------------------------------------
// virtual
bool CntWallpaperItem::PutValue( const com::sun::star::uno::Any&, sal_uInt8)
{
diff --git a/svl/source/items/ctypeitm.cxx b/svl/source/items/ctypeitm.cxx
index 285f07b..19164d9 100644
--- a/svl/source/items/ctypeitm.cxx
+++ b/svl/source/items/ctypeitm.cxx
@@ -23,36 +23,30 @@
#include <tools/stream.hxx>
#include <svl/ctypeitm.hxx>
-//============================================================================
// The following defines are copied from chaos/source/items/cstritem.cxx:
#define CNTSTRINGITEM_STREAM_MAGIC ( (sal_uInt32)0xfefefefe )
#define CNTSTRINGITEM_STREAM_SEEKREL (-( (long)( sizeof( sal_uInt32 ) ) ) )
-//============================================================================
//
// class CntContentTypeItem Implementation.
//
-//============================================================================
TYPEINIT1_AUTOFACTORY( CntContentTypeItem, CntUnencodedStringItem );
#define CONTENT_TYPE_NOT_INIT ( (INetContentType)-1 )
-//----------------------------------------------------------------------------
CntContentTypeItem::CntContentTypeItem()
: CntUnencodedStringItem(),
_eType( CONTENT_TYPE_NOT_INIT )
{
}
-//----------------------------------------------------------------------------
CntContentTypeItem::CntContentTypeItem( sal_uInt16 which, const OUString& rType )
: CntUnencodedStringItem( which, rType ),
_eType( CONTENT_TYPE_NOT_INIT )
{
}
-//----------------------------------------------------------------------------
CntContentTypeItem::CntContentTypeItem( const CntContentTypeItem& rOrig )
: CntUnencodedStringItem( rOrig ),
_eType( rOrig._eType ),
@@ -60,14 +54,12 @@ CntContentTypeItem::CntContentTypeItem( const CntContentTypeItem& rOrig )
{
}
-//============================================================================
// virtual
sal_uInt16 CntContentTypeItem::GetVersion(sal_uInt16) const
{
return 1; // because it uses SfxPoolItem::read/writeUnicodeString()
}
-//----------------------------------------------------------------------------
// virtual
SfxPoolItem* CntContentTypeItem::Create( SvStream& rStream,
sal_uInt16 nItemVersion ) const
@@ -90,7 +82,6 @@ SfxPoolItem* CntContentTypeItem::Create( SvStream& rStream,
return new CntContentTypeItem(Which(), aValue);
}
-//----------------------------------------------------------------------------
// virtual
SvStream & CntContentTypeItem::Store(SvStream & rStream, sal_uInt16) const
{
@@ -101,7 +92,6 @@ SvStream & CntContentTypeItem::Store(SvStream & rStream, sal_uInt16) const
return rStream;
}
-//----------------------------------------------------------------------------
// virtual
int CntContentTypeItem::operator==( const SfxPoolItem& rOrig ) const
{
@@ -114,14 +104,12 @@ int CntContentTypeItem::operator==( const SfxPoolItem& rOrig ) const
return CntUnencodedStringItem::operator==( rOther );
}
-//----------------------------------------------------------------------------
// virtual
SfxPoolItem* CntContentTypeItem::Clone( SfxItemPool* /* pPool */ ) const
{
return new CntContentTypeItem( *this );
}
-//----------------------------------------------------------------------------
void CntContentTypeItem::SetValue( const OUString& rNewVal )
{
// De-initialize enum type and presentation.
@@ -131,7 +119,6 @@ void CntContentTypeItem::SetValue( const OUString& rNewVal )
CntUnencodedStringItem::SetValue( rNewVal );
}
-//----------------------------------------------------------------------------
int CntContentTypeItem::Compare( const SfxPoolItem &rWith, const IntlWrapper& rIntlWrapper ) const
{
OUString aOwnText, aWithText;
@@ -142,7 +129,6 @@ int CntContentTypeItem::Compare( const SfxPoolItem &rWith, const IntlWrapper& rI
return rIntlWrapper.getCollator()->compareString( aOwnText, aWithText );
}
-//----------------------------------------------------------------------------
SfxItemPresentation CntContentTypeItem::GetPresentation(
SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -170,7 +156,6 @@ SfxItemPresentation CntContentTypeItem::GetPresentation(
pIntlWrapper);
}
-//----------------------------------------------------------------------------
INetContentType CntContentTypeItem::GetEnumValue() const
{
if ( _eType == CONTENT_TYPE_NOT_INIT )
@@ -185,7 +170,6 @@ INetContentType CntContentTypeItem::GetEnumValue() const
return _eType;
}
-//----------------------------------------------------------------------------
void CntContentTypeItem::SetValue( const INetContentType eType )
{
SetValue( INetContentTypes::GetContentType( eType ) );
@@ -195,7 +179,6 @@ void CntContentTypeItem::SetValue( const INetContentType eType )
_eType = eType;
}
-//----------------------------------------------------------------------------
// virtual
bool CntContentTypeItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -203,7 +186,6 @@ bool CntContentTypeItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8)
return true;
}
-//----------------------------------------------------------------------------
// virtual
bool CntContentTypeItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8)
{
diff --git a/svl/source/items/custritm.cxx b/svl/source/items/custritm.cxx
index d44b43c..ebbba99 100644
--- a/svl/source/items/custritm.cxx
+++ b/svl/source/items/custritm.cxx
@@ -23,18 +23,14 @@
#include <tools/stream.hxx>
#include <svl/custritm.hxx>
-//============================================================================
//
// class CntUnencodedStringItem
//
-//============================================================================
DBG_NAME(CntUnencodedStringItem)
-//============================================================================
TYPEINIT1_AUTOFACTORY(CntUnencodedStringItem, SfxPoolItem)
-//============================================================================
// virtual
int CntUnencodedStringItem::operator ==(const SfxPoolItem & rItem) const
{
@@ -46,7 +42,6 @@ int CntUnencodedStringItem::operator ==(const SfxPoolItem & rItem) const
m_aValue;
}
-//============================================================================
// virtual
int CntUnencodedStringItem::Compare(SfxPoolItem const & rWith) const
{
@@ -59,7 +54,6 @@ int CntUnencodedStringItem::Compare(SfxPoolItem const & rWith) const
return (nCmp == 0) ? 0 : (nCmp < 0) ? -1 : 1;
}
-//============================================================================
// virtual
int CntUnencodedStringItem::Compare(SfxPoolItem const & rWith,
IntlWrapper const & rIntlWrapper)
@@ -72,7 +66,6 @@ int CntUnencodedStringItem::Compare(SfxPoolItem const & rWith,
static_cast< CntUnencodedStringItem const * >(&rWith)->m_aValue );
}
-//============================================================================
// virtual
SfxItemPresentation
CntUnencodedStringItem::GetPresentation(SfxItemPresentation, SfxMapUnit,
@@ -84,7 +77,6 @@ CntUnencodedStringItem::GetPresentation(SfxItemPresentation, SfxMapUnit,
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//============================================================================
// virtual
bool CntUnencodedStringItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8)
const
@@ -93,7 +85,6 @@ bool CntUnencodedStringItem::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt
return true;
}
-//============================================================================
// virtual
bool CntUnencodedStringItem::PutValue(const com::sun::star::uno::Any& rVal,
sal_uInt8)
@@ -108,7 +99,6 @@ bool CntUnencodedStringItem::PutValue(const com::sun::star::uno::Any& rVal,
return false;
}
-//============================================================================
// virtual
SfxPoolItem * CntUnencodedStringItem::Clone(SfxItemPool *) const
{
diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx
index be60173..ca4c750 100644
--- a/svl/source/items/dateitem.cxx
+++ b/svl/source/items/dateitem.cxx
@@ -148,7 +148,6 @@ SfxItemPresentation SfxDateTimeItem::GetPresentation
return SFX_ITEM_PRESENTATION_NAMELESS;
}
-//----------------------------------------------------------------------------
// virtual
bool SfxDateTimeItem::PutValue( const com::sun::star::uno::Any& rVal,
sal_uInt8 nMemberId )
@@ -171,7 +170,6 @@ bool SfxDateTimeItem::PutValue( const com::sun::star::uno::Any& rVal,
return false;
}
-//----------------------------------------------------------------------------
// virtual
bool SfxDateTimeItem::QueryValue( com::sun::star::uno::Any& rVal,
sal_uInt8 nMemberId ) const
diff --git a/svl/source/items/eitem.cxx b/svl/source/items/eitem.cxx
index 066a5ac..0f84b67 100644
--- a/svl/source/items/eitem.cxx
+++ b/svl/source/items/eitem.cxx
@@ -18,19 +18,15 @@
*/
#include <svl/eitem.hxx>
-//============================================================================
//
// class SfxEnumItem
//
-//============================================================================
TYPEINIT1(SfxEnumItem, CntEnumItem);
-//============================================================================
//
// class SfxBoolItem
//
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxBoolItem, CntBoolItem);
diff --git a/svl/source/items/globalnameitem.cxx b/svl/source/items/globalnameitem.cxx
index 333a97c..6dbe174 100644
--- a/svl/source/items/globalnameitem.cxx
+++ b/svl/source/items/globalnameitem.cxx
@@ -68,7 +68,6 @@ SfxPoolItem* SfxGlobalNameItem::Clone(SfxItemPool *) const
return new SfxGlobalNameItem( *this );
}
-//----------------------------------------------------------------------------
// virtual
bool SfxGlobalNameItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 )
{
@@ -90,7 +89,6 @@ bool SfxGlobalNameItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt
return true;
}
-//----------------------------------------------------------------------------
// virtual
bool SfxGlobalNameItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 ) const
{
diff --git a/svl/source/items/imageitm.cxx b/svl/source/items/imageitm.cxx
index bc96af4..deb5a73 100644
--- a/svl/source/items/imageitm.cxx
+++ b/svl/source/items/imageitm.cxx
@@ -32,7 +32,6 @@ struct SfxImageItem_Impl
{ return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; }
};
-//---------------------------------------------------------
SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage )
: SfxInt16Item( which, nImage )
@@ -48,20 +47,17 @@ SfxImageItem::SfxImageItem( const SfxImageItem& rItem )
pImp = new SfxImageItem_Impl( *(rItem.pImp) );
}
-//---------------------------------------------------------
SfxImageItem::~SfxImageItem()
{
delete pImp;
}
-//---------------------------------------------------------
SfxPoolItem* SfxImageItem::Clone( SfxItemPool* ) const
{
return new SfxImageItem( *this );
}
-//---------------------------------------------------------
int SfxImageItem::operator==( const SfxPoolItem& rItem ) const
{
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index 363afb9..b8cd293 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -24,15 +24,12 @@
#include <tools/stream.hxx>
#include <svl/metitem.hxx>
-//============================================================================
//
// class SfxByteItem
//
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxByteItem, CntByteItem);
-//============================================================================
// virtual
SfxPoolItem * SfxByteItem::Create(SvStream & rStream, sal_uInt16) const
{
@@ -41,18 +38,14 @@ SfxPoolItem * SfxByteItem::Create(SvStream & rStream, sal_uInt16) const
return new SfxByteItem(Which(), sal_uInt8(nValue));
}
-//============================================================================
//
// class SfxInt16Item
//
-//============================================================================
DBG_NAME(SfxInt16Item);
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxInt16Item, SfxPoolItem);
-//============================================================================
SfxInt16Item::SfxInt16Item(sal_uInt16 which, SvStream & rStream):
SfxPoolItem(which)
{
@@ -62,7 +55,6 @@ SfxInt16Item::SfxInt16Item(sal_uInt16 which, SvStream & rStream):
m_nValue = nTheValue;
}
-//============================================================================
// virtual
int SfxInt16Item::operator ==(const SfxPoolItem & rItem) const
{
@@ -72,7 +64,6 @@ int SfxInt16Item::operator ==(const SfxPoolItem & rItem) const
m_nValue;
}
-//============================================================================
// virtual
int SfxInt16Item::Compare(const SfxPoolItem & rWith) const
{
@@ -86,7 +77,6 @@ int SfxInt16Item::Compare(const SfxPoolItem & rWith) const
0 : 1;
}
-//============================================================================
// virtual
SfxItemPresentation SfxInt16Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
@@ -99,7 +89,6 @@ SfxItemPresentation SfxInt16Item::GetPresentation(SfxItemPresentation,
}
-//============================================================================
// virtual
bool SfxInt16Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
{
@@ -108,7 +97,6 @@ bool SfxInt16Item::QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8) const
return true;
}
-//============================================================================
// virtual
bool SfxInt16Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8 )
{
@@ -123,7 +111,6 @@ bool SfxInt16Item::PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8 )
return false;
}
-//============================================================================
// virtual
SfxPoolItem * SfxInt16Item::Create(SvStream & rStream, sal_uInt16) const
{
@@ -131,7 +118,6 @@ SfxPoolItem * SfxInt16Item::Create(SvStream & rStream, sal_uInt16) const
return new SfxInt16Item(Which(), rStream);
}
-//============================================================================
// virtual
SvStream & SfxInt16Item::Store(SvStream & rStream, sal_uInt16) const
{
@@ -140,94 +126,77 @@ SvStream & SfxInt16Item::Store(SvStream & rStream, sal_uInt16) const
return rStream;
}
-//============================================================================
SfxPoolItem * SfxInt16Item::Clone(SfxItemPool *) const
{
DBG_CHKTHIS(SfxInt16Item, 0);
return new SfxInt16Item(*this);
}
-//============================================================================
sal_Int16 SfxInt16Item::GetMin() const
{
DBG_CHKTHIS(SfxInt16Item, 0);
return -32768;
}
-//============================================================================
sal_Int16 SfxInt16Item::GetMax() const
{
DBG_CHKTHIS(SfxInt16Item, 0);
return 32767;
}
-//============================================================================
SfxFieldUnit SfxInt16Item::GetUnit() const
{
DBG_CHKTHIS(SfxInt16Item, 0);
return SFX_FUNIT_NONE;
}
-//============================================================================
//
// class SfxUInt16Item
//
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxUInt16Item, CntUInt16Item);
-//============================================================================
//
// class SfxInt32Item
//
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxInt32Item, CntInt32Item);
-//============================================================================
//
// class SfxUInt32Item
//
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxUInt32Item, CntUInt32Item);
-//============================================================================
//
// class SfxMetricItem
//
-//============================================================================
DBG_NAME(SfxMetricItem);
-//============================================================================
TYPEINIT1_AUTOFACTORY(SfxMetricItem, SfxInt32Item);
-//============================================================================
SfxMetricItem::SfxMetricItem(sal_uInt16 which, sal_uInt32 nValue):
SfxInt32Item(which, nValue)
{
DBG_CTOR(SfxMetricItem, 0);
}
-//============================================================================
SfxMetricItem::SfxMetricItem(sal_uInt16 which, SvStream & rStream):
SfxInt32Item(which, rStream)
{
DBG_CTOR(SfxMetricItem, 0);
}
-//============================================================================
SfxMetricItem::SfxMetricItem(const SfxMetricItem & rItem):
SfxInt32Item(rItem)
{
DBG_CTOR(SfxMetricItem, 0);
}
-//============================================================================
// virtual
bool SfxMetricItem::ScaleMetrics(long nMult, long nDiv)
{
@@ -239,7 +208,6 @@ bool SfxMetricItem::ScaleMetrics(long nMult, long nDiv)
return true;
}
-//============================================================================
// virtual
bool SfxMetricItem::HasMetrics() const
{
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 29e1c65..b1191cc 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -27,7 +27,6 @@
#include <svl/smplhint.hxx>
#include "poolio.hxx"
-//========================================================================
void SfxItemPool::AddSfxItemPoolUser(SfxItemPoolUser& rNewUser)
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 3f6da5d..b9e3a9b 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -41,11 +41,9 @@ static sal_uLong nRangesCopyCount = 0; // wie oft wurden Ranges kopiert
DBG_NAME(SfxItemSet)
-//========================================================================
#include "nranges.cxx"
-//========================================================================
#ifdef DBG_UTIL
@@ -459,7 +457,6 @@ void SfxItemSet::ClearInvalidItems( sal_Bool bHardDefault )
}
}
-//------------------------------------------------------------------------
void SfxItemSet::InvalidateAllItems()
@@ -914,7 +911,6 @@ int SfxItemSet::Set
return bRet;
}
-//------------------------------------------------------------------------
const SfxPoolItem* SfxItemSet::GetItem
(
@@ -959,7 +955,6 @@ const SfxPoolItem* SfxItemSet::GetItem
}
-//------------------------------------------------------------------------
const SfxPoolItem& SfxItemSet::Get( sal_uInt16 nWhich, sal_Bool bSrchInParent) const
diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx
index 05d7ae3..f5cc1fa 100644
--- a/svl/source/items/lckbitem.cxx
+++ b/svl/source/items/lckbitem.cxx
@@ -111,7 +111,6 @@ SvStream& SfxLockBytesItem::Store(SvStream &rStream, sal_uInt16 ) const
return rStream;
}
-//----------------------------------------------------------------------------
// virtual
bool SfxLockBytesItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 )
{
@@ -136,7 +135,6 @@ bool SfxLockBytesItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8
return true;
}
-//----------------------------------------------------------------------------
// virtual
bool SfxLockBytesItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 ) const
{
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 5484f5f2..66d46d9 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -229,7 +229,6 @@ SfxPoolItem* SvxMacroItem::Clone( SfxItemPool* ) const
return new SvxMacroItem( *this );
}
-//------------------------------------------------------------------------
SfxItemPresentation SvxMacroItem::GetPresentation
(
diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx
index 0b1f74a..c9fc72d 100644
--- a/svl/source/items/nranges.cxx
+++ b/svl/source/items/nranges.cxx
@@ -21,7 +21,6 @@
#include <vector>
// compiled via include from itemset.cxx only!
-//========================================================================
#ifdef DBG_UTIL
@@ -39,7 +38,6 @@
#endif
-//============================================================================
inline void Swap_Impl(const sal_uInt16 *& rp1, const sal_uInt16 *& rp2)
{
const sal_uInt16 * pTemp = rp1;
@@ -47,7 +45,6 @@ inline void Swap_Impl(const sal_uInt16 *& rp1, const sal_uInt16 *& rp2)
rp2 = pTemp;
}
-//========================================================================
sal_uInt16 InitializeRanges_Impl( sal_uInt16 *&rpRanges, va_list pArgs,
sal_uInt16 nWh1, sal_uInt16 nWh2, sal_uInt16 nNull )
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list