loplugin: inlinesimplememberfunctions

Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
This commit is contained in:
Noel Grandin
2014-06-09 10:10:13 +02:00
parent 534015ad4f
commit 184a00b962
637 changed files with 738 additions and 3514 deletions
+2 -2
View File
@@ -530,12 +530,12 @@ protected:
/**_______________________________________________________________________________________________________
*/
const sal_Int32& impl_getWidth();
const sal_Int32& impl_getWidth() { return m_nWidth;}
/**_______________________________________________________________________________________________________
*/
const sal_Int32& impl_getHeight();
const sal_Int32& impl_getHeight() { return m_nHeight;}
/**_______________________________________________________________________________________________________
*/
-14
View File
@@ -737,20 +737,6 @@ const Reference< XGraphics > BaseControl::impl_getGraphicsPeer()
// protected method
const sal_Int32& BaseControl::impl_getWidth()
{
return m_nWidth;
}
// protected method
const sal_Int32& BaseControl::impl_getHeight()
{
return m_nHeight;
}
// protected method
WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer )
{
// - used from "createPeer()" to set the values of an ::com::sun::star::awt::WindowDescriptor !!!
+1 -1
View File
@@ -554,7 +554,7 @@ public:
std::vector< OUString > GetXIdlClassMethods() const;
std::vector< OUString > GetXIdlClassFields() const;
bool CanCodeComplete() const;
bool CanCodeComplete() const { return bCanComplete;}
};
} // namespace basctl
-4
View File
@@ -2968,10 +2968,6 @@ std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassFields() const
return aRetVect;//this is empty when cannot code complete
}
bool UnoTypeCodeCompletetor::CanCodeComplete() const
{
return bCanComplete;
}
bool UnoTypeCodeCompletetor::CheckField( const OUString& sFieldName )
{// modifies xClass!!!
@@ -119,10 +119,6 @@ bool LineNumberWindow::SyncYOffset()
return true;
}
int LineNumberWindow::GetWidth()
{
return m_nWidth;
}
} // namespace basctl
+1 -1
View File
@@ -38,7 +38,7 @@ public:
bool SyncYOffset();
long& GetCurYOffset();
int GetWidth();
int GetWidth() { return m_nWidth;}
};
} // namespace basctl
-4
View File
@@ -624,10 +624,6 @@ void DlgEditor::SetInsertObj( sal_uInt16 eObj )
}
sal_uInt16 DlgEditor::GetInsertObj() const
{
return eActObj;
}
void DlgEditor::CreateDefaultObject()
+1 -1
View File
@@ -190,7 +190,7 @@ public:
void SetMode (Mode eMode);
void SetInsertObj( sal_uInt16 eObj );
sal_uInt16 GetInsertObj() const;
sal_uInt16 GetInsertObj() const { return eActObj;}
void CreateDefaultObject();
Mode GetMode() const { return eMode; }
bool IsCreateOK() const { return bCreateOK; }
-4
View File
@@ -1063,10 +1063,6 @@ void ClearUnoObjectsInRTL_Impl( StarBASIC* pBasic )
ClearUnoObjectsInRTL_Impl_Rek( (StarBASIC*)p );
}
bool SbModule::IsVBACompat() const
{
return mbVBACompat;
}
void SbModule::SetVBACompat( bool bCompat )
{
-4
View File
@@ -314,10 +314,6 @@ void SbiParser::SetCodeCompleting( const bool& b )
bCodeCompleting = b;
}
bool SbiParser::IsCodeCompleting() const
{
return bCodeCompleting;
}
bool SbiParser::Parse()
{
+1 -1
View File
@@ -83,7 +83,7 @@ public:
SbiParser( StarBASIC*, SbModule* );
bool Parse();
void SetCodeCompleting( const bool& b );
bool IsCodeCompleting() const;
bool IsCodeCompleting() const { return bCodeCompleting;}
SbiExprNode* GetWithVar();
// from 31.3.1996, search symbol in the runtime-library
+1 -1
View File
@@ -407,7 +407,7 @@ public:
SbModule* GetModule() { return pMod; }
sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
SbMethod* GetCaller();
SbMethod* GetCaller() { return pMeth;}
SbxVariable* GetExternalCaller(){ return mpExtCaller; }
SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection );
-7
View File
@@ -977,13 +977,6 @@ sal_Int32 SbiRuntime::translateErrorToVba( SbError nError, OUString& rMsg )
return nVBAErrorNumber;
}
// Parameter, Locals, Caller
SbMethod* SbiRuntime::GetCaller()
{
return pMeth;
}
// Stacks
// The expression-stack is available for the continuous evaluation
-4
View File
@@ -649,10 +649,6 @@ void SbxDimArray::AddDimImpl32( sal_Int32 lb, sal_Int32 ub, bool bAllowSize0 )
SetError( eRes );
}
short SbxDimArray::GetDims() const
{
return nDim;
}
void SbxDimArray::AddDim( short lb, short ub )
{
-4
View File
@@ -138,10 +138,6 @@ SbxArray* SbxVariable::GetParameters() const
return mpPar;
}
SbxObject* SbxVariable::GetParent()
{
return pParent;
}
// Perhaps some day one could cut the parameter 0.
// then the copying will be dropped ...
@@ -2321,10 +2321,6 @@ namespace cairocanvas
return aLayout;
}
bool CanvasHelper::hasAlpha() const
{
return mbHaveAlpha;
}
bool CanvasHelper::repaint( const SurfaceSharedPtr& pSurface,
const rendering::ViewState& viewState,
+1 -1
View File
@@ -252,7 +252,7 @@ namespace cairocanvas
*/
void modifying() {}
bool hasAlpha() const;
bool hasAlpha() const { return mbHaveAlpha; }
enum ColorType
{
@@ -134,10 +134,6 @@ namespace cairocanvas
mpSpriteCanvas->setSizePixel( maSize );
}
const ::basegfx::B2ISize& SpriteDeviceHelper::getSizePixel()
{
return maSize;
}
void SpriteDeviceHelper::notifySizeUpdate( const awt::Rectangle& rBounds )
{
@@ -68,7 +68,7 @@ namespace cairocanvas
::cairo::SurfaceSharedPtr getWindowSurface();
::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, ::cairo::Content aContent = CAIRO_CONTENT_COLOR_ALPHA );
::cairo::SurfaceSharedPtr createSurface( BitmapSystemData& rData, const Size& rSize );
const ::basegfx::B2ISize& getSizePixel();
const ::basegfx::B2ISize& getSizePixel() { return maSize; }
void flush();
private:
@@ -471,10 +471,6 @@ namespace canvas
maPosition + maCurrClipBounds.getMaximum() );
}
double CanvasCustomSpriteHelper::getPriority() const
{
return mfPriority;
}
::basegfx::B2DRange CanvasCustomSpriteHelper::getFullSpriteRect() const
{
+2 -2
View File
@@ -593,13 +593,13 @@ public:
com::sun::star::uno::Reference< com::sun::star::uno::XInterface > getChartView();
bool isTimeBased() const;
bool isTimeBased() const { return mbTimeBased;}
void setTimeBased(bool bTimeBased);
void getNextTimePoint();
void setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd);
OpenGLWindow* getOpenGLWindow();
OpenGLWindow* getOpenGLWindow() { return mpOpenGLWindow;}
private:
sal_Int32 mnStart;
@@ -90,10 +90,6 @@ Reference< frame::XModel > Chart2ModelContact::getChartModel() const
return Reference< frame::XModel >( m_xChartModel.get(), uno::UNO_QUERY );
}
ChartModel* Chart2ModelContact::getModel() const
{
return mpModel;
}
Reference< chart2::XChartDocument > Chart2ModelContact::getChart2Document() const
{
@@ -58,7 +58,7 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > getChartModel() const;
ChartModel* getModel() const;
ChartModel* getModel() const { return mpModel;}
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > getChart2Document() const;
@@ -1069,10 +1069,6 @@ void ChartDocumentWrapper::setUpdateAddIn( bool bUpdateAddIn )
{
m_bUpdateAddIn = bUpdateAddIn;
}
bool ChartDocumentWrapper::getUpdateAddIn() const
{
return m_bUpdateAddIn;
}
Reference< drawing::XShapes > ChartDocumentWrapper::getAdditionalShapes() const
{
@@ -106,7 +106,7 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
void setStartColumn( sal_Int32 nStartColumn );
sal_Int32 getStartColumn() const;
sal_Int32 getStartColumn() const { return m_nStartColumn;}
void SetShowWarningBox( bool bShowWarning = true );
private:
@@ -130,10 +130,6 @@ void SeriesHeaderEdit::setStartColumn( sal_Int32 nStartColumn )
m_nStartColumn = nStartColumn;
}
sal_Int32 SeriesHeaderEdit::getStartColumn() const
{
return m_nStartColumn;
}
void SeriesHeaderEdit::SetShowWarningBox( bool bShowWarning )
{
@@ -164,8 +160,8 @@ public:
void SetPixelWidth( sal_Int32 nWidth );
sal_Int32 GetStartColumn() const;
sal_Int32 GetEndColumn() const;
sal_Int32 GetStartColumn() const { return m_nStartCol;}
sal_Int32 GetEndColumn() const { return m_nEndCol;}
static sal_Int32 GetRelativeAppFontXPosForNameField();
@@ -316,15 +312,7 @@ void SeriesHeader::SetRange( sal_Int32 nStartCol, sal_Int32 nEndCol )
m_spSeriesName->setStartColumn( nStartCol );
}
sal_Int32 SeriesHeader::GetStartColumn() const
{
return m_nStartCol;
}
sal_Int32 SeriesHeader::GetEndColumn() const
{
return m_nEndCol;
}
void SeriesHeader::Show()
{
@@ -740,10 +728,6 @@ bool DataBrowser::SetReadOnly( bool bNewState )
return bResult;
}
bool DataBrowser::IsReadOnly() const
{
return m_bIsReadOnly;
}
void DataBrowser::SetClean()
{
@@ -815,10 +799,6 @@ bool DataBrowser::IsDataValid()
return bValid;
}
bool DataBrowser::IsEnableItem()
{
return m_bDataValid;
}
void DataBrowser::CellModified()
{
@@ -92,7 +92,7 @@ public:
/// @return old state
bool SetReadOnly( bool bNewState );
bool IsReadOnly() const;
bool IsReadOnly() const { return m_bIsReadOnly;}
/// reset the dirty status, if changes have been saved
void SetClean();
@@ -140,7 +140,7 @@ public:
sal_uInt32 GetNumberFormatKey( sal_Int32 nRow, sal_uInt16 nCol ) const;
bool IsEnableItem();
bool IsEnableItem() { return m_bDataValid;}
bool IsDataValid();
void ShowWarningBox();
bool ShowQueryBox();
@@ -179,11 +179,6 @@ void CreationWizard::enterState(WizardState nState)
svt::RoadmapWizard::enterState(nState);
}
bool CreationWizard::isClosable()
{
//@todo
return m_bIsClosable;
}
void CreationWizard::setInvalidPage( TabPage * /* pTabPage */ )
{
@@ -110,10 +110,6 @@ ObjectPropertiesDialogParameter::ObjectPropertiesDialogParameter( const OUString
ObjectPropertiesDialogParameter::~ObjectPropertiesDialogParameter()
{
}
ObjectType ObjectPropertiesDialogParameter::getObjectType() const
{
return m_eObjectType;
}
OUString ObjectPropertiesDialogParameter::getLocalizedName() const
{
return m_aLocalizedName;
@@ -313,82 +309,14 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
}
}
bool ObjectPropertiesDialogParameter::HasGeometryProperties() const
{
return m_bHasGeometryProperties;
}
bool ObjectPropertiesDialogParameter::HasStatisticProperties() const
{
return m_bHasStatisticProperties;
}
bool ObjectPropertiesDialogParameter::ProvidesSecondaryYAxis() const
{
return m_bProvidesSecondaryYAxis;
}
bool ObjectPropertiesDialogParameter::ProvidesOverlapAndGapWidth() const
{
return m_bProvidesOverlapAndGapWidth;
}
bool ObjectPropertiesDialogParameter::ProvidesBarConnectors() const
{
return m_bProvidesBarConnectors;
}
bool ObjectPropertiesDialogParameter::HasAreaProperties() const
{
return m_bHasAreaProperties;
}
bool ObjectPropertiesDialogParameter::HasSymbolProperties() const
{
return m_bHasSymbolProperties;
}
bool ObjectPropertiesDialogParameter::HasScaleProperties() const
{
return m_bHasScaleProperties;
}
bool ObjectPropertiesDialogParameter::CanAxisLabelsBeStaggered() const
{
return m_bCanAxisLabelsBeStaggered;
}
bool ObjectPropertiesDialogParameter::ShowAxisOrigin() const
{
return m_bShowAxisOrigin;
}
bool ObjectPropertiesDialogParameter::IsSupportingAxisPositioning() const
{
return m_bSupportingAxisPositioning;
}
bool ObjectPropertiesDialogParameter::IsCrossingAxisIsCategoryAxis() const
{
return m_bIsCrossingAxisIsCategoryAxis;
}
const uno::Sequence< OUString >& ObjectPropertiesDialogParameter::GetCategories() const
{
return m_aCategories;
}
bool ObjectPropertiesDialogParameter::HasNumberProperties() const
{
return m_bHasNumberProperties;
}
bool ObjectPropertiesDialogParameter::ProvidesStartingAngle() const
{
return m_bProvidesStartingAngle;
}
bool ObjectPropertiesDialogParameter::ProvidesMissingValueTreatments() const
{
return m_bProvidesMissingValueTreatments;
}
uno::Reference< chart2::XChartDocument > ObjectPropertiesDialogParameter::getDocument() const
{
return m_xChartDocument;
}
bool ObjectPropertiesDialogParameter::IsComplexCategoriesAxis() const
{
return m_bComplexCategoriesAxis;
}
sal_Int32 ObjectPropertiesDialogParameter::getNbPoints() const
{
return m_nNbPoints;
}
const sal_uInt16 nNoArrowNoShadowDlg = 1101;
@@ -723,10 +651,6 @@ IMPL_LINK_NOARG(SchAttribTabDlg, OKPressed)
return m_aOriginalOKClickHdl.Call( this );
}
bool SchAttribTabDlg::DialogWasClosedWithOK() const
{
return m_bOKPressed;
}
} //namespace chart
@@ -67,10 +67,6 @@ void LightButton::switchLightOn(bool bOn)
}
}
bool LightButton::isLightOn() const
{
return m_bLightOn;
}
struct LightSource
{
@@ -40,7 +40,7 @@ public:
virtual ~LightButton();
void switchLightOn(bool bOn);
bool isLightOn() const;
bool isLightOn() const { return m_bLightOn;}
private:
bool m_bLightOn;
@@ -72,7 +72,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshable > getAddIn() const;
void setUpdateAddIn( bool bUpdateAddIn );
bool getUpdateAddIn() const;
bool getUpdateAddIn() const { return m_bUpdateAddIn;}
void setBaseDiagram( const OUString& rBaseDiagram );
OUString getBaseDiagram() const;
@@ -50,7 +50,7 @@ public:
, sal_Int32 nOnePageOnlyIndex=-1 );//if nOnePageOnlyIndex is an index of an exsisting page starting with 0, then only this page is displayed without next/previous and roadmap
virtual ~CreationWizard();
bool isClosable();
bool isClosable() { /*@todo*/ return m_bIsClosable;}
// TabPageNotifiable
virtual void setInvalidPage( TabPage * pTabPage ) SAL_OVERRIDE;
@@ -34,33 +34,33 @@ public:
virtual ~ObjectPropertiesDialogParameter();
void init( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
ObjectType getObjectType() const;
ObjectType getObjectType() const { return m_eObjectType;}
OUString getLocalizedName() const;
bool HasGeometryProperties() const;
bool HasStatisticProperties() const;
bool ProvidesSecondaryYAxis() const;
bool ProvidesOverlapAndGapWidth() const;
bool ProvidesBarConnectors() const;
bool HasAreaProperties() const;
bool HasSymbolProperties() const;
bool HasNumberProperties() const;
bool ProvidesStartingAngle() const;
bool ProvidesMissingValueTreatments() const;
bool HasGeometryProperties() const { return m_bHasGeometryProperties;}
bool HasStatisticProperties() const { return m_bHasStatisticProperties;}
bool ProvidesSecondaryYAxis() const { return m_bProvidesSecondaryYAxis;}
bool ProvidesOverlapAndGapWidth() const { return m_bProvidesOverlapAndGapWidth;}
bool ProvidesBarConnectors() const { return m_bProvidesBarConnectors;}
bool HasAreaProperties() const { return m_bHasAreaProperties;}
bool HasSymbolProperties() const { return m_bHasSymbolProperties;}
bool HasNumberProperties() const { return m_bHasNumberProperties;}
bool ProvidesStartingAngle() const { return m_bProvidesStartingAngle;}
bool ProvidesMissingValueTreatments() const { return m_bProvidesMissingValueTreatments;}
bool HasScaleProperties() const;
bool CanAxisLabelsBeStaggered() const;
bool IsSupportingAxisPositioning() const;
bool ShowAxisOrigin() const;
bool IsCrossingAxisIsCategoryAxis() const;
bool HasScaleProperties() const { return m_bHasScaleProperties;}
bool CanAxisLabelsBeStaggered() const { return m_bCanAxisLabelsBeStaggered;}
bool IsSupportingAxisPositioning() const { return m_bSupportingAxisPositioning;}
bool ShowAxisOrigin() const { return m_bShowAxisOrigin;}
bool IsCrossingAxisIsCategoryAxis() const { return m_bIsCrossingAxisIsCategoryAxis;}
const ::com::sun::star::uno::Sequence< OUString >& GetCategories() const;
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >
getDocument() const;
bool IsComplexCategoriesAxis() const;
bool IsComplexCategoriesAxis() const { return m_bComplexCategoriesAxis;}
sal_Int32 getNbPoints() const;
sal_Int32 getNbPoints() const { return m_nNbPoints;}
private:
OUString m_aObjectCID;
@@ -140,7 +140,7 @@ public:
void SetAxisMinorStepWidthForErrorBarDecimals( double fMinorStepWidth );
bool DialogWasClosedWithOK() const;
bool DialogWasClosedWithOK() const { return m_bOKPressed;}
};
} //namespace chart
@@ -102,7 +102,7 @@ public:
sal_Int32 getCategoryLevelCount() const;
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList();
::com::sun::star::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList() { return m_aSplitCategoriesList;}
bool isDateAxis();
const std::vector< DatePlusIndex >& getDateCategories();
+2 -2
View File
@@ -66,8 +66,8 @@ public:
/// @return the index of the newly appended row
sal_Int32 appendRow();
sal_Int32 getRowCount() const;
sal_Int32 getColumnCount() const;
sal_Int32 getRowCount() const { return m_nRowCount;}
sal_Int32 getColumnCount() const { return m_nColumnCount;}
typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level
+1 -1
View File
@@ -106,7 +106,7 @@ protected:
virtual void impl_apiCallCountReachedNull() SAL_OVERRIDE;
void impl_setOwnership( bool bDeliverOwnership, bool bMyVeto );
bool impl_shouldCloseAtNextChance();
bool impl_shouldCloseAtNextChance() { return m_bOwnership;}
void impl_doClose();
void impl_init()
+1 -1
View File
@@ -36,7 +36,7 @@ public:
NumberFormatterWrapper( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xSupplier );
virtual ~NumberFormatterWrapper();
SvNumberFormatter* getSvNumberFormatter() const;
SvNumberFormatter* getSvNumberFormatter() const { return m_pNumberFormatter;}
::com::sun::star::uno::Reference< com::sun::star::util::XNumberFormatsSupplier >
getNumberFormatsSupplier() { return m_xNumberFormatsSupplier; };
+1 -1
View File
@@ -96,7 +96,7 @@ public:
void setValuesAtAllDataSeries();
private:
SAL_DLLPRIVATE bool useAutoScale() const;
SAL_DLLPRIVATE bool useAutoScale() const { return m_bUseAutoScale;}
/** sets the auto-resize at all objects that support this feature for text.
eNewState must be either AUTO_RESIZE_YES or AUTO_RESIZE_NO
-8
View File
@@ -1357,10 +1357,6 @@ OUString SAL_CALL ChartModel::dump()
return OUString();
}
bool ChartModel::isTimeBased() const
{
return mbTimeBased;
}
void ChartModel::setTimeBased(bool bTimeBased)
{
@@ -1433,10 +1429,6 @@ void ChartModel::update()
mpChartView->update();
}
OpenGLWindow* ChartModel::getOpenGLWindow()
{
return mpOpenGLWindow;
}
} // namespace chart
@@ -52,10 +52,6 @@ StockDataInterpreter::StockDataInterpreter(
StockDataInterpreter::~StockDataInterpreter()
{}
StockChartTypeTemplate::StockVariant StockDataInterpreter::GetStockVariant() const
{
return m_eStockVariant;
}
// ____ XDataInterpreter ____
InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource(
@@ -52,7 +52,7 @@ protected:
private:
StockChartTypeTemplate::StockVariant m_eStockVariant;
StockChartTypeTemplate::StockVariant GetStockVariant() const;
StockChartTypeTemplate::StockVariant GetStockVariant() const { return m_eStockVariant;}
};
} // namespace chart
@@ -139,10 +139,6 @@ Reference< chart2::data::XDataSequence > ExplicitCategoriesProvider::getOriginal
return 0;
}
const Sequence< Reference< data::XLabeledDataSequence> >& ExplicitCategoriesProvider::getSplitCategoriesList()
{
return m_aSplitCategoriesList;
}
bool ExplicitCategoriesProvider::hasComplexCategories() const
{
-8
View File
@@ -484,15 +484,7 @@ void InternalData::deleteRow( sal_Int32 nAtIndex )
#endif
}
sal_Int32 InternalData::getRowCount() const
{
return m_nRowCount;
}
sal_Int32 InternalData::getColumnCount() const
{
return m_nColumnCount;
}
void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNewRowLabels )
{
-4
View File
@@ -316,10 +316,6 @@ void CloseableLifeTimeManager::impl_setOwnership( bool bDeliverOwnership, bool b
m_bOwnership = bDeliverOwnership && bMyVeto;
}
bool CloseableLifeTimeManager::impl_shouldCloseAtNextChance()
{
return m_bOwnership;
}
void CloseableLifeTimeManager
::impl_apiCallCountReachedNull()
@@ -67,10 +67,6 @@ NumberFormatterWrapper::~NumberFormatterWrapper()
{
}
SvNumberFormatter* NumberFormatterWrapper::getSvNumberFormatter() const
{
return m_pNumberFormatter;
}
Date NumberFormatterWrapper::getNullDate() const
{
@@ -53,10 +53,6 @@ awt::Size ReferenceSizeProvider::getPageSize() const
return m_aPageSize;
}
bool ReferenceSizeProvider::useAutoScale() const
{
return m_bUseAutoScale;
}
void ReferenceSizeProvider::impl_setValuesAtTitled(
const Reference< XTitled > & xTitled )
@@ -2001,10 +2001,6 @@ void VSeriesPlotter::setCoordinateSystemResolution( const Sequence< sal_Int32 >&
m_aCoordinateSystemResolution = rCoordinateSystemResolution;
}
bool VSeriesPlotter::PointsWereSkipped() const
{
return m_bPointsWereSkipped;
}
bool VSeriesPlotter::WantToPlotInFrontOfAxisLine()
{
+7 -7
View File
@@ -78,7 +78,7 @@ public:
void setGlobalSeriesIndex( sal_Int32 nGlobalSeriesIndex );
void setPageReferenceSize( const ::com::sun::star::awt::Size & rPageRefSize );
sal_Int32 getTotalPointCount() const;
sal_Int32 getTotalPointCount() const { return m_nPointCount;}
double getXValue( sal_Int32 index ) const;
double getYValue( sal_Int32 index ) const;
@@ -129,20 +129,20 @@ public:
bool hasPointOwnColor( sal_Int32 index ) const;
::com::sun::star::chart2::StackingDirection getStackingDirection() const;
sal_Int32 getAttachedAxisIndex() const;
::com::sun::star::chart2::StackingDirection getStackingDirection() const { return m_eStackingDirection;}
sal_Int32 getAttachedAxisIndex() const { return m_nAxisIndex;}
void setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex );
void doSortByXValues();
void setConnectBars( bool bConnectBars );
bool getConnectBars() const;
bool getConnectBars() const { return m_bConnectBars;}
void setGroupBarsPerAxis( bool bGroupBarsPerAxis );
bool getGroupBarsPerAxis() const;
bool getGroupBarsPerAxis() const { return m_bGroupBarsPerAxis;}
void setStartingAngle( sal_Int32 nStartingAngle );
sal_Int32 getStartingAngle() const;
sal_Int32 getStartingAngle() const { return m_nStartingAngle;}
void setRoleOfSequenceForDataLabelNumberFormatDetection( const OUString& rRole );
@@ -175,7 +175,7 @@ public:
void releaseShapes();
void setMissingValueTreatment( sal_Int32 nMissingValueTreatment );
sal_Int32 getMissingValueTreatment() const;
sal_Int32 getMissingValueTreatment() const { return m_nMissingValueTreatment;}
void setOldTimeBased( VDataSeries* pOldSeries, double nPercent );
VDataSeries* createCopyForTimeBased() const;
+1 -1
View File
@@ -247,7 +247,7 @@ public:
void setPageReferenceSize( const ::com::sun::star::awt::Size & rPageRefSize );
//better performance for big data
void setCoordinateSystemResolution( const ::com::sun::star::uno::Sequence< sal_Int32 >& rCoordinateSystemResolution );
bool PointsWereSkipped() const;
bool PointsWereSkipped() const { return m_bPointsWereSkipped;}
//return the depth for a logic 1
double getTransformedDepth() const;
-4
View File
@@ -185,10 +185,6 @@ awt::Point SAL_CALL DummyXShape::getPosition()
return maPosition;
}
const awt::Point& DummyXShape::getPos()
{
return maPosition;
}
void SAL_CALL DummyXShape::setPosition( const awt::Point& rPoint )
throw(uno::RuntimeException, std::exception)
+1 -1
View File
@@ -169,7 +169,7 @@ public:
*/
virtual void render();
const com::sun::star::awt::Point& getPos(); // internal API
const com::sun::star::awt::Point& getPos() { return maPosition;} // internal API
protected:
-28
View File
@@ -421,39 +421,19 @@ void VDataSeries::setPageReferenceSize( const awt::Size & rPageRefSize )
m_aReferenceSize = rPageRefSize;
}
StackingDirection VDataSeries::getStackingDirection() const
{
return m_eStackingDirection;
}
sal_Int32 VDataSeries::getAttachedAxisIndex() const
{
return m_nAxisIndex;
}
void VDataSeries::setConnectBars( bool bConnectBars )
{
m_bConnectBars = bConnectBars;
}
bool VDataSeries::getConnectBars() const
{
return m_bConnectBars;
}
void VDataSeries::setGroupBarsPerAxis( bool bGroupBarsPerAxis )
{
m_bGroupBarsPerAxis = bGroupBarsPerAxis;
}
bool VDataSeries::getGroupBarsPerAxis() const
{
return m_bGroupBarsPerAxis;
}
void VDataSeries::setStartingAngle( sal_Int32 nStartingAngle )
{
m_nStartingAngle = nStartingAngle;
}
sal_Int32 VDataSeries::getStartingAngle() const
{
return m_nStartingAngle;
}
void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
{
@@ -462,10 +442,6 @@ void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
m_nAxisIndex = nAttachedAxisIndex;
}
sal_Int32 VDataSeries::getTotalPointCount() const
{
return m_nPointCount;
}
double VDataSeries::getXValue( sal_Int32 index ) const
{
@@ -1056,10 +1032,6 @@ void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment )
m_nMissingValueTreatment = nMissingValueTreatment;
}
sal_Int32 VDataSeries::getMissingValueTreatment() const
{
return m_nMissingValueTreatment;
}
VDataSeries::VDataSeries()
: m_nPolygonIndex(0)
-4
View File
@@ -51,9 +51,5 @@ const OString Options::getOption(const OString& option) const
return i->second;
}
const StringVector& Options::getInputFiles()
{
return m_inputFiles;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-3
View File
@@ -1972,9 +1972,6 @@ void Access::initBroadcasterAndChanges(
}
}
bool Access::isDisposed() const {
return disposed_;
}
Access::ModifiedChild::ModifiedChild():
directlyModified(false)
+1 -1
View File
@@ -472,7 +472,7 @@ protected:
Modifications::Node const & modifications, Broadcaster * broadcaster,
std::vector< com::sun::star::util::ElementChange > * changes);
bool isDisposed() const;
bool isDisposed() const { return disposed_;}
private:
struct ModifiedChild {
-3
View File
@@ -55,9 +55,6 @@ int GroupNode::getMandatory() const {
return mandatory_;
}
bool GroupNode::isExtensible() const {
return extensible_;
}
GroupNode::GroupNode(GroupNode const & other, bool keepTemplateName):
Node(other), extensible_(other.extensible_), mandatory_(other.mandatory_)
+1 -1
View File
@@ -44,7 +44,7 @@ public:
virtual int getMandatory() const SAL_OVERRIDE;
bool isExtensible() const;
bool isExtensible() const { return extensible_;}
private:
GroupNode(GroupNode const & other, bool keepTemplateName);
@@ -44,13 +44,7 @@ NodeMap & LocalizedPropertyNode::getMembers() {
return members_;
}
Type LocalizedPropertyNode::getStaticType() const {
return staticType_;
}
bool LocalizedPropertyNode::isNillable() const {
return nillable_;
}
LocalizedPropertyNode::LocalizedPropertyNode(
LocalizedPropertyNode const & other):
+2 -2
View File
@@ -39,9 +39,9 @@ public:
virtual NodeMap & getMembers() SAL_OVERRIDE;
Type getStaticType() const;
Type getStaticType() const { return staticType_;}
bool isNillable() const;
bool isNillable() const { return nillable_;}
private:
LocalizedPropertyNode(LocalizedPropertyNode const & other);
-6
View File
@@ -57,17 +57,11 @@ void Node::setLayer(int layer) {
layer_ = layer;
}
int Node::getLayer() const {
return layer_;
}
void Node::setFinalized(int layer) {
finalized_ = layer;
}
int Node::getFinalized() const {
return finalized_;
}
rtl::Reference< Node > Node::getMember(OUString const & name) {
NodeMap const & members = getMembers();
+2 -2
View File
@@ -47,10 +47,10 @@ public:
virtual int getMandatory() const;
void setLayer(int layer);
int getLayer() const;
int getLayer() const { return layer_;}
void setFinalized(int layer);
int getFinalized() const;
int getFinalized() const { return finalized_;}
rtl::Reference< Node > getMember(OUString const & name);
-9
View File
@@ -46,13 +46,7 @@ rtl::Reference< Node > PropertyNode::clone(bool) const {
return new PropertyNode(*this);
}
Type PropertyNode::getStaticType() const {
return staticType_;
}
bool PropertyNode::isNillable() const {
return nillable_;
}
css::uno::Any PropertyNode::getValue(Components & components) {
if (!externalDescriptor_.isEmpty()) {
@@ -81,9 +75,6 @@ void PropertyNode::setExternal(int layer, OUString const & descriptor) {
externalDescriptor_ = descriptor;
}
bool PropertyNode::isExtension() const {
return extension_;
}
PropertyNode::PropertyNode(PropertyNode const & other):
Node(other), staticType_(other.staticType_), nillable_(other.nillable_),
+3 -3
View File
@@ -41,9 +41,9 @@ public:
virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE;
Type getStaticType() const;
Type getStaticType() const { return staticType_;}
bool isNillable() const;
bool isNillable() const { return nillable_;}
com::sun::star::uno::Any getValue(Components & components);
@@ -51,7 +51,7 @@ public:
void setExternal(int layer, OUString const & descriptor);
bool isExtension() const;
bool isExtension() const { return extension_;}
private:
PropertyNode(PropertyNode const & other);
-3
View File
@@ -110,9 +110,6 @@ OUString RootAccess::getLocale() const {
return locale_;
}
bool RootAccess::isUpdate() const {
return update_;
}
void RootAccess::setAlive(bool b) {
alive_ = b;
+1 -1
View File
@@ -75,7 +75,7 @@ public:
OUString getLocale() const;
bool isUpdate() const;
bool isUpdate() const { return update_;}
void setAlive(bool b);
-3
View File
@@ -436,9 +436,6 @@ void ValueParser::start(
state_ = STATE_TEXT;
}
int ValueParser::getLayer() const {
return layer_;
}
template< typename T > css::uno::Any ValueParser::convertItems() {
css::uno::Sequence< T > seq(items_.size());
+1 -1
View File
@@ -63,7 +63,7 @@ public:
rtl::Reference< Node > const & property,
OUString const & localizedName = OUString());
int getLayer() const;
int getLayer() const { return layer_;}
Type type_;
OString separator_;
-4
View File
@@ -2763,10 +2763,6 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, Button *, pButton )
return 0;
}
SvxEntries* SvxMainMenuOrganizerDialog::GetEntries()
{
return pEntries;
}
SvxConfigEntry* SvxMainMenuOrganizerDialog::GetSelectedEntry()
{
+2 -10
View File
@@ -311,8 +311,8 @@ public:
void Modify();
void SetValues( Color aColor, ColorMode eMode, double x, double y );
double GetX();
double GetY();
double GetX() { return mdX;}
double GetY() { return mdY;}
void KeyMove( int dx, int dy );
@@ -649,15 +649,7 @@ void ColorFieldControl::SetValues( Color aColor, ColorMode eMode, double x, doub
}
}
double ColorFieldControl::GetX()
{
return mdX;
}
double ColorFieldControl::GetY()
{
return mdY;
}
void ColorFieldControl::UpdatePosition()
{
-4
View File
@@ -547,10 +547,6 @@ OUString SvxThesaurusDialog::GetWord()
return m_pReplaceEdit->GetText();
}
sal_uInt16 SvxThesaurusDialog::GetLanguage() const
{
return nLookUpLanguage;
}
void SvxThesaurusDialog::Apply()
{
+1 -1
View File
@@ -518,7 +518,7 @@ public:
virtual ~SvxMainMenuOrganizerDialog ();
SvxEntries* GetEntries();
SvxEntries* GetEntries() { return pEntries;}
void SetEntries( SvxEntries* );
SvxConfigEntry* GetSelectedEntry();
};
+1 -1
View File
@@ -166,7 +166,7 @@ public:
void SetWindowTitle( LanguageType nLanguage );
OUString GetWord();
sal_uInt16 GetLanguage() const;
sal_uInt16 GetLanguage() const { return nLookUpLanguage;}
};
#endif
-8
View File
@@ -691,15 +691,7 @@ bool ORowSetCache::next( )
return !m_bAfterLast;
}
bool ORowSetCache::isBeforeFirst( )
{
return m_bBeforeFirst;
}
bool ORowSetCache::isAfterLast( )
{
return m_bAfterLast;
}
bool ORowSetCache::isFirst( )
{
+2 -2
View File
@@ -179,8 +179,8 @@ namespace dbaccess
// ::com::sun::star::sdbc::XResultSet
bool next( );
bool isBeforeFirst( );
bool isAfterLast( );
bool isBeforeFirst( ) { return m_bBeforeFirst;}
bool isAfterLast( ) { return m_bAfterLast;}
bool isFirst( );
bool isLast( );
bool beforeFirst( );
@@ -988,10 +988,6 @@ void OAppDetailPageHelper::Resize()
}
}
PreviewMode OAppDetailPageHelper::getPreviewMode()
{
return m_ePreviewMode;
}
bool OAppDetailPageHelper::isPreviewEnabled()
{
@@ -321,7 +321,7 @@ namespace dbaui
,const OUString& _rName );
/// returns the preview mode
PreviewMode getPreviewMode();
PreviewMode getPreviewMode() { return m_ePreviewMode;}
/// <TRUE/> if the preview is enabled
bool isPreviewEnabled();
-8
View File
@@ -169,20 +169,12 @@ void OAppBorderWindow::ImplInitSettings()
SetBackground( rStyleSettings.GetDialogColor() );
}
OApplicationView* OAppBorderWindow::getView() const
{
return m_pView;
}
OApplicationSwapWindow* OAppBorderWindow::getPanel() const
{
return static_cast< OApplicationSwapWindow* >( m_pPanel->getChildWindow() );
}
OApplicationDetailView* OAppBorderWindow::getDetailView() const
{
return m_pDetailView;
}
// class OApplicationView
OApplicationView::OApplicationView( Window* pParent
+2 -2
View File
@@ -60,9 +60,9 @@ namespace dbaui
virtual void GetFocus() SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
OApplicationView* getView() const;
OApplicationView* getView() const { return m_pView;}
OApplicationSwapWindow* getPanel() const;
OApplicationDetailView* getDetailView() const;
OApplicationDetailView* getDetailView() const { return m_pDetailView;}
};
class OApplicationView : public ODataView
-8
View File
@@ -135,14 +135,6 @@ void OSqlEdit::KeyInput( const KeyEvent& rKEvt )
m_bAccelAction = false;
}
bool OSqlEdit::IsInAccelAct()
{
// Cut, Copy, Paste by Accel. runs the action in the Edit but also the
// corresponding slot in the View. Therefore, the action occurs twice.
// To prevent this, SlotExec in View can call this function.
return m_bAccelAction;
}
void OSqlEdit::GetFocus()
{
+2 -2
View File
@@ -105,8 +105,8 @@ namespace dbaui
TOTypeInfoSP getTypeInfo() const;
TOTypeInfoSP getSpecialTypeInfo() const;
bool IsAutoIncrement() const;
bool IsPrimaryKey() const;
bool IsCurrency() const;
bool IsPrimaryKey() const { return m_bIsPrimaryKey;}
bool IsCurrency() const { return m_bIsCurrency;}
bool IsNullable() const;
};
}
+2 -2
View File
@@ -353,7 +353,7 @@ namespace dbaui
/** returns whether a primary key should be created in the target database
*/
bool shouldCreatePrimaryKey() const;
bool shouldCreatePrimaryKey() const { return m_bCreatePrimaryKeyColumn;}
void setCreatePrimaryKey( bool _bDoCreate, const OUString& _rSuggestedName );
static bool supportsPrimaryKey( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection );
@@ -393,7 +393,7 @@ namespace dbaui
sal_Int32 getMaxColumnNameLength() const;
void setOperation( const sal_Int16 _nOperation );
sal_Int16 getOperation() const;
sal_Int16 getOperation() const { return m_nOperation;}
OUString convertColumnName( const TColumnFindFunctor& _rCmpFunctor,
const OUString& _sColumnName,
+4 -1
View File
@@ -74,7 +74,10 @@ namespace dbaui
using MultiLineEditSyntaxHighlight::SetText;
// own functionality
bool IsInAccelAct();
// Cut, Copy, Paste by Accel. runs the action in the Edit but also the
// corresponding slot in the View. Therefore, the action occurs twice.
// To prevent this, SlotExec in View can call this function.
bool IsInAccelAct() { return m_bAccelAction; }
void SetTextModifyHdl(const Link& lnk) { m_lnkTextModifyHdl = lnk; }
// please don't use SetModifyHdl, I need it for myself, this here is called from the handler set with that
-8
View File
@@ -913,10 +913,6 @@ IMPL_LINK_NOARG(OCopyTableWizard, ImplOKHdl)
return bFinish ? 1 : 0;
}
bool OCopyTableWizard::shouldCreatePrimaryKey() const
{
return m_bCreatePrimaryKeyColumn;
}
void OCopyTableWizard::setCreatePrimaryKey( bool _bDoCreate, const OUString& _rSuggestedName )
{
@@ -1379,10 +1375,6 @@ void OCopyTableWizard::setOperation( const sal_Int16 _nOperation )
m_nOperation = _nOperation;
}
sal_Int16 OCopyTableWizard::getOperation() const
{
return m_nOperation;
}
OUString OCopyTableWizard::convertColumnName(const TColumnFindFunctor& _rCmpFunctor,
const OUString& _sColumnName,
@@ -600,15 +600,7 @@ bool OFieldDescription::IsAutoIncrement() const
return m_bIsAutoIncrement;
}
bool OFieldDescription::IsPrimaryKey() const
{
return m_bIsPrimaryKey;
}
bool OFieldDescription::IsCurrency() const
{
return m_bIsCurrency;
}
bool OFieldDescription::IsNullable() const
{
@@ -169,10 +169,6 @@ SfxUndoManager& OTableEditorCtrl::GetUndoManager() const
return GetView()->getController().GetUndoManager();
}
bool OTableEditorCtrl::IsReadOnly()
{
return bReadOnly;
}
void OTableEditorCtrl::SetReadOnly( bool bRead )
{
@@ -160,7 +160,7 @@ namespace dbaui
bool IsCutAllowed( long nRow = -1 );
bool IsCopyAllowed( long nRow = -1 );
bool IsPasteAllowed( long nRow = -1 );
bool IsReadOnly();
bool IsReadOnly() { return bReadOnly;}
OFieldDescription* GetFieldDescr( long nRow );
// window overloads
-120
View File
@@ -610,137 +610,29 @@ void CommandLineArgs::InitParamValues()
m_bDocumentArgs = false;
}
bool CommandLineArgs::IsMinimized() const
{
return m_minimized;
}
bool CommandLineArgs::IsInvisible() const
{
return m_invisible;
}
bool CommandLineArgs::IsNoRestore() const
{
return m_norestore;
}
bool CommandLineArgs::IsNoDefault() const
{
return m_nodefault;
}
bool CommandLineArgs::IsHeadless() const
{
return m_headless;
}
bool CommandLineArgs::IsQuickstart() const
{
return m_quickstart;
}
bool CommandLineArgs::IsNoQuickstart() const
{
return m_noquickstart;
}
bool CommandLineArgs::IsTerminateAfterInit() const
{
return m_terminateafterinit;
}
bool CommandLineArgs::IsNoLogo() const
{
return m_nologo;
}
bool CommandLineArgs::IsNoLockcheck() const
{
return m_nolockcheck;
}
bool CommandLineArgs::IsHelp() const
{
return m_help;
}
bool CommandLineArgs::IsHelpWriter() const
{
return m_helpwriter;
}
bool CommandLineArgs::IsHelpCalc() const
{
return m_helpcalc;
}
bool CommandLineArgs::IsHelpDraw() const
{
return m_helpdraw;
}
bool CommandLineArgs::IsHelpImpress() const
{
return m_helpimpress;
}
bool CommandLineArgs::IsHelpBase() const
{
return m_helpbase;
}
bool CommandLineArgs::IsHelpMath() const
{
return m_helpmath;
}
bool CommandLineArgs::IsHelpBasic() const
{
return m_helpbasic;
}
bool CommandLineArgs::IsWriter() const
{
return m_writer;
}
bool CommandLineArgs::IsCalc() const
{
return m_calc;
}
bool CommandLineArgs::IsDraw() const
{
return m_draw;
}
bool CommandLineArgs::IsImpress() const
{
return m_impress;
}
bool CommandLineArgs::IsBase() const
{
return m_base;
}
bool CommandLineArgs::IsGlobal() const
{
return m_global;
}
bool CommandLineArgs::IsMath() const
{
return m_math;
}
bool CommandLineArgs::IsWeb() const
{
return m_web;
}
bool CommandLineArgs::IsVersion() const
{
return m_version;
}
OUString CommandLineArgs::GetUnknown() const
{
@@ -753,10 +645,6 @@ bool CommandLineArgs::HasModuleParam() const
|| m_web || m_base;
}
bool CommandLineArgs::HasSplashPipe() const
{
return m_splashpipe;
}
std::vector< OUString > const & CommandLineArgs::GetAccept() const
{
@@ -832,15 +720,7 @@ OUString CommandLineArgs::GetConversionOut() const
return translateExternalUris(m_conversionout);
}
bool CommandLineArgs::IsEmpty() const
{
return m_bEmpty;
}
bool CommandLineArgs::WantsToLoadDocument() const
{
return m_bDocumentArgs;
}
OUString CommandLineArgs::GetPidfileName() const
{
+30 -30
View File
@@ -56,40 +56,40 @@ class CommandLineArgs: private boost::noncopyable
boost::optional< OUString > getCwdUrl() const { return m_cwdUrl; }
// Access to bool parameters
bool IsMinimized() const;
bool IsInvisible() const;
bool IsNoRestore() const;
bool IsNoDefault() const;
bool IsHeadless() const;
bool IsQuickstart() const;
bool IsNoQuickstart() const;
bool IsTerminateAfterInit() const;
bool IsNoLogo() const;
bool IsNoLockcheck() const;
bool IsHelp() const;
bool IsHelpWriter() const;
bool IsHelpCalc() const;
bool IsHelpDraw() const;
bool IsHelpImpress() const;
bool IsHelpBase() const;
bool IsHelpMath() const;
bool IsHelpBasic() const;
bool IsWriter() const;
bool IsCalc() const;
bool IsDraw() const;
bool IsImpress() const;
bool IsBase() const;
bool IsGlobal() const;
bool IsMath() const;
bool IsWeb() const;
bool IsVersion() const;
bool IsMinimized() const { return m_minimized;}
bool IsInvisible() const { return m_invisible;}
bool IsNoRestore() const { return m_norestore;}
bool IsNoDefault() const { return m_nodefault;}
bool IsHeadless() const { return m_headless;}
bool IsQuickstart() const { return m_quickstart;}
bool IsNoQuickstart() const { return m_noquickstart;}
bool IsTerminateAfterInit() const { return m_terminateafterinit;}
bool IsNoLogo() const { return m_nologo;}
bool IsNoLockcheck() const { return m_nolockcheck;}
bool IsHelp() const { return m_help;}
bool IsHelpWriter() const { return m_helpwriter;}
bool IsHelpCalc() const { return m_helpcalc;}
bool IsHelpDraw() const { return m_helpdraw;}
bool IsHelpImpress() const { return m_helpimpress;}
bool IsHelpBase() const { return m_helpbase;}
bool IsHelpMath() const { return m_helpmath;}
bool IsHelpBasic() const { return m_helpbasic;}
bool IsWriter() const { return m_writer;}
bool IsCalc() const { return m_calc;}
bool IsDraw() const { return m_draw;}
bool IsImpress() const { return m_impress;}
bool IsBase() const { return m_base;}
bool IsGlobal() const { return m_global;}
bool IsMath() const { return m_math;}
bool IsWeb() const { return m_web;}
bool IsVersion() const { return m_version;}
bool HasModuleParam() const;
bool WantsToLoadDocument() const;
bool WantsToLoadDocument() const { return m_bDocumentArgs;}
OUString GetUnknown() const;
// Access to string parameters
bool HasSplashPipe() const;
bool HasSplashPipe() const { return m_splashpipe;}
std::vector< OUString > const & GetAccept() const;
std::vector< OUString > const & GetUnaccept() const;
std::vector< OUString > GetOpenList() const;
@@ -108,7 +108,7 @@ class CommandLineArgs: private boost::noncopyable
OUString GetPidfileName() const;
// Special analyzed states (does not match directly to a command line parameter!)
bool IsEmpty() const;
bool IsEmpty() const { return m_bEmpty;}
private:
void ParseCommandLine_Impl( Supplier& supplier );
@@ -151,7 +151,7 @@ public:
FileDoesNotExistFilter(
const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv);
bool exist();
bool exist() { return m_bExist;}
// XCommandEnvironment
virtual css::uno::Reference<css::task::XInteractionHandler > SAL_CALL
getInteractionHandler() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -263,10 +263,6 @@ FileDoesNotExistFilter::~FileDoesNotExistFilter()
{
};
bool FileDoesNotExistFilter::exist()
{
return m_bExist;
}
// XCommandEnvironment
Reference<css::task::XInteractionHandler >
FileDoesNotExistFilter::getInteractionHandler() throw (css::uno::RuntimeException, std::exception)
+1 -5
View File
@@ -64,7 +64,7 @@ public:
JavaInfo* pData;
CJavaInfo();
~CJavaInfo();
operator JavaInfo* () const;
operator JavaInfo* () const { return pData;}
};
CJavaInfo::CJavaInfo(): pData(NULL)
@@ -76,10 +76,6 @@ CJavaInfo::~CJavaInfo()
jfw_freeJavaInfo(pData);
}
CJavaInfo::operator JavaInfo*() const
{
return pData;
}
class JavaMigration : public ::cppu::WeakImplHelper4<
@@ -252,20 +252,12 @@ namespace accessibility
}
}
int AccessibleEditableTextPara::getNotifierClientId() const
{
return mnNotifierClientId;
}
void AccessibleEditableTextPara::SetIndexInParent( sal_Int32 nIndex )
{
mnIndexInParent = nIndex;
}
sal_Int32 AccessibleEditableTextPara::GetIndexInParent() const
{
return mnIndexInParent;
}
void AccessibleEditableTextPara::SetParagraphIndex( sal_Int32 nIndex )
{
@@ -302,10 +294,6 @@ namespace accessibility
}
}
sal_Int32 AccessibleEditableTextPara::GetParagraphIndex() const
{
return mnParagraphIndex;
}
void AccessibleEditableTextPara::Dispose()
{
@@ -474,11 +474,6 @@ namespace accessibility
}
}
int AccessibleImageBullet::getNotifierClientId() const
{
return mnNotifierClientId;
}
void AccessibleImageBullet::SetParagraphIndex( sal_Int32 nIndex )
{
@@ -509,11 +504,6 @@ namespace accessibility
catch( const uno::Exception& ) {} // optional behaviour
}
sal_Int32 AccessibleImageBullet::GetParagraphIndex() const
{
return mnParagraphIndex;
}
SvxEditSource& AccessibleImageBullet::GetEditSource() const
{
-4
View File
@@ -1185,10 +1185,6 @@ const ContentNode* EditPaM::GetNode() const
return pNode;
}
ContentNode* EditPaM::GetNode()
{
return pNode;
}
void EditPaM::SetNode(ContentNode* p)
{
+1 -1
View File
@@ -306,7 +306,7 @@ public:
EditPaM(ContentNode* p, sal_Int32 n);
const ContentNode* GetNode() const;
ContentNode* GetNode();
ContentNode* GetNode() { return pNode;}
void SetNode(ContentNode* p);
sal_Int32 GetIndex() const { return nIndex; }
-12
View File
@@ -620,10 +620,6 @@ EditTextObjectImpl::~EditTextObjectImpl()
}
}
sal_uInt16 EditTextObjectImpl::GetUserType() const
{
return nUserType;
}
void EditTextObjectImpl::SetUserType( sal_uInt16 n )
{
@@ -653,10 +649,6 @@ std::vector<svl::SharedString> EditTextObjectImpl::GetSharedStrings() const
return aSSs;
}
bool EditTextObjectImpl::IsVertical() const
{
return bVertical;
}
void EditTextObjectImpl::SetVertical( bool b )
{
@@ -667,10 +659,6 @@ void EditTextObjectImpl::SetVertical( bool b )
}
}
sal_uInt16 EditTextObjectImpl::GetScriptType() const
{
return nScriptType;
}
void EditTextObjectImpl::SetScriptType( sal_uInt16 nType )
{
+3 -3
View File
@@ -205,16 +205,16 @@ public:
EditTextObjectImpl( EditTextObject* pFront, const EditTextObjectImpl& r );
~EditTextObjectImpl();
sal_uInt16 GetUserType() const;
sal_uInt16 GetUserType() const { return nUserType;}
void SetUserType( sal_uInt16 n );
void NormalizeString( svl::SharedStringPool& rPool );
std::vector<svl::SharedString> GetSharedStrings() const;
bool IsVertical() const;
bool IsVertical() const { return bVertical;}
void SetVertical( bool b );
sal_uInt16 GetScriptType() const;
sal_uInt16 GetScriptType() const { return nScriptType;}
void SetScriptType( sal_uInt16 nType );
ContentInfo* CreateAndInsertContent();
-4
View File
@@ -126,10 +126,6 @@ EditUndo::~EditUndo()
{
}
EditEngine* EditUndo::GetEditEngine()
{
return mpEditEngine;
}
sal_uInt16 EditUndo::GetId() const
{
-4
View File
@@ -721,10 +721,6 @@ void SvxTableField::SetTab(int nTab)
mnTab = nTab;
}
int SvxTableField::GetTab() const
{
return mnTab;
}
SvxFieldData* SvxTableField::Clone() const
{
-20
View File
@@ -449,10 +449,6 @@ void SvxNumberFormat::SetBulletFont(const Font* pFont)
pBulletFont = pFont ? new Font(*pFont): 0;
}
SvxNumberFormat::SvxNumPositionAndSpaceMode SvxNumberFormat::GetPositionAndSpaceMode() const
{
return mePositionAndSpaceMode;
}
void SvxNumberFormat::SetPositionAndSpaceMode( SvxNumPositionAndSpaceMode ePositionAndSpaceMode )
{
mePositionAndSpaceMode = ePositionAndSpaceMode;
@@ -483,34 +479,18 @@ void SvxNumberFormat::SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy
{
meLabelFollowedBy = eLabelFollowedBy;
}
SvxNumberFormat::LabelFollowedBy SvxNumberFormat::GetLabelFollowedBy() const
{
return meLabelFollowedBy;
}
void SvxNumberFormat::SetListtabPos( const long nListtabPos )
{
mnListtabPos = nListtabPos;
}
long SvxNumberFormat::GetListtabPos() const
{
return mnListtabPos;
}
void SvxNumberFormat::SetFirstLineIndent( const long nFirstLineIndent )
{
mnFirstLineIndent = nFirstLineIndent;
}
long SvxNumberFormat::GetFirstLineIndent() const
{
return mnFirstLineIndent;
}
void SvxNumberFormat::SetIndentAt( const long nIndentAt )
{
mnIndentAt = nIndentAt;
}
long SvxNumberFormat::GetIndentAt() const
{
return mnIndentAt;
}
IMPL_STATIC_LINK( SvxNumberFormat, GraphicArrived, void *, EMPTYARG )
{
-8
View File
@@ -45,15 +45,7 @@ sal_uLong SvxEditSourceHint::GetValue() const
return TextHint::GetValue();
}
sal_Int32 SvxEditSourceHint::GetStartValue() const
{
return mnStart;
}
sal_Int32 SvxEditSourceHint::GetEndValue() const
{
return mnEnd;
}
TYPEINIT1( SvxEditSourceHintEndPara , SvxEditSourceHint );

Some files were not shown because too many files have changed in this diff Show More