loplugin:constparams in dbaccess..oox
Change-Id: I9c04906dd492c6f8a816f57f40bc31406a871a78 Reviewed-on: https://gerrit.libreoffice.org/66793 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -33,7 +33,7 @@ using namespace com::sun::star::container;
|
||||
|
||||
// OTableSubscriptionDialog
|
||||
OTableSubscriptionDialog::OTableSubscriptionDialog(vcl::Window* pParent
|
||||
,SfxItemSet* _pItems
|
||||
,const SfxItemSet* _pItems
|
||||
,const Reference< XComponentContext >& _rxORB
|
||||
,const css::uno::Any& _aDataSourceName)
|
||||
: SfxSingleTabDialog(pParent, _pItems, "TablesFilterDialog",
|
||||
|
||||
@@ -48,7 +48,7 @@ class ODbDataSourceAdministrationHelper;
|
||||
public:
|
||||
|
||||
OTableSubscriptionDialog(vcl::Window* pParent
|
||||
,SfxItemSet* _pItems
|
||||
,const SfxItemSet* _pItems
|
||||
,const css::uno::Reference< css::uno::XComponentContext >& _rxORB
|
||||
,const css::uno::Any& _aDataSourceName
|
||||
);
|
||||
|
||||
@@ -183,11 +183,11 @@ namespace dbaui
|
||||
void callColumnFormatDialog(const css::uno::Reference< css::beans::XPropertySet>& _xAffectedCol,
|
||||
const css::uno::Reference< css::beans::XPropertySet>& _xField,
|
||||
SvNumberFormatter* _pFormatter,
|
||||
vcl::Window* _pParent);
|
||||
const vcl::Window* _pParent);
|
||||
|
||||
/** second variant of the function before
|
||||
*/
|
||||
bool callColumnFormatDialog(vcl::Window* _pParent,
|
||||
bool callColumnFormatDialog(const vcl::Window* _pParent,
|
||||
SvNumberFormatter* _pFormatter,
|
||||
sal_Int32 _nDataType,
|
||||
sal_Int32& _nFormatKey,
|
||||
|
||||
@@ -741,7 +741,7 @@ SvxCellHorJustify mapTextJustify(sal_Int32 _nAlignment)
|
||||
void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol,
|
||||
const Reference<XPropertySet>& xField,
|
||||
SvNumberFormatter* _pFormatter,
|
||||
vcl::Window* _pParent)
|
||||
const vcl::Window* _pParent)
|
||||
{
|
||||
if (xAffectedCol.is() && xField.is())
|
||||
{
|
||||
@@ -774,7 +774,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol,
|
||||
}
|
||||
}
|
||||
|
||||
bool callColumnFormatDialog(vcl::Window* _pParent,
|
||||
bool callColumnFormatDialog(const vcl::Window* _pParent,
|
||||
SvNumberFormatter* _pFormatter,
|
||||
sal_Int32 _nDataType,
|
||||
sal_Int32& _nFormatKey,
|
||||
|
||||
@@ -43,7 +43,7 @@ using namespace ::com::sun::star::sdbc;
|
||||
|
||||
DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
|
||||
const TTableConnectionData::value_type& _pData,
|
||||
OJoinTableView::OTableWindowMap* _pTableMap,
|
||||
const OJoinTableView::OTableWindowMap* _pTableMap,
|
||||
const Reference< XConnection >& _xConnection,
|
||||
bool _bAllowTableSelect)
|
||||
: ModalDialog( pParent, "JoinDialog", "dbaccess/ui/joindialog.ui" )
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace dbaui
|
||||
public:
|
||||
DlgQryJoin( OQueryTableView * pParent,
|
||||
const TTableConnectionData::value_type& pData,
|
||||
OJoinTableView::OTableWindowMap* _pTableMap,
|
||||
const OJoinTableView::OTableWindowMap* _pTableMap,
|
||||
const css::uno::Reference< css::sdbc::XConnection >& _xConnection,
|
||||
bool _bAllowTableSelect);
|
||||
virtual ~DlgQryJoin() override;
|
||||
|
||||
@@ -44,7 +44,7 @@ std::unique_ptr<double[]> mgcLinearSystemD::NewVector (int N)
|
||||
return B;
|
||||
}
|
||||
|
||||
bool mgcLinearSystemD::Solve (int n, std::unique_ptr<std::unique_ptr<double[]>[]>& a, double* b)
|
||||
bool mgcLinearSystemD::Solve (int n, std::unique_ptr<std::unique_ptr<double[]>[]> const & a, double* b)
|
||||
{
|
||||
std::unique_ptr<int[]> indxc( new int[n] );
|
||||
if ( !indxc )
|
||||
|
||||
@@ -26,7 +26,7 @@ public:
|
||||
static std::unique_ptr<std::unique_ptr<double[]>[]> NewMatrix (int N);
|
||||
static std::unique_ptr<double[]> NewVector (int N);
|
||||
|
||||
static bool Solve (int N, std::unique_ptr<std::unique_ptr<double[]>[]>& A, double* b);
|
||||
static bool Solve (int N, std::unique_ptr<std::unique_ptr<double[]>[]> const & A, double* b);
|
||||
// Input:
|
||||
// A[N][N] coefficient matrix, entries are A[row][col]
|
||||
// b[N] vector, entries are b[row]
|
||||
|
||||
@@ -426,7 +426,7 @@ static SdrTextHorzAdjust lcl_convertAdjust( ParagraphAdjust eAdjust )
|
||||
return SDRTEXTHORZADJUST_LEFT;
|
||||
}
|
||||
|
||||
static void lcl_createPresetShape(uno::Reference<drawing::XShape>& xShape,
|
||||
static void lcl_createPresetShape(const uno::Reference<drawing::XShape>& xShape,
|
||||
const OUString& rClass, const OUString& rPresetType,
|
||||
const CustomShapePropertiesPtr& pCustomShapePropertiesPtr,
|
||||
const TextBodyPtr& pTextBody,
|
||||
|
||||
@@ -70,7 +70,7 @@ TableCell::~TableCell()
|
||||
}
|
||||
|
||||
static void applyLineAttributes( const ::oox::core::XmlFilterBase& rFilterBase,
|
||||
Reference< XPropertySet > const & rxPropSet, oox::drawingml::LineProperties& rLineProperties,
|
||||
Reference< XPropertySet > const & rxPropSet, oox::drawingml::LineProperties const & rLineProperties,
|
||||
sal_Int32 nPropId )
|
||||
{
|
||||
BorderLine2 aBorderLine;
|
||||
|
||||
Reference in New Issue
Block a user