Clean up function declarations and some unused functions

Change-Id: I80d15f503bb5714340c051cc1c4890a445e44d56
This commit is contained in:
Stephan Bergmann
2014-04-13 23:50:17 +02:00
parent a6611be6bc
commit 8a3eeff238
6 changed files with 3 additions and 43 deletions

View File

@ -22,6 +22,7 @@
#include "contentsink.hxx"
#include "pdfparse.hxx"
#include "pdfihelper.hxx"
#include "wrapper.hxx"
#include "osl/file.h"
#include "osl/file.hxx"

View File

@ -370,21 +370,11 @@ void writeImage_( OutputBuffer& o_rOutputBuf,
// forwarders
inline void writeImage( OutputBuffer& o_rOutputBuf,
Stream* str,
int width,
int height,
GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,false); }
inline void writeImageLF( OutputBuffer& o_rOutputBuf,
Stream* str,
int width,
int height,
GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,true); }
inline void writeMask( OutputBuffer& o_rOutputBuf,
Stream* str,
int width,
int height,
bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,false,bInvert); }
inline void writeMaskLF( OutputBuffer& o_rOutputBuf,
Stream* str,
int width,

View File

@ -81,8 +81,6 @@ public:
virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
void NotifyCurrentSlideChange (const sal_Int32 nCurrentSlideIndex);
void AddChild (const ::rtl::Reference<AccessibleObject>& rpChild);
void RemoveChild (const ::rtl::Reference<AccessibleObject>& rpChild);

View File

@ -34,6 +34,7 @@
#include <algorithm>
#include <vector>
#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@ -95,10 +96,9 @@ namespace {
const sal_Int32 nMaximalWidth);
};
class Block
class Block: private boost::noncopyable
{
public:
Block (const Block& rBlock);
Block (
const OUString& rsLeftText,
const OUString& rsRightText,

View File

@ -50,8 +50,6 @@ namespace {
{
public:
BorderSize (void);
BorderSize (const BorderSize& rBorderSize);
BorderSize& operator= (const BorderSize& rBoderSize);
sal_Int32 mnLeft;
sal_Int32 mnTop;
sal_Int32 mnRight;
@ -793,26 +791,6 @@ BorderSize::BorderSize (void)
{
}
BorderSize::BorderSize (const BorderSize& rBorderSize)
: mnLeft(rBorderSize.mnLeft),
mnTop(rBorderSize.mnTop),
mnRight(rBorderSize.mnRight),
mnBottom(rBorderSize.mnBottom)
{
}
BorderSize& BorderSize::operator= (const BorderSize& rBorderSize)
{
if (&rBorderSize != this)
{
mnLeft = rBorderSize.mnLeft;
mnTop = rBorderSize.mnTop;
mnRight = rBorderSize.mnRight;
mnBottom = rBorderSize.mnBottom;
}
return *this;
}
//===== RendererPaneStyle ============================================================
RendererPaneStyle::RendererPaneStyle (

View File

@ -67,7 +67,6 @@ namespace {
{
public:
Text (void);
Text (const Text& rText);
Text (
const OUString& rsText,
const PresenterTheme::SharedFontDescriptor& rpFont);
@ -1698,12 +1697,6 @@ Text::Text (void)
{
}
Text::Text (const Text& rText)
: msText(rText.msText),
mpFont(rText.mpFont)
{
}
Text::Text (
const OUString& rsText,
const PresenterTheme::SharedFontDescriptor& rpFont)