summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
commitf88f6451fb99709768369d774f6eff35b3715902 (patch)
treed4b6748e0d5866d29d63f605e41cc251547e0305
parent5a0180b1ff066350c5b81689e8780e84d53d0dce (diff)
CWS-TOOLING: integrate CWS cmcfixes49
-rw-r--r--basic/source/app/app.cxx4
-rw-r--r--basic/source/inc/sbintern.hxx7
-rw-r--r--configmgr/source/inc/simpleinteractionrequest.hxx4
-rw-r--r--configmgr/source/misc/simpleinteractionrequest.cxx4
-rw-r--r--connectivity/source/drivers/dbase/DIndexIter.cxx10
-rw-r--r--connectivity/source/drivers/dbase/dindexnode.cxx4
-rw-r--r--connectivity/source/drivers/evoab/LDriver.cxx1
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx4
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx8
-rw-r--r--desktop/source/app/officeipcthread.cxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx6
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx4
-rw-r--r--framework/inc/queries.h18
-rw-r--r--sfx2/inc/sfx2/macrconf.hxx6
-rw-r--r--sfx2/inc/sfx2/tabdlg.hxx4
-rw-r--r--sfx2/source/appl/appdde.cxx6
-rw-r--r--sfx2/source/appl/appopen.cxx4
-rw-r--r--sfx2/source/control/bindings.cxx6
-rw-r--r--sfx2/source/control/dispatch.cxx4
-rw-r--r--sfx2/source/control/macrconf.cxx10
-rw-r--r--sfx2/source/dialog/templdlg.cxx6
-rw-r--r--sfx2/source/doc/docfilt.cxx6
-rw-r--r--sfx2/source/view/frame.cxx4
-rw-r--r--svx/inc/gallery1.hxx4
-rw-r--r--svx/inc/galtheme.hxx4
-rw-r--r--svx/inc/hlnkitem.hxx4
-rw-r--r--svx/inc/svx/brkitem.hxx4
-rw-r--r--svx/inc/svx/deflt3d.hxx36
-rw-r--r--svx/inc/svx/lspcitem.hxx4
-rw-r--r--svx/inc/svx/svdoashp.hxx16
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeGeometry.cxx10
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeGeometry.hxx10
-rw-r--r--svx/source/dialog/cfg.cxx8
-rw-r--r--svx/source/dialog/cuihyperdlg.hxx4
-rw-r--r--svx/source/dialog/hangulhanja.cxx4
-rw-r--r--svx/source/dialog/hlmarkwn.cxx6
-rw-r--r--svx/source/dialog/hltpbase.cxx4
-rw-r--r--svx/source/dialog/hltpbase.hxx4
-rw-r--r--svx/source/dialog/svxruler.cxx2
-rw-r--r--svx/source/form/filtnav.cxx6
-rw-r--r--svx/source/inc/filtnav.hxx6
-rw-r--r--svx/source/inc/hlmarkwn.hxx6
-rw-r--r--svx/source/items/svxfont.cxx6
-rw-r--r--svx/source/msfilter/escherex.cxx2
-rw-r--r--svx/source/svdraw/svdoashp.cxx16
-rw-r--r--svx/source/svrtf/svxrtf.cxx4
-rw-r--r--svx/source/unodraw/unoprov.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/inc/qe/QueryProcessor.hxx4
-rw-r--r--xmloff/inc/xmloff/txtstyli.hxx4
-rw-r--r--xmloff/inc/xmloff/xmlexp.hxx6
-rw-r--r--xmloff/inc/xmloff/xmlprmap.hxx16
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/forms/layerexport.cxx4
-rw-r--r--xmloff/source/style/xmlprmap.cxx4
-rw-r--r--xmloff/source/text/XMLTextNumRuleInfo.hxx6
-rw-r--r--xmloff/source/text/txtflde.cxx26
56 files changed, 193 insertions, 187 deletions
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx
index 9293e4195f..cdf4d3ae1f 100644
--- a/basic/source/app/app.cxx
+++ b/basic/source/app/app.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: app.cxx,v $
- * $Revision: 1.80 $
+ * $Revision: 1.79.14.2 $
*
* This file is part of OpenOffice.org.
*
@@ -1465,7 +1465,7 @@ long BasicFrame::Command( short nID, BOOL bChecked )
else
{
AppWin *w = NULL;
- for ( w = pList->Last() ; w ? !w->ISA(AppBasEd) : FALSE ; w = pList->Prev() );
+ for ( w = pList->Last() ; w ? !w->ISA(AppBasEd) : FALSE ; w = pList->Prev() ) ;
if ( w )
{
p = ((AppBasEd*)w);
diff --git a/basic/source/inc/sbintern.hxx b/basic/source/inc/sbintern.hxx
index e1cc4ca4f6..bfe59e9d38 100644
--- a/basic/source/inc/sbintern.hxx
+++ b/basic/source/inc/sbintern.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbintern.hxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.56.1 $
*
* This file is part of OpenOffice.org.
*
@@ -35,7 +35,10 @@
#include <unotools/transliterationwrapper.hxx>
#include "sb.hxx"
-class ::utl::TransliterationWrapper;
+namespace utl
+{
+ class TransliterationWrapper;
+}
class SbUnoFactory;
class SbTypeFactory;
class SbOLEFactory;
diff --git a/configmgr/source/inc/simpleinteractionrequest.hxx b/configmgr/source/inc/simpleinteractionrequest.hxx
index 24dccc3534..3b8c9c1e36 100644
--- a/configmgr/source/inc/simpleinteractionrequest.hxx
+++ b/configmgr/source/inc/simpleinteractionrequest.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: simpleinteractionrequest.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.18.1 $
*
* This file is part of OpenOffice.org.
*
@@ -77,7 +77,7 @@ namespace apihelper {
* @return the continuation choosen by an interaction handler or
* CONTINUATION_UNKNOWN, if the request was not (yet) handled.
*/
- const Continuation getResponse() const;
+ Continuation getResponse() const;
};
/** These are the constants that can be passed to the constructor of class
diff --git a/configmgr/source/misc/simpleinteractionrequest.cxx b/configmgr/source/misc/simpleinteractionrequest.cxx
index e20903a247..30e5adf7f4 100644
--- a/configmgr/source/misc/simpleinteractionrequest.cxx
+++ b/configmgr/source/misc/simpleinteractionrequest.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: simpleinteractionrequest.cxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.5.18.1 $
*
* This file is part of OpenOffice.org.
*
@@ -74,7 +74,7 @@ SimpleInteractionRequest::SimpleInteractionRequest(
}
//=========================================================================
-const SimpleInteractionRequest::Continuation SimpleInteractionRequest::getResponse() const
+SimpleInteractionRequest::Continuation SimpleInteractionRequest::getResponse() const
{
uno::Reference< task::XInteractionContinuation > xSelection = this->getSelection();
if ( xSelection.is() )
diff --git a/connectivity/source/drivers/dbase/DIndexIter.cxx b/connectivity/source/drivers/dbase/DIndexIter.cxx
index f986eaa45f..364d4daafc 100644
--- a/connectivity/source/drivers/dbase/DIndexIter.cxx
+++ b/connectivity/source/drivers/dbase/DIndexIter.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DIndexIter.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.9.66.1 $
*
* This file is part of OpenOffice.org.
*
@@ -175,13 +175,13 @@ ULONG OIndexIterator::GetCompare(BOOL bFirst)
switch (ePredicateType)
{
case SQLFilterOperator::NOT_EQUAL:
- while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand));
+ while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand)) ;
break;
case SQLFilterOperator::LESS:
- while ( ( ( pKey = GetNextKey() ) != NULL ) && pKey->getValue().isNull());
+ while ( ( ( pKey = GetNextKey() ) != NULL ) && pKey->getValue().isNull()) ;
break;
case SQLFilterOperator::LESS_EQUAL:
- while ( ( pKey = GetNextKey() ) != NULL );
+ while ( ( pKey = GetNextKey() ) != NULL ) ;
break;
case SQLFilterOperator::GREATER_EQUAL:
case SQLFilterOperator::EQUAL:
@@ -190,7 +190,7 @@ ULONG OIndexIterator::GetCompare(BOOL bFirst)
case SQLFilterOperator::GREATER:
pKey = GetFirstKey(m_aRoot,*m_pOperand);
if ( !pKey )
- while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand));
+ while ( ( ( pKey = GetNextKey() ) != NULL ) && !m_pOperator->operate(pKey,m_pOperand)) ;
}
}
else
diff --git a/connectivity/source/drivers/dbase/dindexnode.cxx b/connectivity/source/drivers/dbase/dindexnode.cxx
index 5a9bb83d2b..26088267f6 100644
--- a/connectivity/source/drivers/dbase/dindexnode.cxx
+++ b/connectivity/source/drivers/dbase/dindexnode.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dindexnode.cxx,v $
- * $Revision: 1.21 $
+ * $Revision: 1.21.66.1 $
*
* This file is part of OpenOffice.org.
*
@@ -214,7 +214,7 @@ BOOL ONDXPage::Insert(ONDXNode& rNode, sal_uInt32 nRowsLeft)
else // Position unbekannt
{
USHORT nPos = NODE_NOTFOUND;
- while (++nPos < nCount && rNode.GetKey() > ((*this)[nPos]).GetKey());
+ while (++nPos < nCount && rNode.GetKey() > ((*this)[nPos]).GetKey()) ;
--nCount; // (sonst bekomme ich u.U. Assertions und GPFs - 60593)
bResult = Insert(nPos, rNode);
diff --git a/connectivity/source/drivers/evoab/LDriver.cxx b/connectivity/source/drivers/evoab/LDriver.cxx
index f63b1d7c35..bc11ee5395 100644
--- a/connectivity/source/drivers/evoab/LDriver.cxx
+++ b/connectivity/source/drivers/evoab/LDriver.cxx
@@ -230,7 +230,6 @@ sal_Bool SAL_CALL OEvoabDriver::acceptsURL( const ::rtl::OUString& url )
OSL_ASSERT( hStdout );
sal_Char pBuffer[256];
sal_uInt64 nBytesRead;
- OSL_ASSERT( pBuffer );
oslFileError nFileErr = osl_File_E_None;
nFileErr = osl_readFile( hStdout, pBuffer, 256, &nBytesRead);
if ( nFileErr != osl_File_E_None )
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx b/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx
index eeff056f1a..7027252134 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MNSMozabProxy.cxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.66.1 $
*
* This file is part of OpenOffice.org.
*
@@ -319,7 +319,7 @@ MNSMozabProxy::testLDAPConnection( )
{
const MLDAPMessageListener* pListener( static_cast< const MLDAPMessageListener* >( m_Args->arg5 ) );
if ( pListener->initialized() )
- rv = pListener->goodConnection() ? 0 : PR_NOT_CONNECTED_ERROR;
+ rv = pListener->goodConnection() ? 0 : (nsresult)PR_NOT_CONNECTED_ERROR;
else
rv = (nsresult)PR_CONNECT_TIMEOUT_ERROR;
}
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
index c5a54f1da4..3d4eed7314 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MQuery.hxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.66.1 $
*
* This file is part of OpenOffice.org.
*
@@ -111,9 +111,9 @@ namespace connectivity
{
}
- const ::rtl::OUString& getName() { return m_aName; }
- const MQueryOp::cond_type getCond() { return m_aBooleanCondition; }
- const ::rtl::OUString& getValue() { return m_aValue; }
+ const ::rtl::OUString& getName() const { return m_aName; }
+ MQueryOp::cond_type getCond() const { return m_aBooleanCondition; }
+ const ::rtl::OUString& getValue() const { return m_aValue; }
};
class MQuery;
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 8742370f9b..761014ace5 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: officeipcthread.cxx,v $
- * $Revision: 1.62 $
+ * $Revision: 1.62.44.1 $
*
* This file is part of OpenOffice.org.
*
@@ -885,7 +885,7 @@ void SAL_CALL OfficeIPCThread::run()
nBytes = 0;
while (
(nResult = maStreamPipe.send(sc_aConfirmationSequence+nBytes, sc_nCSeqLength-nBytes))>0 &&
- ((nBytes += nResult) < sc_nCSeqLength) );
+ ((nBytes += nResult) < sc_nCSeqLength) ) ;
// now we can close, don't we?
// maStreamPipe.close();
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
index 51084c1df5..99357e82ed 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dp_gui_updateinstalldialog.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.126.1 $
*
* This file is part of OpenOffice.org.
*
@@ -55,7 +55,9 @@ namespace com { namespace sun { namespace star { namespace xml { namespace xpath
}}}}}
class Window;
-class ::osl::Condition;
+namespace osl {
+ class Condition;
+}
namespace dp_gui {
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index 9f0b654ff2..6ec2552ee0 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unopkg_app.cxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.58.1 $
*
* This file is part of OpenOffice.org.
*
@@ -252,7 +252,7 @@ extern "C" int unopkg_main()
return 0;
}
//consume all bootstrap variables which may occur before the subcommannd
- while(isBootstrapVariable(&nPos));
+ while(isBootstrapVariable(&nPos)) ;
if(nPos >= nCount)
return 0;
diff --git a/framework/inc/queries.h b/framework/inc/queries.h
index a9e71af343..0d9cbb29b1 100644
--- a/framework/inc/queries.h
+++ b/framework/inc/queries.h
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: queries.h,v $
- * $Revision: 1.7 $
+ * $Revision: 1.7.80.1 $
*
* This file is part of OpenOffice.org.
*
@@ -363,19 +363,19 @@ class QueryAnalyzer
// return type of query. User can decide then, which action should be started.
// For faster work we converted query string into corresponding enum value!
//---------------------------------------------------------------------------------------------------------
- EQuery getQueryType() { return m_eQuery; } const
+ EQuery getQueryType() const { return m_eQuery; }
//---------------------------------------------------------------------------------------------------------
// access to additional parameter values
// Methods return default of realy set values!
//---------------------------------------------------------------------------------------------------------
- sal_uInt32 getIFlags () { return m_nIFlags ; } const
- sal_uInt32 getEFlags () { return m_nEFlags ; } const
- ESortProp getSortProp () { return m_eSortProp ; } const
- sal_Bool getDescending () { return m_bDescending ; } const
- sal_Bool getCaseSensitive() { return m_bCaseSensitive; } const
- sal_Bool getUseOrder () { return m_bUseOrder ; } const
- sal_Bool getDefaultFirst () { return m_bDefaultFirst ; } const
+ sal_uInt32 getIFlags () const { return m_nIFlags ; }
+ sal_uInt32 getEFlags () const { return m_nEFlags ; }
+ ESortProp getSortProp () const { return m_eSortProp ; }
+ sal_Bool getDescending () const { return m_bDescending ; }
+ sal_Bool getCaseSensitive() const { return m_bCaseSensitive; }
+ sal_Bool getUseOrder () const { return m_bUseOrder ; }
+ sal_Bool getDefaultFirst () const { return m_bDefaultFirst ; }
//---------------------------------------------------------------------------------------------------------
// this method checks if given string match any supported query.
diff --git a/sfx2/inc/sfx2/macrconf.hxx b/sfx2/inc/sfx2/macrconf.hxx
index 94d8a50aa5..02327edd81 100644
--- a/sfx2/inc/sfx2/macrconf.hxx
+++ b/sfx2/inc/sfx2/macrconf.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: macrconf.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.142.1 $
*
* This file is part of OpenOffice.org.
*
@@ -141,7 +141,7 @@ public:
sal_uInt16 GetSlotId(SfxMacroInfoPtr);
void ReleaseSlotId(sal_uInt16 nId);
void RegisterSlotId(sal_uInt16 nId);
- const SfxMacroInfoPtr GetMacroInfo(sal_uInt16 nId) const;
+ SfxMacroInfo* GetMacroInfo(sal_uInt16 nId) const;
sal_Bool ExecuteMacro(sal_uInt16 nId, const String& rArgs ) const;
sal_Bool ExecuteMacro( SfxObjectShell*, const SvxMacro*, const String& ) const;
sal_Bool CheckMacro(sal_uInt16 nId) const;
@@ -149,7 +149,7 @@ public:
//#if 0 // _SOLAR__PRIVATE
SAL_DLLPRIVATE static void Release_Impl();
- SAL_DLLPRIVATE const SfxMacroInfoPtr GetMacroInfo_Impl( const SvxMacro *pMacro ) const;
+ SAL_DLLPRIVATE const SfxMacroInfo* GetMacroInfo_Impl( const SvxMacro *pMacro ) const;
DECL_DLLPRIVATE_LINK( CallbackHdl_Impl, SfxMacroConfig*);
DECL_DLLPRIVATE_LINK( EventHdl_Impl, SfxMacroInfo*);
//#endif
diff --git a/sfx2/inc/sfx2/tabdlg.hxx b/sfx2/inc/sfx2/tabdlg.hxx
index f5c9a20970..139d9cb30e 100644
--- a/sfx2/inc/sfx2/tabdlg.hxx
+++ b/sfx2/inc/sfx2/tabdlg.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tabdlg.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.104.1 $
*
* This file is part of OpenOffice.org.
*
@@ -181,7 +181,7 @@ public:
const SfxItemSet* GetOutputItemSet() const { return pOutSet; }
const SfxItemSet* GetOutputItemSet( USHORT nId ) const;
int FillOutputItemSet();
- const BOOL IsFormat() const { return bFmt; }
+ BOOL IsFormat() const { return bFmt; }
const OKButton& GetOKButton() const { return aOKBtn; }
OKButton& GetOKButton() { return aOKBtn; }
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 0b700e65a7..759d9fb810 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: appdde.cxx,v $
- * $Revision: 1.19 $
+ * $Revision: 1.19.142.1 $
*
* This file is part of OpenOffice.org.
*
@@ -122,8 +122,8 @@ public:
};
-SV_DECL_PTRARR( SfxDdeDocTopics_Impl, SfxDdeDocTopic_Impl * const, 4, 4 )
-SV_IMPL_PTRARR( SfxDdeDocTopics_Impl, SfxDdeDocTopic_Impl * const )
+SV_DECL_PTRARR( SfxDdeDocTopics_Impl, SfxDdeDocTopic_Impl *, 4, 4 )
+SV_IMPL_PTRARR( SfxDdeDocTopics_Impl, SfxDdeDocTopic_Impl *)
//========================================================================
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 80cfc46b58..70f4d8ec81 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: appopen.cxx,v $
- * $Revision: 1.121 $
+ * $Revision: 1.121.96.1 $
*
* This file is part of OpenOffice.org.
*
@@ -211,7 +211,7 @@ SfxObjectShellRef SfxApplication::DocAlreadyLoaded
SfxViewFrame::GetFirst( xDoc, TYPE(SfxTopViewFrame) );
pFrame && !pFrame->IsVisible_Impl();
pFrame = (SfxTopViewFrame*)
- SfxViewFrame::GetNext( *pFrame, xDoc, TYPE(SfxTopViewFrame) ) );
+ SfxViewFrame::GetNext( *pFrame, xDoc, TYPE(SfxTopViewFrame) ) ) ;
if ( pFrame )
{
SfxViewFrame *pCur = SfxViewFrame::Current();
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index c501ca3acb..596bcdd787 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: bindings.cxx,v $
- * $Revision: 1.53 $
+ * $Revision: 1.53.46.1 $
*
* This file is part of OpenOffice.org.
*
@@ -232,9 +232,9 @@ struct SfxFoundCache_Impl
{}
int operator<( const SfxFoundCache_Impl &r ) const
- { return nWhichId < r.nWhichId; } const
+ { return nWhichId < r.nWhichId; }
- int operator==( const SfxFoundCache_Impl &r )
+ int operator==( const SfxFoundCache_Impl &r ) const
{ return nWhichId== r.nWhichId; }
};
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 6aecef4614..95ab93dbc3 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dispatch.cxx,v $
- * $Revision: 1.56 $
+ * $Revision: 1.56.126.1 $
*
* This file is part of OpenOffice.org.
*
@@ -2340,7 +2340,7 @@ sal_Bool SfxDispatcher::_FindServer
// Makro-Slot?
if ( SfxMacroConfig::IsMacroSlot( nSlot ) )
{
- SfxMacroInfo* pInfo = pSfxApp->GetMacroConfig()->GetMacroInfo(nSlot);
+ const SfxMacroInfo* pInfo = pSfxApp->GetMacroConfig()->GetMacroInfo(nSlot);
if ( pInfo )
{
const SfxSlot* pSlot = pInfo->GetSlot();
diff --git a/sfx2/source/control/macrconf.cxx b/sfx2/source/control/macrconf.cxx
index 9c0b9244e3..84c9f7feb5 100644
--- a/sfx2/source/control/macrconf.cxx
+++ b/sfx2/source/control/macrconf.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: macrconf.cxx,v $
- * $Revision: 1.25 $
+ * $Revision: 1.25.142.1 $
*
* This file is part of OpenOffice.org.
*
@@ -662,7 +662,7 @@ void SfxMacroConfig::RegisterSlotId(sal_uInt16 nId)
//==========================================================================
-const SfxMacroInfoPtr SfxMacroConfig::GetMacroInfo(sal_uInt16 nId) const
+SfxMacroInfo* SfxMacroConfig::GetMacroInfo(sal_uInt16 nId) const
{
sal_uInt16 nCount = pImp->aArr.Count();
for (sal_uInt16 i=0; i<nCount; i++)
@@ -674,7 +674,7 @@ const SfxMacroInfoPtr SfxMacroConfig::GetMacroInfo(sal_uInt16 nId) const
//==========================================================================
-const SfxMacroInfoPtr SfxMacroConfig::GetMacroInfo_Impl( const SvxMacro *pMacro ) const
+const SfxMacroInfo* SfxMacroConfig::GetMacroInfo_Impl( const SvxMacro *pMacro ) const
{
sal_uInt16 nCount = pImp->aArr.Count();
for (sal_uInt16 i=0; i<nCount; i++)
@@ -687,7 +687,7 @@ const SfxMacroInfoPtr SfxMacroConfig::GetMacroInfo_Impl( const SvxMacro *pMacro
sal_Bool SfxMacroConfig::ExecuteMacro( sal_uInt16 nId, const String& rArgs ) const
{
- const SfxMacroInfoPtr pInfo = GetMacroInfo( nId );
+ const SfxMacroInfo* pInfo = GetMacroInfo( nId );
if ( !pInfo )
return sal_False;
@@ -790,7 +790,7 @@ sal_Bool SfxMacroConfig::CheckMacro( SfxObjectShell *pSh, const SvxMacro* pMacro
sal_Bool SfxMacroConfig::CheckMacro( sal_uInt16 nId ) const
{
- const SfxMacroInfoPtr pInfo = GetMacroInfo( nId );
+ const SfxMacroInfo* pInfo = GetMacroInfo( nId );
if ( !pInfo )
return sal_False;
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index fda9402d0d..e0b30c8b72 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -554,7 +554,7 @@ BOOL StyleTreeListBox_Impl::NotifyMoving(SvLBoxEntry* pTarget,
for(SvLBoxEntry *pTmpEntry=FirstChild(pTarget);
pTmpEntry && COMPARE_LESS==pCollator->compareString(
GetEntryText(pTmpEntry),GetEntryText(pEntry));
- pTmpEntry=NextSibling(pTmpEntry),lPos++);
+ pTmpEntry=NextSibling(pTmpEntry),lPos++) ;
return bRet? (BOOL)2: FALSE;
}
@@ -695,7 +695,7 @@ StyleTreeArr_Impl &MakeTree_Impl(StyleTreeArr_Impl &rArr)
for ( ii = 0;
ii < pCmp->Count() && COMPARE_LESS ==
pCollator->compareString( (*pCmp->pChilds)[ii]->aName,
- pEntry->aName);++ii);
+ pEntry->aName);++ii) ;
pCmp->Put(pEntry,ii);
break;
}
@@ -2871,7 +2871,7 @@ void SfxTemplateCatalog_Impl::CheckItem(USHORT nMesId, BOOL /*bCheck*/)
if ( nMesId > SFX_STYLE_FAMILY_PSEUDO || nMesId < SFX_STYLE_FAMILY_CHAR )
return;
USHORT i;
- for ( i = 0; i < aFamIds.Count() && aFamIds[i] != nMesId; i++ );
+ for ( i = 0; i < aFamIds.Count() && aFamIds[i] != nMesId; i++ ) ;
aFamList.SelectEntryPos(i);
}
diff --git a/sfx2/source/doc/docfilt.cxx b/sfx2/source/doc/docfilt.cxx
index 03631bcd8d..6ca20b3622 100644
--- a/sfx2/source/doc/docfilt.cxx
+++ b/sfx2/source/doc/docfilt.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: docfilt.cxx,v $
- * $Revision: 1.23 $
+ * $Revision: 1.23.142.1 $
*
* This file is part of OpenOffice.org.
*
@@ -119,8 +119,8 @@ String SfxFilter::GetDefaultExtension() const
String SfxFilter::GetSuffixes() const
{
String aRet = GetWildcard()();
- while( aRet.SearchAndReplaceAscii( "*.", String() ) != STRING_NOTFOUND );
- while( aRet.SearchAndReplace( ';', ',' ) != STRING_NOTFOUND );
+ while( aRet.SearchAndReplaceAscii( "*.", String() ) != STRING_NOTFOUND ) ;
+ while( aRet.SearchAndReplace( ';', ',' ) != STRING_NOTFOUND ) ;
return aRet;
}
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index fc1d6eb3c7..e2c5edf141 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frame.cxx,v $
- * $Revision: 1.55 $
+ * $Revision: 1.55.142.1 $
*
* This file is part of OpenOffice.org.
*
@@ -532,7 +532,7 @@ void SfxFrame::CancelTransfers( sal_Bool /*bCancelLoadEnv*/ )
SfxViewFrame* pFrm;
for( pFrm = SfxViewFrame::GetFirst( pObj );
pFrm && pFrm->GetFrame() == this;
- pFrm = SfxViewFrame::GetNext( *pFrm, pObj ) );
+ pFrm = SfxViewFrame::GetNext( *pFrm, pObj ) ) ;
// Keine anderer Frame mehr auf Doc -> Cancel
if( !pFrm )
{
diff --git a/svx/inc/gallery1.hxx b/svx/inc/gallery1.hxx
index e50332c9af..68f3a27a1e 100644
--- a/svx/inc/gallery1.hxx
+++ b/svx/inc/gallery1.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: gallery1.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -158,7 +158,7 @@ public:
SVX_DLLPUBLIC static Gallery* GetGalleryInstance();
- const ULONG GetThemeCount() const { return aThemeList.Count(); }
+ ULONG GetThemeCount() const { return aThemeList.Count(); }
const GalleryThemeEntry* GetThemeInfo( ULONG nPos ) { return aThemeList.GetObject( nPos ); }
const GalleryThemeEntry* GetThemeInfo( const String& rThemeName ) { return ImplGetThemeEntry( rThemeName ); }
diff --git a/svx/inc/galtheme.hxx b/svx/inc/galtheme.hxx
index 4b576773e4..0deef6233c 100644
--- a/svx/inc/galtheme.hxx
+++ b/svx/inc/galtheme.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: galtheme.hxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -127,7 +127,7 @@ public:
static GalleryThemeEntry* CreateThemeEntry( const INetURLObject& rURL, BOOL bReadOnly );
- const ULONG GetObjectCount() const { return aObjectList.Count(); }
+ ULONG GetObjectCount() const { return aObjectList.Count(); }
SgaObject* AcquireObject( ULONG nPos );
void ReleaseObject( SgaObject* pObj );
diff --git a/svx/inc/hlnkitem.hxx b/svx/inc/hlnkitem.hxx
index c931b2a1d2..70541df263 100644
--- a/svx/inc/hlnkitem.hxx
+++ b/svx/inc/hlnkitem.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hlnkitem.hxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.6.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -101,7 +101,7 @@ public:
const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTable; }
void SetMacroEvents (const USHORT nEvents) { nMacroEvents = nEvents; }
- const USHORT GetMacroEvents() const { return nMacroEvents; }
+ USHORT GetMacroEvents() const { return nMacroEvents; }
virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const;
virtual SfxPoolItem* Create( SvStream &, USHORT nVer ) const;
diff --git a/svx/inc/svx/brkitem.hxx b/svx/inc/svx/brkitem.hxx
index 1d53cedc64..30fd5ea1a7 100644
--- a/svx/inc/svx/brkitem.hxx
+++ b/svx/inc/svx/brkitem.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: brkitem.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -83,7 +83,7 @@ public:
// MS VC4.0 kommt durcheinander
void SetValue( USHORT nNewVal )
{SfxEnumItem::SetValue(nNewVal); }
- const SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
+ SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
void SetBreak( const SvxBreak eNew )
{ SetValue( (USHORT)eNew ); }
};
diff --git a/svx/inc/svx/deflt3d.hxx b/svx/inc/svx/deflt3d.hxx
index 80d3b4b07d..3b3e90c601 100644
--- a/svx/inc/svx/deflt3d.hxx
+++ b/svx/inc/svx/deflt3d.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: deflt3d.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.3.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -94,11 +94,11 @@ public:
const B3dMaterial& GetDefaultBackMaterial() { return aDefaultBackMaterial; }
void SetDefaultBackMaterial(const B3dMaterial& rNew) { aDefaultBackMaterial = rNew; }
- const BOOL GetDefaultCreateNormals() { return bDefaultCreateNormals; }
+ BOOL GetDefaultCreateNormals() const { return bDefaultCreateNormals; }
void SetDefaultCreateNormals(const BOOL bNew) { bDefaultCreateNormals = bNew; }
- const BOOL GetDefaultCreateTexture() { return bDefaultCreateTexture; }
+ BOOL GetDefaultCreateTexture() const { return bDefaultCreateTexture; }
void SetDefaultCreateTexture(const BOOL bNew) { bDefaultCreateTexture = bNew; }
- const BOOL GetDefaultUseDifferentBackMaterial() { return bDefaultUseDifferentBackMaterial; }
+ BOOL GetDefaultUseDifferentBackMaterial() const { return bDefaultUseDifferentBackMaterial; }
void SetDefaultUseDifferentBackMaterial(const BOOL bNew) { bDefaultUseDifferentBackMaterial = bNew; }
// Cube-Objekt
@@ -106,9 +106,9 @@ public:
void SetDefaultCubePos(const basegfx::B3DPoint& rNew) { aDefaultCubePos = rNew; }
const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; }
void SetDefaultCubeSize(const basegfx::B3DVector& rNew) { aDefaultCubeSize = rNew; }
- const UINT16 GetDefaultCubeSideFlags() { return nDefaultCubeSideFlags; }
+ UINT16 GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; }
void SetDefaultCubeSideFlags(const UINT16 nNew) { nDefaultCubeSideFlags = nNew; }
- const BOOL GetDefaultCubePosIsCenter() { return bDefaultCubePosIsCenter; }
+ BOOL GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; }
void SetDefaultCubePosIsCenter(const BOOL bNew) { bDefaultCubePosIsCenter = bNew; }
// Sphere-Objekt
@@ -118,33 +118,33 @@ public:
void SetDefaultSphereSize(const basegfx::B3DPoint& rNew) { aDefaultSphereSize = rNew; }
// Lathe-Objekt
- const long GetDefaultLatheEndAngle() { return nDefaultLatheEndAngle; }
+ long GetDefaultLatheEndAngle() const { return nDefaultLatheEndAngle; }
void SetDefaultLatheEndAngle(const long nNew) { nDefaultLatheEndAngle = nNew; }
- const BOOL GetDefaultLatheSmoothed() { return bDefaultLatheSmoothed; }
+ BOOL GetDefaultLatheSmoothed() const { return bDefaultLatheSmoothed; }
void SetDefaultLatheSmoothed(const BOOL bNew) { bDefaultLatheSmoothed = bNew; }
- const BOOL GetDefaultLatheSmoothFrontBack() { return bDefaultLatheSmoothFrontBack; }
+ BOOL GetDefaultLatheSmoothFrontBack() const { return bDefaultLatheSmoothFrontBack; }
void SetDefaultLatheSmoothFrontBack(const BOOL bNew) { bDefaultLatheSmoothFrontBack = bNew; }
- const BOOL GetDefaultLatheCharacterMode() { return bDefaultLatheCharacterMode; }
+ BOOL GetDefaultLatheCharacterMode() const { return bDefaultLatheCharacterMode; }
void SetDefaultLatheCharacterMode(const BOOL bNew) { bDefaultLatheCharacterMode = bNew; }
- const BOOL GetDefaultLatheCloseFront() { return bDefaultLatheCloseFront; }
+ BOOL GetDefaultLatheCloseFront() const { return bDefaultLatheCloseFront; }
void SetDefaultLatheCloseFront(const BOOL bNew) { bDefaultLatheCloseFront = bNew; }
- const BOOL GetDefaultLatheCloseBack() { return bDefaultLatheCloseBack; }
+ BOOL GetDefaultLatheCloseBack() const { return bDefaultLatheCloseBack; }
void SetDefaultLatheCloseBack(const BOOL bNew) { bDefaultLatheCloseBack = bNew; }
// Extrude-Objekt
- const BOOL GetDefaultExtrudeSmoothed() { return bDefaultExtrudeSmoothed; }
+ BOOL GetDefaultExtrudeSmoothed() const { return bDefaultExtrudeSmoothed; }
void SetDefaultExtrudeSmoothed(const BOOL bNew) { bDefaultExtrudeSmoothed = bNew; }
- const BOOL GetDefaultExtrudeSmoothFrontBack() { return bDefaultExtrudeSmoothFrontBack; }
+ BOOL GetDefaultExtrudeSmoothFrontBack() const { return bDefaultExtrudeSmoothFrontBack; }
void SetDefaultExtrudeSmoothFrontBack(const BOOL bNew) { bDefaultExtrudeSmoothFrontBack = bNew; }
- const BOOL GetDefaultExtrudeCharacterMode() { return bDefaultExtrudeCharacterMode; }
+ BOOL GetDefaultExtrudeCharacterMode() const { return bDefaultExtrudeCharacterMode; }
void SetDefaultExtrudeCharacterMode(const BOOL bNew) { bDefaultExtrudeCharacterMode = bNew; }
- const BOOL GetDefaultExtrudeCloseFront() { return bDefaultExtrudeCloseFront; }
+ BOOL GetDefaultExtrudeCloseFront() const { return bDefaultExtrudeCloseFront; }
void SetDefaultExtrudeCloseFront(const BOOL bNew) { bDefaultExtrudeCloseFront = bNew; }
- const BOOL GetDefaultExtrudeCloseBack() { return bDefaultExtrudeCloseBack; }
+ BOOL GetDefaultExtrudeCloseBack() const { return bDefaultExtrudeCloseBack; }
void SetDefaultExtrudeCloseBack(const BOOL bNew) { bDefaultExtrudeCloseBack = bNew; }
// Scene-Objekt
- const BOOL GetDefaultDither() { return bDefaultDither; }
+ BOOL GetDefaultDither() const { return bDefaultDither; }
void SetDefaultDither(const BOOL bNew) { bDefaultDither = bNew; }
};
diff --git a/svx/inc/svx/lspcitem.hxx b/svx/inc/svx/lspcitem.hxx
index c21f1a02ce..b99411663d 100644
--- a/svx/inc/svx/lspcitem.hxx
+++ b/svx/inc/svx/lspcitem.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: lspcitem.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -107,7 +107,7 @@ public:
}
// Vergroessert oder verkleinert die Zeilenhoehe.
- const BYTE GetPropLineSpace() const { return nPropLineSpace; }
+ BYTE GetPropLineSpace() const { return nPropLineSpace; }
inline void SetPropLineSpace( const BYTE nProp )
{
nPropLineSpace = nProp;
diff --git a/svx/inc/svx/svdoashp.hxx b/svx/inc/svx/svdoashp.hxx
index 8b27e3a086..1d196924bf 100644
--- a/svx/inc/svx/svdoashp.hxx
+++ b/svx/inc/svx/svdoashp.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdoashp.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.6.90.2 $
*
* This file is part of OpenOffice.org.
*
@@ -134,8 +134,8 @@ public:
// #i37011#
const SdrObject* GetSdrObjectFromCustomShape() const;
const SdrObject* GetSdrObjectShadowFromCustomShape() const;
- const sal_Bool GetTextBounds( Rectangle& rTextBound ) const;
- const sal_Bool IsTextPath() const;
+ sal_Bool GetTextBounds( Rectangle& rTextBound ) const;
+ sal_Bool IsTextPath() const;
static SVX_DLLPRIVATE basegfx::B2DPolyPolygon GetLineGeometry( const SdrObjCustomShape* pCustomShape, const sal_Bool bBezierAllowed );
protected:
@@ -144,15 +144,15 @@ protected:
public:
- const sal_Bool UseNoFillStyle() const;
+ sal_Bool UseNoFillStyle() const;
- const sal_Bool IsMirroredX() const;
- const sal_Bool IsMirroredY() const;
+ sal_Bool IsMirroredX() const;
+ sal_Bool IsMirroredY() const;
void SetMirroredX( const sal_Bool bMirroredX );
void SetMirroredY( const sal_Bool bMirroredY );
- const double GetObjectRotation() const;
- const double GetExtraTextRotation() const;
+ double GetObjectRotation() const;
+ double GetExtraTextRotation() const;
TYPEINFO();
SdrObjCustomShape();
diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
index c42febf764..b46bb01a0b 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: EnhancedCustomShapeGeometry.cxx,v $
- * $Revision: 1.23 $
+ * $Revision: 1.23.92.1 $
*
* This file is part of OpenOffice.org.
*
@@ -5565,7 +5565,7 @@ static const sal_uInt16 mso_DefaultFillingTable[] =
{
0x0000, 0x0018, 0x01ff, 0x0000, 0x0c00, 0x01e0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000, 0x0000
};
-const sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
+sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
{
sal_Bool bIsFilledByDefault = sal_True;
sal_uInt32 i = (sal_uInt32)eSpType;
@@ -5573,7 +5573,7 @@ const sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType )
bIsFilledByDefault = ( mso_DefaultFillingTable[ i >> 4 ] & ( 1 << ( i & 0xf ) ) ) == 0;
return bIsFilledByDefault;
}
-const sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType )
+sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType )
{
sal_Int16 nGluePointType = com::sun::star::drawing::EnhancedCustomShapeGluePointType::SEGMENTS;
const mso_CustomShape* pDefCustomShape = GetCustomShapeContent( eSpType );
@@ -5610,7 +5610,7 @@ static const sal_uInt16 mso_DefaultStrokingTable[] =
0x0000, 0x0000, 0x0000, 0x0000
};
// #i28269#
-const sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType )
+sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType )
{
sal_Bool bIsStrokedByDefault = sal_True;
sal_uInt32 i = (sal_uInt32)eSpType;
@@ -5623,7 +5623,7 @@ static const sal_uInt16 msoSortFilledObjectsToBackTable[] =
{
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
-const sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType )
+sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType )
{
sal_Bool bSortFilledObjectsToBackByDefault = sal_True;
sal_uInt32 i = (sal_uInt32)eSpType;
diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.hxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.hxx
index 2bfa8bfe8a..30e5bb4e7c 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.hxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: EnhancedCustomShapeGeometry.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -92,12 +92,12 @@ struct mso_CustomShape
#define MSO_I | (sal_Int32)0x80000000
-const sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType );
-const sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType );
-const sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType );
+sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType );
+sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType );
+sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType );
// #i28269#
-const sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType );
+sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType );
const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType );
diff --git a/svx/source/dialog/cfg.cxx b/svx/source/dialog/cfg.cxx
index 91393aca2b..d47faed6e4 100644
--- a/svx/source/dialog/cfg.cxx
+++ b/svx/source/dialog/cfg.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cfg.cxx,v $
- * $Revision: 1.50 $
+ * $Revision: 1.50.84.1 $
*
* This file is part of OpenOffice.org.
*
@@ -2376,7 +2376,7 @@ bool SvxConfigPage::MoveEntryData(
SvxEntries::const_iterator end = pEntries->end();
// advance the iterator to the position of the target entry
- while (*iter != pTargetData && ++iter != end);
+ while (*iter != pTargetData && ++iter != end) ;
// insert the source entry at the position after the target
pEntries->insert( ++iter, pSourceData );
@@ -3042,8 +3042,8 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, Button *, pButton )
SvxEntries::const_iterator end = GetEntries()->end();
// Advance the iterators to the positions of the source and target
- while (*iter1 != pSourceData && ++iter1 != end);
- while (*iter2 != pTargetData && ++iter2 != end);
+ while (*iter1 != pSourceData && ++iter1 != end) ;
+ while (*iter2 != pTargetData && ++iter2 != end) ;
// Now swap the entries in the menu list and in the UI
if ( iter1 != end && iter2 != end )
diff --git a/svx/source/dialog/cuihyperdlg.hxx b/svx/source/dialog/cuihyperdlg.hxx
index 39a1c6bc36..fcd733aca5 100644
--- a/svx/source/dialog/cuihyperdlg.hxx
+++ b/svx/source/dialog/cuihyperdlg.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cuihyperdlg.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -107,7 +107,7 @@ public:
USHORT SetPage( SvxHyperlinkItem* pItem );
void EnableInetBrowse( sal_Bool bEnable = sal_True );
void SetReadOnlyMode( sal_Bool bReadOnly = sal_False );
- inline const BOOL IsHTMLDoc() const { return mbIsHTMLDoc; }
+ inline BOOL IsHTMLDoc() const { return mbIsHTMLDoc; }
inline SfxBindings* GetBindings() const { return mpBindings; };
inline SfxDispatcher* GetDispatcher() const { return mpBindings->GetDispatcher(); }
diff --git a/svx/source/dialog/hangulhanja.cxx b/svx/source/dialog/hangulhanja.cxx
index d0b4796fdb..c66d42f033 100644
--- a/svx/source/dialog/hangulhanja.cxx
+++ b/svx/source/dialog/hangulhanja.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hangulhanja.cxx,v $
- * $Revision: 1.20 $
+ * $Revision: 1.20.102.1 $
*
* This file is part of OpenOffice.org.
*
@@ -317,7 +317,9 @@ namespace svx
m_nSourceLang == LANGUAGE_CHINESE_SIMPLIFIED && m_nTargetLang == LANGUAGE_CHINESE_TRADITIONAL)
m_eConvType = HHC::eConvSimplifiedTraditional;
else
+ {
DBG_ERROR( "failed to determine conversion type from languages" );
+ }
// set remaining conversion parameters to their default values
m_nConvOptions = _nOptions;
diff --git a/svx/source/dialog/hlmarkwn.cxx b/svx/source/dialog/hlmarkwn.cxx
index 3ece0ee8d5..e65fbb228d 100644
--- a/svx/source/dialog/hlmarkwn.cxx
+++ b/svx/source/dialog/hlmarkwn.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hlmarkwn.cxx,v $
- * $Revision: 1.19 $
+ * $Revision: 1.19.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -186,7 +186,7 @@ USHORT SvxHlinkDlgMarkWnd::SetError( USHORT nError)
|*
|************************************************************************/
-const BOOL SvxHlinkDlgMarkWnd::MoveTo ( Point aNewPos )
+BOOL SvxHlinkDlgMarkWnd::MoveTo ( Point aNewPos )
{
if ( !mbUserMoved )
{
@@ -206,7 +206,7 @@ void SvxHlinkDlgMarkWnd::Move ()
mbUserMoved = TRUE;
}
-const BOOL SvxHlinkDlgMarkWnd::ConnectToDialog( BOOL bDoit )
+BOOL SvxHlinkDlgMarkWnd::ConnectToDialog( BOOL bDoit )
{
BOOL bOldStatus = mbUserMoved;
diff --git a/svx/source/dialog/hltpbase.cxx b/svx/source/dialog/hltpbase.cxx
index 32ee609f7d..e17a4eae4f 100644
--- a/svx/source/dialog/hltpbase.cxx
+++ b/svx/source/dialog/hltpbase.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hltpbase.cxx,v $
- * $Revision: 1.37 $
+ * $Revision: 1.37.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -539,7 +539,7 @@ void SvxHyperlinkTabPageBase::SetInitFocus()
|*
|************************************************************************/
-const BOOL SvxHyperlinkTabPageBase::IsHTMLDoc() const
+BOOL SvxHyperlinkTabPageBase::IsHTMLDoc() const
{
return ((SvxHpLinkDlg*)mpDialog)->IsHTMLDoc();
}
diff --git a/svx/source/dialog/hltpbase.hxx b/svx/source/dialog/hltpbase.hxx
index 6b09deb911..6702f9985d 100644
--- a/svx/source/dialog/hltpbase.hxx
+++ b/svx/source/dialog/hltpbase.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hltpbase.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -212,7 +212,7 @@ protected:
USHORT GetMacroEvents();
SvxMacroTableDtor* GetMacroTable();
- const BOOL IsHTMLDoc() const;
+ BOOL IsHTMLDoc() const;
};
#endif // _SVX_TABBASE_HYPERLINK_HXX
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 6aea709563..5202efc024 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -2719,7 +2719,7 @@ void SvxRuler::PrepareProportional_Impl(RulerType eType)
const USHORT nIdx = GetDragAryPos()+TAB_GAP;
pRuler_Imp->nTotalDist -= pTabs[nIdx].nPos;
pRuler_Imp->SetPercSize(nTabCount);
- for(USHORT n=0;n<=nIdx;pRuler_Imp->pPercBuf[n++]=0);
+ for(USHORT n=0;n<=nIdx;pRuler_Imp->pPercBuf[n++]=0) ;
for(USHORT i = nIdx+1; i < nTabCount; ++i)
{
const long nDelta = pTabs[i].nPos - pTabs[nIdx].nPos;
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index f119fb0fc6..d10eb15a23 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: filtnav.cxx,v $
- * $Revision: 1.48 $
+ * $Revision: 1.48.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -1535,7 +1535,7 @@ void FmFilterNavigator::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
}
//------------------------------------------------------------------------
-SvLBoxEntry* FmFilterNavigator::FindEntry(FmFilterData* pItem)
+SvLBoxEntry* FmFilterNavigator::FindEntry(const FmFilterData* pItem) const
{
SvLBoxEntry* pEntry = NULL;
if (pItem)
@@ -1553,7 +1553,7 @@ SvLBoxEntry* FmFilterNavigator::FindEntry(FmFilterData* pItem)
//------------------------------------------------------------------------
void FmFilterNavigator::Insert(FmFilterData* pItem, sal_Int32 nPos)
{
- FmParentData* pParent = pItem->GetParent() ? pItem->GetParent() : GetFilterModel();
+ const FmParentData* pParent = pItem->GetParent() ? pItem->GetParent() : GetFilterModel();
// insert the item
SvLBoxEntry* pParentEntry = FindEntry(pParent);
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx
index cb29ae2312..13998e3beb 100644
--- a/svx/source/inc/filtnav.hxx
+++ b/svx/source/inc/filtnav.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: filtnav.hxx,v $
- * $Revision: 1.19 $
+ * $Revision: 1.19.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -273,7 +273,7 @@ public:
virtual ~FmFilterNavigator();
void UpdateContent(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & xControllers, const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormController > & xCurrent);
- FmFilterModel* const GetFilterModel() const {return m_pModel;}
+ const FmFilterModel* GetFilterModel() const {return m_pModel;}
protected:
using Control::Notify;
@@ -292,7 +292,7 @@ protected:
void DeleteSelection();
void Clear();
- SvLBoxEntry* FindEntry(FmFilterData* pItem);
+ SvLBoxEntry* FindEntry(const FmFilterData* pItem) const;
void Insert(FmFilterData* pItem, sal_Int32 nPos);
void Remove(FmFilterData* pItem);
diff --git a/svx/source/inc/hlmarkwn.hxx b/svx/source/inc/hlmarkwn.hxx
index d02ef3cc3d..1f861c6781 100644
--- a/svx/source/inc/hlmarkwn.hxx
+++ b/svx/source/inc/hlmarkwn.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hlmarkwn.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.7.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -101,11 +101,11 @@ public:
SvxHlinkDlgMarkWnd (SvxHyperlinkTabPageBase *pParent);
~SvxHlinkDlgMarkWnd();
- const BOOL MoveTo ( Point aNewPos );
+ BOOL MoveTo ( Point aNewPos );
void RefreshTree ( String aStrURL );
void SelectEntry ( String aStrMark );
- const BOOL ConnectToDialog( BOOL bDoit = TRUE );
+ BOOL ConnectToDialog( BOOL bDoit = TRUE );
USHORT SetError( USHORT nError);
};
diff --git a/svx/source/items/svxfont.cxx b/svx/source/items/svxfont.cxx
index 0a7da63464..98c911c8a8 100644
--- a/svx/source/items/svxfont.cxx
+++ b/svx/source/items/svxfont.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svxfont.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -231,8 +231,8 @@ public:
inline OutputDevice *GetOut() { return pOut; }
inline const XubString &GetTxt() const { return rTxt; }
- inline const xub_StrLen GetIdx() const { return nIdx; }
- inline const xub_StrLen GetLen() const { return nLen; }
+ xub_StrLen GetIdx() const { return nIdx; }
+ xub_StrLen GetLen() const { return nLen; }
};
void SvxDoCapitals::DoSpace( const BOOL /*bDraw*/ ) { }
diff --git a/svx/source/msfilter/escherex.cxx b/svx/source/msfilter/escherex.cxx
index b392b03912..4eeeda8171 100644
--- a/svx/source/msfilter/escherex.cxx
+++ b/svx/source/msfilter/escherex.cxx
@@ -3568,7 +3568,7 @@ EscherGraphicProvider::EscherGraphicProvider( sal_uInt32 nFlags ) :
EscherGraphicProvider::~EscherGraphicProvider()
{
- for ( UINT32 i = 0; i < mnBlibEntrys; delete mpBlibEntrys[ i++ ] );
+ for ( UINT32 i = 0; i < mnBlibEntrys; delete mpBlibEntrys[ i++ ] ) ;
delete[] mpBlibEntrys;
}
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index cbbee7dbcc..199d566005 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdoashp.cxx,v $
- * $Revision: 1.52 $
+ * $Revision: 1.51.52.2 $
*
* This file is part of OpenOffice.org.
*
@@ -420,7 +420,7 @@ const SdrObject* SdrObjCustomShape::GetSdrObjectShadowFromCustomShape() const
return mpLastShadowGeometry;
}
-const sal_Bool SdrObjCustomShape::IsTextPath() const
+sal_Bool SdrObjCustomShape::IsTextPath() const
{
const rtl::OUString sTextPath( RTL_CONSTASCII_USTRINGPARAM ( "TextPath" ) );
sal_Bool bTextPathOn = sal_False;
@@ -431,7 +431,7 @@ const sal_Bool SdrObjCustomShape::IsTextPath() const
return bTextPathOn;
}
-const sal_Bool SdrObjCustomShape::UseNoFillStyle() const
+sal_Bool SdrObjCustomShape::UseNoFillStyle() const
{
sal_Bool bRet = sal_False;
rtl::OUString sShapeType;
@@ -445,7 +445,7 @@ const sal_Bool SdrObjCustomShape::UseNoFillStyle() const
return bRet;
}
-const sal_Bool SdrObjCustomShape::IsMirroredX() const
+sal_Bool SdrObjCustomShape::IsMirroredX() const
{
sal_Bool bMirroredX = sal_False;
SdrCustomShapeGeometryItem aGeometryItem( (SdrCustomShapeGeometryItem&)GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ) );
@@ -455,7 +455,7 @@ const sal_Bool SdrObjCustomShape::IsMirroredX() const
*pAny >>= bMirroredX;
return bMirroredX;
}
-const sal_Bool SdrObjCustomShape::IsMirroredY() const
+sal_Bool SdrObjCustomShape::IsMirroredY() const
{
sal_Bool bMirroredY = sal_False;
SdrCustomShapeGeometryItem aGeometryItem( (SdrCustomShapeGeometryItem&)GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ) );
@@ -488,12 +488,12 @@ void SdrObjCustomShape::SetMirroredY( const sal_Bool bMirrorY )
SetMergedItem( aGeometryItem );
}
-const double SdrObjCustomShape::GetObjectRotation() const
+double SdrObjCustomShape::GetObjectRotation() const
{
return fObjectRotation;
}
-const double SdrObjCustomShape::GetExtraTextRotation() const
+double SdrObjCustomShape::GetExtraTextRotation() const
{
const com::sun::star::uno::Any* pAny;
SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&)GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY );
@@ -504,7 +504,7 @@ const double SdrObjCustomShape::GetExtraTextRotation() const
*pAny >>= fExtraTextRotateAngle;
return fExtraTextRotateAngle;
}
-const sal_Bool SdrObjCustomShape::GetTextBounds( Rectangle& rTextBound ) const
+sal_Bool SdrObjCustomShape::GetTextBounds( Rectangle& rTextBound ) const
{
sal_Bool bRet = sal_False;
Reference< XCustomShapeEngine > xCustomShapeEngine( GetCustomShapeEngine( this ) ); // a candidate for being cached
diff --git a/svx/source/svrtf/svxrtf.cxx b/svx/source/svrtf/svxrtf.cxx
index c22a8c5815..5bd443c418 100644
--- a/svx/source/svrtf/svxrtf.cxx
+++ b/svx/source/svrtf/svxrtf.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svxrtf.cxx,v $
- * $Revision: 1.34 $
+ * $Revision: 1.34.216.1 $
*
* This file is part of OpenOffice.org.
*
@@ -61,7 +61,7 @@ using namespace ::com::sun::star;
SV_IMPL_PTRARR( SvxRTFColorTbl, ColorPtr )
SV_IMPL_PTRARR( SvxRTFItemStackList, SvxRTFItemStackType* )
-const CharSet lcl_GetDefaultTextEncodingForRTF()
+CharSet lcl_GetDefaultTextEncodingForRTF()
{
::com::sun::star::lang::Locale aLocale;
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index f920829e03..612482ae9e 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unoprov.cxx,v $
- * $Revision: 1.72 $
+ * $Revision: 1.72.92.1 $
*
* This file is part of OpenOffice.org.
*
@@ -938,7 +938,7 @@ Svx_CompareMap(const void* pSmaller, const void* pBigger )
SvxUnoPropertyMapProvider::SvxUnoPropertyMapProvider()
{
- for(UINT16 i=0;i<SVXMAP_END;aMapArr[i++]=NULL);
+ for(UINT16 i=0;i<SVXMAP_END;aMapArr[i++]=NULL) ;
}
// ---------------------------------------------------------------------
diff --git a/xmlhelp/source/cxxhelp/inc/qe/QueryProcessor.hxx b/xmlhelp/source/cxxhelp/inc/qe/QueryProcessor.hxx
index d1213e5846..8e2ef044f7 100644
--- a/xmlhelp/source/cxxhelp/inc/qe/QueryProcessor.hxx
+++ b/xmlhelp/source/cxxhelp/inc/qe/QueryProcessor.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: QueryProcessor.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.3.26.1 $
*
* This file is part of OpenOffice.org.
*
@@ -63,7 +63,7 @@ namespace xmlsearch {
}
- const sal_Int32 getHitCount() const { return nHits_; }
+ sal_Int32 getHitCount() const { return nHits_; }
const std::vector< rtl::OUString >& getTerms() const { return terms_; }
diff --git a/xmloff/inc/xmloff/txtstyli.hxx b/xmloff/inc/xmloff/txtstyli.hxx
index 4acc0908ea..7a5af22902 100644
--- a/xmloff/inc/xmloff/txtstyli.hxx
+++ b/xmloff/inc/xmloff/txtstyli.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtstyli.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.3.102.1 $
*
* This file is part of OpenOffice.org.
*
@@ -93,7 +93,7 @@ public:
const ::rtl::OUString& GetListStyle() const { return sListStyleName; }
// --> OD 2006-10-13 #i69629#
- inline const sal_Bool IsListStyleSet() const
+ sal_Bool IsListStyleSet() const
{
return mbListStyleSet;
}
diff --git a/xmloff/inc/xmloff/xmlexp.hxx b/xmloff/inc/xmloff/xmlexp.hxx
index c1b0a6439b..e9c07993c8 100644
--- a/xmloff/inc/xmloff/xmlexp.hxx
+++ b/xmloff/inc/xmloff/xmlexp.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlexp.hxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.48.1 $
*
* This file is part of OpenOffice.org.
*
@@ -551,14 +551,14 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getServiceFactory();
// --> OD 2006-03-10 #i51726#
- inline const SvtModuleOptions::EFactory GetModelType() const
+ SvtModuleOptions::EFactory GetModelType() const
{
return meModelType;
}
// <--
// --> OD 2006-09-27 #i69627#
- const sal_Bool writeOutlineStyleAsNormalListStyle() const;
+ sal_Bool writeOutlineStyleAsNormalListStyle() const;
// <--
bool isExperimentalOdfExportEnabled() const { return mbEnableExperimentalOdfExport; }
diff --git a/xmloff/inc/xmloff/xmlprmap.hxx b/xmloff/inc/xmloff/xmlprmap.hxx
index 8b7d52781c..4e443de5a1 100644
--- a/xmloff/inc/xmloff/xmlprmap.hxx
+++ b/xmloff/inc/xmloff/xmlprmap.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlprmap.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -99,17 +99,17 @@ public:
void AddMapperEntry( const UniReference < XMLPropertySetMapper >& rMapper );
/** Return number of entries in input-array */
- const sal_Int32 GetEntryCount() const { return aMapEntries.size(); }
+ sal_Int32 GetEntryCount() const { return aMapEntries.size(); }
/** Returns the flags of an entry */
- const sal_uInt32 GetEntryFlags( sal_Int32 nIndex ) const
+ sal_uInt32 GetEntryFlags( sal_Int32 nIndex ) const
{
DBG_ASSERT( (nIndex >= 0) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
return aMapEntries[nIndex].nType & ~MID_FLAG_MASK;
}
/** Returns the type of an entry */
- const sal_uInt32 GetEntryType( sal_Int32 nIndex,
+ sal_uInt32 GetEntryType( sal_Int32 nIndex,
sal_Bool bWithFlags = sal_True ) const
{
DBG_ASSERT( (nIndex >= 0) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
@@ -120,7 +120,7 @@ public:
}
/** Returns the namespace-key of an entry */
- const sal_uInt16 GetEntryNameSpace( sal_Int32 nIndex ) const
+ sal_uInt16 GetEntryNameSpace( sal_Int32 nIndex ) const
{
DBG_ASSERT( (nIndex >= 0) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
return aMapEntries[nIndex].nXMLNameSpace;
@@ -141,14 +141,14 @@ public:
}
/** returns the entry context id. -1 is a valid index here. */
- const sal_Int16 GetEntryContextId( sal_Int32 nIndex ) const
+ sal_Int16 GetEntryContextId( sal_Int32 nIndex ) const
{
DBG_ASSERT( (nIndex >= -1) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
return nIndex == -1 ? 0 : aMapEntries[nIndex].nContextId;
}
/** returns the earliest odf version for which this property should be exported. */
- const SvtSaveOptions::ODFDefaultVersion GetEarliestODFVersionForExport( sal_Int32 nIndex ) const
+ SvtSaveOptions::ODFDefaultVersion GetEarliestODFVersionForExport( sal_Int32 nIndex ) const
{
DBG_ASSERT( (nIndex >= -1) && (nIndex < (sal_Int32)aMapEntries.size() ), "illegal access to invalid entry!" );
return nIndex == -1 ? SvtSaveOptions::ODFVER_UNKNOWN : aMapEntries[nIndex].nEarliestODFVersionForExport;
@@ -156,7 +156,7 @@ public:
/** Returns the index of an entry with the given XML-name and namespace
If there is no matching entry the method returns -1 */
- const sal_Int32 GetEntryIndex( sal_uInt16 nNamespace,
+ sal_Int32 GetEntryIndex( sal_uInt16 nNamespace,
const ::rtl::OUString& rStrName,
sal_uInt32 nPropType,
sal_Int32 nStartAt = -1 ) const;
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 419633d010..f91e7005e8 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -2279,7 +2279,7 @@ void SvXMLExport::DisposingModel()
}
// --> OD 2006-09-27 #i69627#
-const sal_Bool SvXMLExport::writeOutlineStyleAsNormalListStyle() const
+sal_Bool SvXMLExport::writeOutlineStyleAsNormalListStyle() const
{
return mpImpl->mbOutlineStyleAsNormalListStyle;
}
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 7542370e63..309d177319 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: layerexport.cxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.36.102.1 $
*
* This file is part of OpenOffice.org.
*
@@ -512,7 +512,7 @@ namespace xmloff
{
struct AccumulateSize : public ::std::binary_function< size_t, MapPropertySet2Map::value_type, size_t >
{
- const size_t operator()( size_t _size, const MapPropertySet2Map::value_type& _map )
+ size_t operator()( size_t _size, const MapPropertySet2Map::value_type& _map ) const
{
return _size + _map.second.size();
}
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index bb74941db5..448c1f3a5e 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlprmap.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.74.1 $
*
* This file is part of OpenOffice.org.
*
@@ -170,7 +170,7 @@ sal_Bool XMLPropertySetMapper::importXML(
// the index of the entry
// If there is no matching entry the method returns -1
//
-const sal_Int32 XMLPropertySetMapper::GetEntryIndex(
+sal_Int32 XMLPropertySetMapper::GetEntryIndex(
sal_uInt16 nNamespace,
const OUString& rStrName,
sal_uInt32 nPropType,
diff --git a/xmloff/source/text/XMLTextNumRuleInfo.hxx b/xmloff/source/text/XMLTextNumRuleInfo.hxx
index dd9bb69fac..45103e426f 100644
--- a/xmloff/source/text/XMLTextNumRuleInfo.hxx
+++ b/xmloff/source/text/XMLTextNumRuleInfo.hxx
@@ -8,9 +8,9 @@
*
* $RCSfile: XMLTextNumRuleInfo.hxx,v $
<<<<<<< XMLTextNumRuleInfo.hxx
- * $Revision: 1.10 $
+ * $Revision: 1.10.64.1 $
=======
- * $Revision: 1.10 $
+ * $Revision: 1.10.64.1 $
>>>>>>> 1.6.266.4
*
* This file is part of OpenOffice.org.
@@ -106,7 +106,7 @@ public:
{
return mxNumRules;
}
- inline const sal_Int16 GetListLevelStartValue() const
+ inline sal_Int16 GetListLevelStartValue() const
{
return mnListLevelStartValue;
}
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 3031b05980..56de401f0b 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtflde.cxx,v $
- * $Revision: 1.84 $
+ * $Revision: 1.84.102.1 $
*
* This file is part of OpenOffice.org.
*
@@ -235,21 +235,21 @@ SvXMLEnumStringMapEntry __READONLY_DATA aFieldServiceNameMapping[] =
// property accessor helper functions
-inline sal_Bool const GetBoolProperty(const OUString&,
+inline sal_Bool GetBoolProperty(const OUString&,
const Reference<XPropertySet> &);
-inline sal_Bool const GetOptionalBoolProperty(const OUString&,
+inline sal_Bool GetOptionalBoolProperty(const OUString&,
const Reference<XPropertySet> &,
const Reference<XPropertySetInfo> &,
sal_Bool bDefault);
-inline double const GetDoubleProperty(const OUString&,
+inline double GetDoubleProperty(const OUString&,
const Reference<XPropertySet> &);
inline OUString const GetStringProperty(const OUString&,
const Reference<XPropertySet> &);
-inline sal_Int32 const GetIntProperty(const OUString&,
+inline sal_Int32 GetIntProperty(const OUString&,
const Reference<XPropertySet> &);
-inline sal_Int16 const GetInt16Property(const OUString&,
+inline sal_Int16 GetInt16Property(const OUString&,
const Reference<XPropertySet> &);
-inline sal_Int8 const GetInt8Property(const OUString&,
+inline sal_Int8 GetInt8Property(const OUString&,
const Reference<XPropertySet> &);
inline DateTime const GetDateTimeProperty( const OUString& sPropName,
const Reference<XPropertySet> & xPropSet);
@@ -3430,7 +3430,7 @@ OUString XMLTextFieldExport::MakeSequenceRefName(
//
-inline sal_Bool const GetBoolProperty(
+inline sal_Bool GetBoolProperty(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet)
{
@@ -3439,7 +3439,7 @@ inline sal_Bool const GetBoolProperty(
return bBool;
}
-inline sal_Bool const GetOptionalBoolProperty(
+inline sal_Bool GetOptionalBoolProperty(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet,
const Reference<XPropertySetInfo> & xPropSetInfo,
@@ -3449,7 +3449,7 @@ inline sal_Bool const GetOptionalBoolProperty(
? GetBoolProperty( sPropName, xPropSet ) : bDefault;
}
-inline double const GetDoubleProperty(
+inline double GetDoubleProperty(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet)
{
@@ -3469,7 +3469,7 @@ inline OUString const GetStringProperty(
return sString;
}
-inline sal_Int32 const GetIntProperty(
+inline sal_Int32 GetIntProperty(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet)
{
@@ -3479,7 +3479,7 @@ inline sal_Int32 const GetIntProperty(
return nInt;
}
-inline sal_Int16 const GetInt16Property(
+inline sal_Int16 GetInt16Property(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet)
{
@@ -3489,7 +3489,7 @@ inline sal_Int16 const GetInt16Property(
return nInt;
}
-inline sal_Int8 const GetInt8Property(
+inline sal_Int8 GetInt8Property(
const OUString& sPropName,
const Reference<XPropertySet> & xPropSet)
{