summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx3
-rw-r--r--reportdesign/source/core/inc/core_resource.hxx4
-rw-r--r--reportdesign/source/filter/xml/xmlExport.hxx3
-rw-r--r--reportdesign/source/ui/inc/ColorChanger.hxx14
-rw-r--r--reportdesign/source/ui/inc/ViewsWindow.hxx29
-rw-r--r--reportdesign/source/ui/inc/metadata.hxx3
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/inc/rscdef.hxx2
-rw-r--r--rsc/inc/rsctree.hxx1
-rw-r--r--rsc/source/parser/rscdb.cxx41
-rw-r--r--rsc/source/tools/rscdef.cxx12
11 files changed, 3 insertions, 110 deletions
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index 18112625fd46..2beb8f5eccb7 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -37,9 +37,6 @@ public:
, mnEnd ( rBuffer.getLength() )
{
}
- MemoryByteGrabber()
- {
- }
const sal_Int8 * getCurrentPos () { return mpBuffer + mnCurrent; }
// XInputStream chained
diff --git a/reportdesign/source/core/inc/core_resource.hxx b/reportdesign/source/core/inc/core_resource.hxx
index 2652e61f8a0f..9285508dd044 100644
--- a/reportdesign/source/core/inc/core_resource.hxx
+++ b/reportdesign/source/core/inc/core_resource.hxx
@@ -38,10 +38,8 @@ namespace reportdesign
{
static SimpleResMgr* m_pImpl;
- private:
// no instantiation allowed
- ResourceManager() { }
- ~ResourceManager() { }
+ ResourceManager() = delete;
// we'll instantiate one static member of the following class, which, in its dtor,
// ensures that m_pImpl will be deleted
diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx
index d8854166e4b8..d597b620f6fb 100644
--- a/reportdesign/source/filter/xml/xmlExport.hxx
+++ b/reportdesign/source/filter/xml/xmlExport.hxx
@@ -140,9 +140,8 @@ private:
static OUString implConvertNumber(sal_Int32 _nValue);
-private:
- ORptExport();
virtual void SetBodyAttributes() override;
+
protected:
virtual void ExportStyles_( bool bUsed ) override;
diff --git a/reportdesign/source/ui/inc/ColorChanger.hxx b/reportdesign/source/ui/inc/ColorChanger.hxx
index 247863a03211..06ecf7cd7bae 100644
--- a/reportdesign/source/ui/inc/ColorChanger.hxx
+++ b/reportdesign/source/ui/inc/ColorChanger.hxx
@@ -30,12 +30,6 @@ namespace rptui
VclPtr<OutputDevice> m_pDev;
public:
- ColorChanger( OutputDevice* _pDev, const Color& _rNewLineColor)
- :m_pDev( _pDev )
- {
- m_pDev->Push( PushFlags::LINECOLOR );
- m_pDev->SetLineColor( _rNewLineColor );
- }
ColorChanger( OutputDevice* _pDev, const Color& _rNewLineColor, const Color& _rNewFillColor )
:m_pDev( _pDev )
{
@@ -43,14 +37,6 @@ namespace rptui
m_pDev->SetLineColor( _rNewLineColor );
m_pDev->SetFillColor( _rNewFillColor );
}
- ColorChanger( OutputDevice* _pDev, const Color& _rNewLineColor, const Color& _rNewFillColor, const Color& _rNewTextColor )
- :m_pDev( _pDev )
- {
- m_pDev->Push( PushFlags::LINECOLOR | PushFlags::FILLCOLOR | PushFlags::TEXTCOLOR);
- m_pDev->SetLineColor( _rNewLineColor );
- m_pDev->SetFillColor( _rNewFillColor );
- m_pDev->SetTextColor( _rNewTextColor );
- }
~ColorChanger()
{
diff --git a/reportdesign/source/ui/inc/ViewsWindow.hxx b/reportdesign/source/ui/inc/ViewsWindow.hxx
index d97a5be109d3..8ac2f0313430 100644
--- a/reportdesign/source/ui/inc/ViewsWindow.hxx
+++ b/reportdesign/source/ui/inc/ViewsWindow.hxx
@@ -71,35 +71,6 @@ namespace rptui
}
};
- class OWindowPositionCorrector
- {
- ::std::vector< ::std::pair<VclPtr<vcl::Window>,Point> > m_aChildren;
- long m_nDeltaX;
- long m_nDeltaY;
- public:
- OWindowPositionCorrector(vcl::Window* _pWindow,long _nDeltaX, long _nDeltaY) :m_nDeltaX(_nDeltaX), m_nDeltaY(_nDeltaY)
- {
- sal_uInt16 nCount = _pWindow->GetChildCount();
- m_aChildren.reserve(nCount);
- while( nCount )
- {
- vcl::Window* pChild = _pWindow->GetChild(--nCount);
- m_aChildren.push_back(::std::pair<vcl::Window*,Point>(pChild,pChild->GetPosPixel()));
- }
- }
- ~OWindowPositionCorrector()
- {
- auto aIter = m_aChildren.begin();
- auto aEnd = m_aChildren.end();
- for (; aIter != aEnd; ++aIter)
- {
- const Point aPos = aIter->first->GetPosPixel();
- if ( aPos == aIter->second )
- aIter->first->SetPosPixel(Point(m_nDeltaX,m_nDeltaY) + aPos);
- }
- }
- };
-
class OViewsWindow : public vcl::Window
, public utl::ConfigurationListener
, public IMarkedSection
diff --git a/reportdesign/source/ui/inc/metadata.hxx b/reportdesign/source/ui/inc/metadata.hxx
index 3f980ab74e85..ab1c7dc9e4ae 100644
--- a/reportdesign/source/ui/inc/metadata.hxx
+++ b/reportdesign/source/ui/inc/metadata.hxx
@@ -39,14 +39,13 @@ namespace rptui
{
OPropertyInfoService(const OPropertyInfoService&) = delete;
void operator =(const OPropertyInfoService&) = delete;
+ OPropertyInfoService() = delete;
protected:
static sal_uInt16 s_nCount;
static OPropertyInfoImpl* s_pPropertyInfos;
// TODO: a real structure which allows quick access by name as well as by id
public:
- OPropertyInfoService(){}
- virtual ~OPropertyInfoService(){}
// IPropertyInfoService
static sal_Int32 getPropertyId(const OUString& _rName);
static OUString getPropertyTranslation(sal_Int32 _nId);
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index a1dc47a3997c..ba229faf55d4 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -223,7 +223,6 @@ class RscTypCont
void InsWinBit( RscTop * pClass, const OString& rName,
Atom nVal );
- void WriteInc( FILE * fOutput, RscFileTab::Index lKey );
public:
RscBool aBool;
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index d2194f040e21..c9ef7f40f4c0 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -169,8 +169,6 @@ private:
return i;
return size_t(-1);
}
-public:
- void WriteAll( FILE * fOutput );
};
/*********** R s c E x p r e s s i o n ***********************************/
diff --git a/rsc/inc/rsctree.hxx b/rsc/inc/rsctree.hxx
index b5691980db94..62db17b38296 100644
--- a/rsc/inc/rsctree.hxx
+++ b/rsc/inc/rsctree.hxx
@@ -82,7 +82,6 @@ protected:
OString m_aName;
public:
- StringNode() {}
StringNode(const OString& rStr) { m_aName = rStr; }
StringNode* Search( const char * ) const;
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 877e22605b63..1d695fb7f54b 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -287,47 +287,6 @@ sal_uInt32 RscTypCont::PutSysName( sal_uInt32 nRscTyp, char * pFileName )
return pSysEntry->nKey;
}
-void RscTypCont::WriteInc( FILE * fOutput, RscFileTab::Index lFileKey )
-{
-
- if( lFileKey == RscFileTab::IndexNotFound )
- {
- RscFileTab::Index aIndex = aFileTab.FirstIndex();
- while( aIndex != RscFileTab::IndexNotFound )
- {
- RscFile * pFName = aFileTab.Get( aIndex );
- if( pFName->IsIncFile() )
- {
- fprintf( fOutput, "#include " );
- fprintf( fOutput, "\"%s\"\n",
- pFName->aFileName.getStr() );
- }
- aIndex = aFileTab.NextIndex( aIndex );
- }
- }
- else
- {
- RscFile * pFName = aFileTab.Get( lFileKey );
- if( pFName )
- {
- for ( size_t i = 0, n = pFName->aDepLst.size(); i < n; ++i )
- {
- RscDepend* pDep = pFName->aDepLst[ i ];
- if( pDep->GetFileKey() != lFileKey )
- {
- RscFile* pFile = aFileTab.GetFile( pDep->GetFileKey() );
- if( pFile )
- {
- fprintf( fOutput, "#include " );
- fprintf( fOutput, "\"%s\"\n",
- pFile->aFileName.getStr() );
- }
- }
- }
- }
- }
-}
-
class RscEnumerateObj
{
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index b632009afadb..820c3f0688f9 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -231,18 +231,6 @@ bool RscDefineList::Remove()
return true;
}
-void RscDefineList::WriteAll( FILE * fOutput )
-{
- for ( size_t i = 0, n = maList.size(); i < n; ++i )
- {
- RscDefine* pDefEle = maList[ i ];
- fprintf( fOutput, "#define %s %s\n",
- pDefEle->GetName().getStr(),
- pDefEle->GetMacro().getStr()
- );
- }
-}
-
bool RscExpType::Evaluate( sal_Int32 * plValue ) const
{
if( IsDefinition() )