Kaydet (Commit) 0d43b791 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedmethods

Change-Id: I4f2635d468c9ad83b3ac93733529e01a4d03f38e
Reviewed-on: https://gerrit.libreoffice.org/64805
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 145280ff
basctl/source/inc/bastype2.hxx:309
basctl/source/inc/bastype2.hxx:308
_Bool basctl::SbTreeListBox::get_selected(class weld::TreeIter *) const
connectivity/source/inc/java/lang/Object.hxx:117
int connectivity::java_lang_Object::callIntMethodWithIntArg_ThrowRuntime(const char *,struct _jmethodID *&,int) const
......@@ -64,11 +64,13 @@ include/LibreOfficeKit/LibreOfficeKit.hxx:605
_Bool lok::Document::addCertificate(const unsigned char *,const int)
include/LibreOfficeKit/LibreOfficeKit.hxx:617
int lok::Document::getSignatureState()
include/LibreOfficeKit/LibreOfficeKit.hxx:712
include/LibreOfficeKit/LibreOfficeKit.hxx:627
unsigned long lok::Document::renderShapeSelection(char **)
include/LibreOfficeKit/LibreOfficeKit.hxx:722
char * lok::Office::getFilterTypes()
include/LibreOfficeKit/LibreOfficeKit.hxx:766
include/LibreOfficeKit/LibreOfficeKit.hxx:776
char * lok::Office::getVersionInfo()
include/LibreOfficeKit/LibreOfficeKit.hxx:780
include/LibreOfficeKit/LibreOfficeKit.hxx:790
_Bool lok::Office::runMacro(const char *)
include/oox/crypto/AgileEngine.hxx:121
_Bool oox::core::AgileEngine::decryptHmacKey()
......@@ -192,21 +194,21 @@ include/vcl/fontcharmap.hxx:49
class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool)
include/vcl/gdimtf.hxx:185
class SvStream & GDIMetaFile::Read(class SvStream &)
include/vcl/graphicfilter.hxx:261
include/vcl/graphicfilter.hxx:260
class ErrCode GraphicFilter::ExportGraphic(const class Graphic &,const class INetURLObject &,unsigned short,const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> *)
include/vcl/GraphicNativeTransform.hxx:32
_Bool GraphicNativeTransform::rotateBitmapOnly(unsigned short)
include/vcl/menu.hxx:389
include/vcl/menu.hxx:388
_Bool Menu::HandleMenuActivateEvent(class Menu *) const
include/vcl/menu.hxx:390
include/vcl/menu.hxx:389
_Bool Menu::HandleMenuDeActivateEvent(class Menu *) const
include/vcl/texteng.hxx:280
_Bool TextEngine::Read(class SvStream &,const class TextSelection *)
include/vcl/toolbox.hxx:514
include/vcl/toolbox.hxx:513
_Bool ToolBox::ChangeHighlightUpDn(_Bool)
include/vcl/weld.hxx:357
include/vcl/weld.hxx:377
_Bool weld::ComboBox::get_entry_selection_bounds(int &,int &)
include/vcl/weld.hxx:1124
include/vcl/weld.hxx:1154
_Bool weld::TextView::get_selection_bounds(int &,int &)
lotuswordpro/inc/lwpsvstream.hxx:76
class LwpSvStream & LwpSvStream::ReadUInt8(unsigned char &)
......@@ -218,9 +220,9 @@ sc/inc/document.hxx:2108
const struct ScDocumentThreadSpecific & ScDocument::CalculateInColumnInThread(struct ScInterpreterContext &,const class ScAddress &,unsigned long,unsigned int,unsigned int)
sc/inc/orcusfilters.hxx:44
_Bool ScOrcusFilters::importODS_Styles(class ScDocument &,class rtl::OUString &) const
sc/source/core/opencl/formulagroupcl.cxx:997
sc/source/core/opencl/formulagroupcl.cxx:1084
unsigned long sc::opencl::DynamicKernelSlidingArgument::GenReductionLoopHeader(class std::__cxx11::basic_stringstream<char> &,_Bool &)
sc/source/core/opencl/formulagroupcl.cxx:1237
sc/source/core/opencl/formulagroupcl.cxx:1529
unsigned long sc::opencl::ParallelReductionVectorRef::GenReductionLoopHeader(class std::__cxx11::basic_stringstream<char> &,int,_Bool &)
sc/source/filter/inc/workbookhelper.hxx:259
_Bool oox::xls::WorkbookHelper::importOoxFragment(const class rtl::Reference<class oox::core::FragmentHandler> &,class oox::core::FastParser &)
......@@ -232,37 +234,37 @@ sc/source/ui/inc/drawview.hxx:164
_Bool ScDrawView::calculateGridOffsetForB2DRange(const class basegfx::B2DRange &,class basegfx::B2DVector &) const
sc/source/ui/inc/select.hxx:72
_Bool ScViewFunctionSet::SetCursorAtCell(short,int,_Bool)
sc/source/ui/vba/vbaformat.hxx:69
sc/source/ui/vba/vbaformat.hxx:70
class com::sun::star::uno::Any ScVbaFormat::getAddIndent()
sc/source/ui/vba/vbaformat.hxx:73
sc/source/ui/vba/vbaformat.hxx:74
class com::sun::star::uno::Any ScVbaFormat::Borders(const class com::sun::star::uno::Any &)
sc/source/ui/vba/vbaformat.hxx:76
sc/source/ui/vba/vbaformat.hxx:77
class com::sun::star::uno::Reference<class ooo::vba::excel::XFont> ScVbaFormat::Font()
sc/source/ui/vba/vbaformat.hxx:79
sc/source/ui/vba/vbaformat.hxx:80
class com::sun::star::uno::Reference<class ooo::vba::excel::XInterior> ScVbaFormat::Interior()
sc/source/ui/vba/vbaformat.hxx:85
sc/source/ui/vba/vbaformat.hxx:86
class com::sun::star::uno::Any ScVbaFormat::getNumberFormat()
sc/source/ui/vba/vbaformat.hxx:91
sc/source/ui/vba/vbaformat.hxx:92
class com::sun::star::uno::Any ScVbaFormat::getNumberFormatLocal()
sc/source/ui/vba/vbaformat.hxx:97
sc/source/ui/vba/vbaformat.hxx:98
class com::sun::star::uno::Any ScVbaFormat::getIndentLevel()
sc/source/ui/vba/vbaformat.hxx:103
sc/source/ui/vba/vbaformat.hxx:104
class com::sun::star::uno::Any ScVbaFormat::getHorizontalAlignment()
sc/source/ui/vba/vbaformat.hxx:109
sc/source/ui/vba/vbaformat.hxx:110
class com::sun::star::uno::Any ScVbaFormat::getVerticalAlignment()
sc/source/ui/vba/vbaformat.hxx:115
sc/source/ui/vba/vbaformat.hxx:116
class com::sun::star::uno::Any ScVbaFormat::getOrientation()
sc/source/ui/vba/vbaformat.hxx:121
sc/source/ui/vba/vbaformat.hxx:122
class com::sun::star::uno::Any ScVbaFormat::getShrinkToFit()
sc/source/ui/vba/vbaformat.hxx:127
sc/source/ui/vba/vbaformat.hxx:128
class com::sun::star::uno::Any ScVbaFormat::getWrapText()
sc/source/ui/vba/vbaformat.hxx:133
sc/source/ui/vba/vbaformat.hxx:134
class com::sun::star::uno::Any ScVbaFormat::getLocked()
sc/source/ui/vba/vbaformat.hxx:139
sc/source/ui/vba/vbaformat.hxx:140
class com::sun::star::uno::Any ScVbaFormat::getFormulaHidden()
sc/source/ui/vba/vbaformat.hxx:145
sc/source/ui/vba/vbaformat.hxx:146
class com::sun::star::uno::Any ScVbaFormat::getMergeCells()
sc/source/ui/vba/vbaformat.hxx:151
sc/source/ui/vba/vbaformat.hxx:152
class com::sun::star::uno::Any ScVbaFormat::getReadingOrder()
sd/source/filter/eppt/pptx-epptooxml.cxx:123
class oox::drawingml::ShapeExport & oox::core::PowerPointShapeExport::WritePageShape(const class com::sun::star::uno::Reference<class com::sun::star::drawing::XShape> &,enum PageType,_Bool)
......@@ -272,15 +274,15 @@ sd/source/ui/remotecontrol/IBluetoothSocket.hxx:37
int sd::IBluetoothSocket::write(const void *,unsigned int)
sw/inc/calc.hxx:114
class SwSbxValue & SwSbxValue::MakeDouble()
sw/inc/doc.hxx:1066
sw/inc/doc.hxx:1069
_Bool SwDoc::ReplaceNumRule(const struct SwPosition &,const class rtl::OUString &,const class rtl::OUString &)
sw/inc/doc.hxx:1227
sw/inc/doc.hxx:1230
_Bool SwDoc::SetColRowWidthHeight(class SwTableBox &,enum TableChgWidthHeightType,long,long)
sw/inc/doc.hxx:1252
sw/inc/doc.hxx:1255
_Bool SwDoc::SplitTable(const struct SwPosition &,enum SplitTable_HeadlineOption,_Bool)
sw/inc/editsh.hxx:264
_Bool SwEditShell::GetPaMParAttr(class SwPaM *,class SfxItemSet &) const
sw/inc/editsh.hxx:633
sw/inc/editsh.hxx:636
const class GraphicAttr * SwEditShell::GetGraphicAttr(class GraphicAttr &) const
sw/inc/IDocumentUndoRedo.hxx:181
_Bool IDocumentUndoRedo::Repeat(class sw::RepeatContext &,const unsigned short)
......@@ -291,7 +293,7 @@ sw/inc/tblafmt.hxx:353
sw/source/core/inc/laycache.hxx:64
_Bool SwLayoutCache::CompareLayout(const class SwDoc &) const
sw/source/core/inc/scriptinfo.hxx:227
_Bool SwScriptInfo::GetBoundsOfHiddenRange(int,int &,int &) const
_Bool SwScriptInfo::GetBoundsOfHiddenRange(struct o3tl::strong_int<int, struct Tag_TextFrameIndex>,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &,struct o3tl::strong_int<int, struct Tag_TextFrameIndex> &) const
sw/source/filter/ww8/ww8toolbar.hxx:339
_Bool Tcg::ImportCustomToolBar(class SfxObjectShell &)
sw/source/uibase/inc/fldmgr.hxx:114
......@@ -314,9 +316,9 @@ vcl/inc/opengl/texture.hxx:112
_Bool OpenGLTexture::CopyData(int,int,int,int,const unsigned char *)
vcl/inc/salframe.hxx:222
_Bool SalFrame::SetPluginParent(struct SystemParentData *)
vcl/inc/salgdi.hxx:212
vcl/inc/salgdi.hxx:213
class basegfx::B2DPoint SalGraphics::mirror(const class basegfx::B2DPoint &,const class OutputDevice *) const
vcl/inc/salgdi.hxx:395
vcl/inc/salgdi.hxx:396
_Bool SalGraphics::BlendBitmap(const struct SalTwoRect &,const class SalBitmap &,const class OutputDevice *)
vcl/inc/unx/gtk/gtkdata.hxx:164
int GtkSalDisplay::CaptureMouse(class SalFrame *)
......@@ -324,9 +326,9 @@ vcl/inc/unx/saldisp.hxx:313
_Bool SalDisplay::Dispatch(union _XEvent *)
vcl/inc/WidgetDrawInterface.hxx:97
_Bool vcl::WidgetDrawInterface::updateSettings(class AllSettings &)
vcl/source/gdi/pdfwriter_impl.hxx:1225
_Bool vcl::PDFWriterImpl::setCurrentStructureElement(int)
vcl/source/gdi/pdfwriter_impl.hxx:1226
_Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue)
_Bool vcl::PDFWriterImpl::setCurrentStructureElement(int)
vcl/source/gdi/pdfwriter_impl.hxx:1227
_Bool vcl::PDFWriterImpl::setStructureAttribute(enum vcl::PDFWriter::StructAttribute,enum vcl::PDFWriter::StructAttributeValue)
vcl/source/gdi/pdfwriter_impl.hxx:1228
_Bool vcl::PDFWriterImpl::setStructureAttributeNumerical(enum vcl::PDFWriter::StructAttribute,int)
......@@ -111,32 +111,6 @@ namespace cppcanvas
eDx = eDy = eM12 = eM21 = 0.0f;
}
void Set (const XForm& f)
{
eM11 = f.eM11;
eM12 = f.eM12;
eM21 = f.eM21;
eM22 = f.eM22;
eDx = f.eDx;
eDy = f.eDy;
}
// Multiple two square matrices
// [ eM11, eM12, eDx ] [ f.eM11, f.eM12, f.eDx ]
// [ eM21, eM22, eDy ] x [ f.eM21, f.eM22, f.eDy ]
// [ 0, 0, 1 ] [ 0, 0, 1 ]
// More information: https://en.wikipedia.org/wiki/Matrix_multiplication#Square_matrices
// FIXME We shouldn't modify source matrix during computation
void Multiply (const XForm& f)
{
eM11 = eM11*f.eM11 + eM12*f.eM21;
eM12 = eM11*f.eM12 + eM12*f.eM22;
eM21 = eM21*f.eM11 + eM22*f.eM21;
eM22 = eM21*f.eM12 + eM22*f.eM22;
eDx = eDx*f.eM11 + eDy*f.eM21 + f.eDx;
eDy = eDx*f.eM12 + eDy*f.eM22 + f.eDy;
}
friend SvStream& ReadXForm( SvStream& rIn, XForm& rXForm )
{
if ( sizeof( float ) != 4 )
......@@ -246,19 +220,12 @@ namespace cppcanvas
ActionVector::const_iterator& o_rRangeBegin,
ActionVector::const_iterator& o_rRangeEnd ) const;
void processObjectRecord(SvMemoryStream& rObjectStream, sal_uInt16 flags, sal_uInt32 dataSize, bool bUseWholeStream = false);
ActionVector maActions;
/* EMF+ */
XForm aBaseTransform;
XForm aWorldTransform;
std::unique_ptr<EMFPObject> aObjects [256];
float fPageScale;
sal_Int32 nOriginX;
sal_Int32 nOriginY;
sal_Int32 nHDPI;
sal_Int32 nVDPI;
/* EMF+ emf header info */
sal_Int32 nFrameLeft;
sal_Int32 nFrameTop;
......@@ -269,8 +236,6 @@ namespace cppcanvas
sal_Int32 nMmX;
sal_Int32 nMmY;
/* multipart object data */
bool mbMultipart;
sal_uInt16 mMFlags;
SvMemoryStream mMStream;
/* emf+ graphic state stack */
GraphicStateMap mGSStack;
......
......@@ -2852,11 +2852,6 @@ namespace cppcanvas
const Parameters& rParams )
: CanvasGraphicHelper(rCanvas)
, maActions()
, fPageScale(0.0)
, nOriginX(0)
, nOriginY(0)
, nHDPI(0)
, nVDPI(0)
, nFrameLeft(0)
, nFrameTop(0)
, nFrameRight(0)
......@@ -2865,8 +2860,6 @@ namespace cppcanvas
, nPixY(0)
, nMmX(0)
, nMmY(0)
, mbMultipart(false)
, mMFlags(0)
{
memset (aObjects, 0, sizeof (aObjects));
......
......@@ -56,33 +56,6 @@ public:
// class OfaACorrCheckListBox ------------------------------------------
class OfaACorrCheckListBox : public SvSimpleTable
{
using SvSimpleTable::SetTabs;
using SvTreeListBox::GetCheckButtonState;
using SvTreeListBox::SetCheckButtonState;
protected:
virtual void SetTabs() override;
virtual void HBarClick() override;
virtual void KeyInput( const KeyEvent& rKEvt ) override;
public:
OfaACorrCheckListBox(SvSimpleTableContainer& rParent)
: SvSimpleTable(rParent, WB_BORDER)
{
}
void *GetUserData(sal_uLong nPos) { return GetEntry(nPos)->GetUserData(); }
void SetUserData(sal_uLong nPos, void *pData ) { GetEntry(nPos)->SetUserData(pData); }
sal_uLong GetSelectedEntryPos() { return GetModel()->GetAbsPos(FirstSelected()); }
bool IsChecked(sal_uLong nPos, sal_uInt16 nCol = 0);
void CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, bool bChecked);
static SvButtonState GetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol );
void SetCheckButtonState( SvTreeListEntry*, sal_uInt16 nCol, SvButtonState );
};
// class OfaAutocorrOptionsPage ------------------------------------------
......
......@@ -654,108 +654,6 @@ IMPL_LINK_NOARG(OfaSwAutoFmtOptionsPage, EditHdl, weld::Button&, void)
}
}
void OfaACorrCheckListBox::SetTabs()
{
SvSimpleTable::SetTabs();
SvLBoxTabFlags nAdjust = SvLBoxTabFlags::ADJUST_RIGHT|SvLBoxTabFlags::ADJUST_LEFT|SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE;
if( aTabs.size() > 1 )
{
SvLBoxTab* pTab = aTabs[1].get();
pTab->nFlags &= ~nAdjust;
pTab->nFlags |= SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE;
}
if( aTabs.size() > 2 )
{
SvLBoxTab* pTab = aTabs[2].get();
pTab->nFlags &= ~nAdjust;
pTab->nFlags |= SvLBoxTabFlags::ADJUST_CENTER|SvLBoxTabFlags::FORCE;
}
}
void OfaACorrCheckListBox::CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, bool bChecked)
{
if ( nPos < GetEntryCount() )
SetCheckButtonState(
GetEntry(nPos),
nCol,
bChecked ? SvButtonState::Checked : SvButtonState::Unchecked );
}
bool OfaACorrCheckListBox::IsChecked(sal_uLong nPos, sal_uInt16 nCol)
{
return GetCheckButtonState( GetEntry(nPos), nCol ) == SvButtonState::Checked;
}
void OfaACorrCheckListBox::SetCheckButtonState( SvTreeListEntry* pEntry, sal_uInt16 nCol, SvButtonState eState)
{
SvLBoxButton& rItem = static_cast<SvLBoxButton&>(pEntry->GetItem(nCol + 1));
if (rItem.GetType() == SvLBoxItemType::Button)
{
switch( eState )
{
case SvButtonState::Checked:
rItem.SetStateChecked();
break;
case SvButtonState::Unchecked:
rItem.SetStateUnchecked();
break;
case SvButtonState::Tristate:
rItem.SetStateTristate();
break;
}
InvalidateEntry( pEntry );
}
}
SvButtonState OfaACorrCheckListBox::GetCheckButtonState( SvTreeListEntry* pEntry, sal_uInt16 nCol )
{
SvButtonState eState = SvButtonState::Unchecked;
SvLBoxButton& rItem = static_cast<SvLBoxButton&>(pEntry->GetItem(nCol + 1));
if (rItem.GetType() == SvLBoxItemType::Button)
{
SvItemStateFlags nButtonFlags = rItem.GetButtonFlags();
eState = SvLBoxButtonData::ConvertToButtonState( nButtonFlags );
}
return eState;
}
void OfaACorrCheckListBox::HBarClick()
{
// sorting is stopped by this override
}
void OfaACorrCheckListBox::KeyInput( const KeyEvent& rKEvt )
{
if(!rKEvt.GetKeyCode().GetModifier() &&
KEY_SPACE == rKEvt.GetKeyCode().GetCode())
{
sal_uLong nSelPos = GetSelectedEntryPos();
sal_uInt16 nCol = GetCurrentTabPos() - 1;
if ( nCol < 2 )
{
CheckEntryPos( nSelPos, nCol, !IsChecked( nSelPos, nCol ) );
CallImplEventListeners( VclEventId::CheckboxToggle, static_cast<void*>(GetEntry( nSelPos )) );
}
else
{
sal_uInt16 nCheck = IsChecked(nSelPos, 1) ? 1 : 0;
if(IsChecked(nSelPos))
nCheck += 2;
nCheck--;
nCheck &= 3;
CheckEntryPos(nSelPos, 1, 0 != (nCheck & 1));
CheckEntryPos(nSelPos, 0, 0 != (nCheck & 2));
}
}
else
SvSimpleTable::KeyInput(rKEvt);
}
OfaAutocorrReplacePage::OfaAutocorrReplacePage(TabPageParent pParent,
const SfxItemSet& rSet)
......
......@@ -105,8 +105,6 @@ public:
void ClearHeader();
void ShowTable();
void HideTable();
bool IsVisible() const;
void EnableTable();
void DisableTable();
......
......@@ -312,9 +312,6 @@ public:
Paper GetPaper() const;
static OUString GetPaperName( Paper ePaper );
/** @return A UI string for the current paper; an empty string for PAPER_USER */
OUString GetPaperName() const;
/** @return Number of available paper formats */
int GetPaperInfoCount() const;
......@@ -541,7 +538,6 @@ public:
getMultipage() const;
void setLastPage( bool i_bLastPage );
VCL_DLLPRIVATE void setReversePrint( bool i_bReverse );
VCL_DLLPRIVATE bool getReversePrint() const;
VCL_DLLPRIVATE void setPapersizeFromSetup( bool i_bPapersizeFromSetup );
VCL_DLLPRIVATE bool getPapersizeFromSetup() const;
VCL_DLLPRIVATE Size& getPaperSizeSetup() const;
......
......@@ -96,12 +96,8 @@ class VCL_DLLPUBLIC SvTreeList final
SvTreeListEntry* PrevSelected( const SvListView*,SvTreeListEntry* pEntry ) const;
SvTreeListEntry* LastSelected( const SvListView*) const;
static bool Select( SvListView*,SvTreeListEntry* pEntry, bool bSelect );
sal_uLong GetChildSelectionCount( const SvListView*,SvTreeListEntry* pParent ) const;
static void Expand( SvListView*,SvTreeListEntry* pParent );
static void Collapse( SvListView*,SvTreeListEntry* pParent );
VCL_DLLPRIVATE void SetAbsolutePositions();
VCL_DLLPRIVATE void CloneChildren(
......
......@@ -92,18 +92,6 @@ public:
const sc::ImportPostProcessData& GetImportPostProcessData() const { return maPostProcessData;}
};
class ScXMLChartExportWrapper
{
public:
ScXMLChartExportWrapper( css::uno::Reference< css::frame::XModel > const & xModel, SfxMedium& rMed );
void Export();
private:
css::uno::Reference< css::frame::XModel > mxModel;
css::uno::Reference< css::embed::XStorage > mxStorage;
SfxMedium& mrMedium;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -250,16 +250,6 @@ void SvSimpleTable::ShowTable()
m_rParentTableContainer.Show();
}
void SvSimpleTable::HideTable()
{
m_rParentTableContainer.Hide();
}
bool SvSimpleTable::IsVisible() const
{
return m_rParentTableContainer.IsVisible();
}
void SvSimpleTable::EnableTable()
{
m_rParentTableContainer.Enable();
......
......@@ -205,15 +205,6 @@ public:
void SaveSection( SwStartNode* pSttNd );
void ReNewBoxes( const SwSelBoxes& rBoxes );
void SetColWidthParam( sal_uLong nBoxIdx, sal_uInt16 nMode, TableChgWidthHeightType nType,
SwTwips nAbsDif, SwTwips nRelDif )
{
m_nCurrBox = nBoxIdx;
m_nCount = nMode;
m_nSetColType = nType;
m_nAbsDiff = static_cast<sal_uInt16>(nAbsDif);
m_nRelDiff = static_cast<sal_uInt16>(nRelDif);
}
};
class SwUndoMove;
......
......@@ -1454,15 +1454,6 @@ OUString Printer::GetPaperName( Paper ePaper )
return (it != pSVData->maPaperNames.end()) ? it->second : OUString();
}
OUString Printer::GetPaperName() const
{
Size aPageSize = PixelToLogic( GetPaperSizePixel(), MapMode(MapUnit::Map100thMM));
Paper ePaper = ImplGetPaperFormat( aPageSize.Width(), aPageSize.Height() );
if( ePaper == PAPER_USER )
ePaper = ImplGetPaperFormat( aPageSize.Height(), aPageSize.Width() );
return (ePaper != PAPER_USER) ? GetPaperName( ePaper ) : OUString();
}
const PaperInfo& Printer::GetPaperInfo( int nPaper ) const
{
if( ! mpInfoPrinter )
......
......@@ -1362,11 +1362,6 @@ void PrinterController::setReversePrint( bool i_bReverse )
mpImplData->mbReversePageOrder = i_bReverse;
}
bool PrinterController::getReversePrint() const
{
return mpImplData->mbReversePageOrder;
}
void PrinterController::setPapersizeFromSetup( bool i_bPapersizeFromSetup )
{
mpImplData->mbPapersizeFromSetup = i_bPapersizeFromSetup;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment