summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 12:53:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 09:26:05 +0200
commit7b83ed313e0e54cb7da4525d13f63937e10867fa (patch)
treee5b950d14cfb8461f5ffb81af1af023b546024f7 /include
parent32878b68574f8fb27a122dd3a356e369391bdfa6 (diff)
loplugin:constparams in svtools
Change-Id: I2620419828864363af55011abe56143bb7d42f48 Reviewed-on: https://gerrit.libreoffice.org/40154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/brwbox.hxx2
-rw-r--r--include/svtools/editbrowsebox.hxx2
-rw-r--r--include/svtools/embedhlp.hxx2
-rw-r--r--include/svtools/fileview.hxx2
-rw-r--r--include/svtools/fmtfield.hxx2
-rw-r--r--include/svtools/grfmgr.hxx10
-rw-r--r--include/svtools/insdlg.hxx2
-rw-r--r--include/svtools/ivctrl.hxx4
-rw-r--r--include/svtools/parhtml.hxx2
-rw-r--r--include/svtools/popupmenucontrollerbase.hxx2
-rw-r--r--include/svtools/prnsetup.hxx8
-rw-r--r--include/svtools/ruler.hxx2
-rw-r--r--include/svtools/sampletext.hxx6
-rw-r--r--include/svtools/scriptedtext.hxx2
-rw-r--r--include/svtools/svlbitm.hxx2
-rw-r--r--include/svtools/svparser.hxx2
-rw-r--r--include/svtools/svtabbx.hxx2
-rw-r--r--include/svtools/toolbarmenu.hxx2
-rw-r--r--include/svtools/treelist.hxx10
-rw-r--r--include/svtools/treelistbox.hxx14
-rw-r--r--include/svtools/valueset.hxx4
-rw-r--r--include/svtools/wizardmachine.hxx2
22 files changed, 43 insertions, 43 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index a5eee89784fe..53ca0cc2cbb8 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -335,7 +335,7 @@ protected:
*/
virtual bool SeekRow( long nRow ) = 0;
void DrawCursor();
- void PaintData(vcl::Window& rWin, vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect);
+ void PaintData(vcl::Window const & rWin, vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect);
virtual void PaintField(OutputDevice& rDev, const tools::Rectangle& rRect, sal_uInt16 nColumnId) const = 0;
// Advice for the subclass: the visible scope of rows has changed.
// The subclass is able to announce changes of the model with the
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index c71d57e42461..2e6ca0d7e71e 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -560,7 +560,7 @@ namespace svt
virtual CellController* GetController(long nRow, sal_uInt16 nCol);
virtual void InitController(CellControllerRef& rController, long nRow, sal_uInt16 nCol);
- static void ResizeController(CellControllerRef& rController, const tools::Rectangle&);
+ static void ResizeController(CellControllerRef const & rController, const tools::Rectangle&);
virtual void DoubleClick(const BrowserMouseEvent&) override;
void ActivateCell() { ActivateCell(GetCurRow(), GetCurColumnId()); }
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 3db446579142..30a5cdc6338e 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -96,7 +96,7 @@ public:
// the original size of the object ( size of the icon for iconified object )
// no conversion is done if no target mode is provided
- Size GetSize( MapMode* pTargetMapMode ) const;
+ Size GetSize( MapMode const * pTargetMapMode ) const;
void SetGraphic( const Graphic& rGraphic, const OUString& rMediaType );
void SetGraphicStream(
diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx
index df2be7551307..8e1d14df36fc 100644
--- a/include/svtools/fileview.hxx
+++ b/include/svtools/fileview.hxx
@@ -90,7 +90,7 @@ public:
void SetViewMode( FileViewMode eMode );
const OUString& GetViewURL() const;
- static OUString GetURL( SvTreeListEntry* pEntry );
+ static OUString GetURL( SvTreeListEntry const * pEntry );
OUString GetCurrentURL() const;
bool GetParentURL( OUString& _rParentURL ) const;
diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx
index 680c611999ba..99e3998e2451 100644
--- a/include/svtools/fmtfield.hxx
+++ b/include/svtools/fmtfield.hxx
@@ -236,7 +236,7 @@ protected:
// any aspect of the current format has changed
virtual void FormatChanged(FORMAT_CHANGE_TYPE nWhat);
- void ImplSetTextImpl(const OUString& rNew, Selection* pNewSel);
+ void ImplSetTextImpl(const OUString& rNew, Selection const * pNewSel);
void ImplSetValue(double dValue, bool bForce);
bool ImplGetValue(double& dNewVal);
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 6f9ca865957f..a6339128c479 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -202,7 +202,7 @@ private:
static void SVT_DLLPRIVATE ImplEnsureGraphicManager();
void SVT_DLLPRIVATE ImplAutoSwapIn();
bool SVT_DLLPRIVATE ImplGetCropParams(
- OutputDevice* pOut,
+ OutputDevice const * pOut,
Point& rPt,
Size& rSz,
const GraphicAttr* pAttr,
@@ -337,7 +337,7 @@ public:
}
bool IsCached(
- OutputDevice* pOut,
+ OutputDevice const * pOut,
const Size& rSz,
const GraphicAttr* pAttr,
GraphicManagerDrawFlags nFlags = GraphicManagerDrawFlags::STANDARD
@@ -505,7 +505,7 @@ private:
OutputDevice* pOut,
const Point& rPt,
const Size& rSz,
- GraphicObject& rObj,
+ GraphicObject const & rObj,
const GraphicAttr& rAttr,
bool& rCached
);
@@ -589,7 +589,7 @@ public:
void SetCacheTimeout( sal_uLong nTimeoutSeconds );
bool IsInCache(
- OutputDevice* pOut,
+ OutputDevice const * pOut,
const Point& rPt,
const Size& rSz,
const GraphicObject& rObj,
@@ -600,7 +600,7 @@ public:
OutputDevice* pOut,
const Point& rPt,
const Size& rSz,
- GraphicObject& rObj,
+ GraphicObject const & rObj,
const GraphicAttr& rAttr,
const GraphicManagerDrawFlags nFlags,
bool& rCached
diff --git a/include/svtools/insdlg.hxx b/include/svtools/insdlg.hxx
index 58bada8fadd2..1c37552e87c1 100644
--- a/include/svtools/insdlg.hxx
+++ b/include/svtools/insdlg.hxx
@@ -70,7 +70,7 @@ class SVT_DLLPUBLIC SvPasteObjectHelper
{
public:
static OUString GetSotFormatUIName( SotClipboardFormatId nId );
- static bool GetEmbeddedName(const TransferableDataHelper& rData, OUString& _rName, OUString& _rSource, SotClipboardFormatId& _nFormat);
+ static bool GetEmbeddedName(const TransferableDataHelper& rData, OUString& _rName, OUString& _rSource, SotClipboardFormatId const & _nFormat);
};
#endif // INCLUDED_SVTOOLS_INSDLG_HXX
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index 93b851b88d7a..3cb0171f35cf 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -206,11 +206,11 @@ protected:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
virtual void RequestHelp( const HelpEvent& rHEvt ) override;
static void DrawEntryImage(
- SvxIconChoiceCtrlEntry* pEntry,
+ SvxIconChoiceCtrlEntry const * pEntry,
const Point& rPos,
OutputDevice& rDev );
- static OUString GetEntryText( SvxIconChoiceCtrlEntry* pEntry );
+ static OUString GetEntryText( SvxIconChoiceCtrlEntry const * pEntry );
virtual void FillLayoutData() const override;
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx
index 8b070b15107a..8ffa953ad58c 100644
--- a/include/svtools/parhtml.hxx
+++ b/include/svtools/parhtml.hxx
@@ -226,7 +226,7 @@ public:
// Determine the options. pNoConvertToken is the optional token
// of an option, for which the CR/LFs are not deleted from the value
// of the option.
- const HTMLOptions& GetOptions( HtmlOptionId *pNoConvertToken=nullptr );
+ const HTMLOptions& GetOptions( HtmlOptionId const *pNoConvertToken=nullptr );
// for asynchronous reading from the SvStream
virtual void Continue( HtmlTokenId nToken ) override;
diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx
index 0380b3fe1afa..f9ee89f0cec9 100644
--- a/include/svtools/popupmenucontrollerbase.hxx
+++ b/include/svtools/popupmenucontrollerbase.hxx
@@ -106,7 +106,7 @@ namespace svt
*/
virtual void SAL_CALL disposing() override;
- static void resetPopupMenu( css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
+ static void resetPopupMenu( css::uno::Reference< css::awt::XPopupMenu > const & rPopupMenu );
virtual void impl_setPopupMenu();
static OUString determineBaseURL( const OUString& aURL );
diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx
index 383c718bd97a..64c2ed5d4d7e 100644
--- a/include/svtools/prnsetup.hxx
+++ b/include/svtools/prnsetup.hxx
@@ -75,10 +75,10 @@ public:
void ImplFillPrnDlgListBox( const Printer* pPrinter,
ListBox* pBox, PushButton* pPropBtn );
void ImplFreePrnDlgListBox( ListBox* pBox, bool bClear = true );
-Printer* ImplPrnDlgListBoxSelect( ListBox* pBox, PushButton* pPropBtn,
- Printer* pPrinter, Printer* pTempPrinter );
-Printer* ImplPrnDlgUpdatePrinter( Printer* pPrinter, Printer* pTempPrinter );
-void ImplPrnDlgUpdateQueueInfo( ListBox* pBox, QueueInfo& rInfo );
+Printer* ImplPrnDlgListBoxSelect( ListBox const * pBox, PushButton* pPropBtn,
+ Printer const * pPrinter, Printer* pTempPrinter );
+Printer* ImplPrnDlgUpdatePrinter( Printer const * pPrinter, Printer* pTempPrinter );
+void ImplPrnDlgUpdateQueueInfo( ListBox const * pBox, QueueInfo& rInfo );
OUString ImplPrnDlgGetStatusText( const QueueInfo& rInfo );
#endif // INCLUDED_SVTOOLS_PRNSETUP_HXX
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index f1e1a3b6c4db..e95febf8fabd 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -682,7 +682,7 @@ private:
SVT_DLLPRIVATE void ImplInit( WinBits nWinBits );
SVT_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SVT_DLLPRIVATE void ImplCalc();
- SVT_DLLPRIVATE void ImplFormat(vcl::RenderContext& rRenderContext);
+ SVT_DLLPRIVATE void ImplFormat(vcl::RenderContext const & rRenderContext);
SVT_DLLPRIVATE void ImplInitExtraField( bool bUpdate );
SVT_DLLPRIVATE void ImplInvertLines(vcl::RenderContext& rRenderContext);
SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext);
diff --git a/include/svtools/sampletext.hxx b/include/svtools/sampletext.hxx
index c241e19a7500..20dc592596e5 100644
--- a/include/svtools/sampletext.hxx
+++ b/include/svtools/sampletext.hxx
@@ -24,12 +24,12 @@ SVT_DLLPUBLIC UScriptCode otCoverageToScript(vcl::UnicodeCoverage::UnicodeCovera
SVT_DLLPUBLIC bool isSymbolFont(const vcl::Font &rFont);
SVT_DLLPUBLIC bool isOpenSymbolFont(const vcl::Font &rFont);
-SVT_DLLPUBLIC bool canRenderNameOfSelectedFont(OutputDevice &rDevice);
+SVT_DLLPUBLIC bool canRenderNameOfSelectedFont(OutputDevice const &rDevice);
//These ones are typically for use in the font dropdown box beside the
//fontname, so say things roughly like "Script/Alphabet/Name-Of-Major-Language"
-SVT_DLLPUBLIC OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice &rDevice);
-SVT_DLLPUBLIC OUString makeShortRepresentativeTextForSelectedFont(OutputDevice &rDevice);
+SVT_DLLPUBLIC OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice const &rDevice);
+SVT_DLLPUBLIC OUString makeShortRepresentativeTextForSelectedFont(OutputDevice const &rDevice);
SVT_DLLPUBLIC OUString makeShortRepresentativeTextForScript(UScriptCode eScript);
//For the cases where the font doesn't fully support a script, but has partial support
//for a useful subset
diff --git a/include/svtools/scriptedtext.hxx b/include/svtools/scriptedtext.hxx
index 7d11eba55348..7b8d6cd0f46e 100644
--- a/include/svtools/scriptedtext.hxx
+++ b/include/svtools/scriptedtext.hxx
@@ -62,7 +62,7 @@ public:
The font for asian characters.
@param _pCmplxFont
The font for complex text layout. */
- void SetFonts( vcl::Font* _pLatinFont, vcl::Font* _pAsianFont, vcl::Font* _pCmplxFont );
+ void SetFonts( vcl::Font const * _pLatinFont, vcl::Font const * _pAsianFont, vcl::Font const * _pCmplxFont );
/** Sets the default font of the current output device to all script types. */
void SetDefaultFont();
diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx
index 2e3b7da0245c..2fbe1e6e9cf8 100644
--- a/include/svtools/svlbitm.hxx
+++ b/include/svtools/svlbitm.hxx
@@ -140,7 +140,7 @@ class SVT_DLLPUBLIC SvLBoxButton : public SvLBoxItem
SvLBoxButtonKind eKind;
SvItemStateFlags nItemFlags;
- static void ImplAdjustBoxSize( Size& io_rCtrlSize, ControlType i_eType, vcl::RenderContext& pRenderContext);
+ static void ImplAdjustBoxSize( Size& io_rCtrlSize, ControlType i_eType, vcl::RenderContext const & pRenderContext);
public:
// An SvLBoxButton can be of three different kinds: an
// enabled checkbox (the normal kind), a disabled checkbox
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index 2faa184d7643..5ab0df9fca01 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -178,7 +178,7 @@ public:
/** Assignment.
*/
- SvKeyValue& operator= (SvKeyValue &rOther)
+ SvKeyValue& operator= (SvKeyValue const &rOther)
{
m_aKey = rOther.m_aKey;
m_aValue = rOther.m_aValue;
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index 5c1df4059909..e652aa9c9a51 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -154,7 +154,7 @@ public:
sal_uLong nPos = TREELIST_APPEND, sal_uInt16 nCol = 0xffff, void* pUserData = nullptr ) override;
virtual sal_uLong Insert( SvTreeListEntry* pEnt,SvTreeListEntry* pPar,sal_uLong nPos=TREELIST_APPEND) override;
virtual sal_uLong Insert( SvTreeListEntry* pEntry, sal_uLong nRootPos = TREELIST_APPEND ) override;
- void RemoveEntry( SvTreeListEntry* _pEntry );
+ void RemoveEntry( SvTreeListEntry const * _pEntry );
void Clear();
// Accessible -------------------------------------------------------------
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx
index 3135bf2a7f8d..5f990ef0dcad 100644
--- a/include/svtools/toolbarmenu.hxx
+++ b/include/svtools/toolbarmenu.hxx
@@ -126,7 +126,7 @@ private:
void appendEntry(std::unique_ptr<ToolbarMenuEntry> pEntry);
- void implPaint(vcl::RenderContext& rRenderContext, ToolbarMenuEntry* pThisOnly = nullptr, bool bHighlight = false);
+ void implPaint(vcl::RenderContext& rRenderContext, ToolbarMenuEntry const * pThisOnly = nullptr, bool bHighlight = false);
void implHighlightEntry(vcl::RenderContext& rRenderContext, int nHighlightEntry);
void implHighlightAtPosition(const MouseEvent& rMEvt);
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index 01ed48aeae7a..483575b01c6b 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -91,7 +91,7 @@ class SVT_DLLPUBLIC SvTreeList final
bool IsEntryVisible( const SvListView*,SvTreeListEntry* pEntry ) const;
SvTreeListEntry* GetEntryAtVisPos( const SvListView*,sal_uLong nVisPos ) const;
- sal_uLong GetVisiblePos( const SvListView*,SvTreeListEntry* pEntry ) const;
+ sal_uLong GetVisiblePos( const SvListView*,SvTreeListEntry const * pEntry ) const;
sal_uLong GetVisibleCount( SvListView* ) const;
sal_uLong GetVisibleChildCount( const SvListView*,SvTreeListEntry* pParent ) const;
@@ -120,7 +120,7 @@ class SVT_DLLPUBLIC SvTreeList final
// rPos is not changed for SortModeNone
SVT_DLLPRIVATE void GetInsertionPos(
- SvTreeListEntry* pEntry,
+ SvTreeListEntry const * pEntry,
SvTreeListEntry* pParent,
sal_uLong& rPos
);
@@ -139,7 +139,7 @@ public:
~SvTreeList();
void InsertView( SvListView* );
- void RemoveView( SvListView* );
+ void RemoveView( SvListView const * );
void Broadcast(
SvListAction nActionId,
@@ -299,10 +299,10 @@ public:
SvTreeListEntry* GetEntryAtVisPos( sal_uLong nVisPos ) const
{ return pModel->GetEntryAtVisPos(this,nVisPos); }
- sal_uLong GetAbsPos( SvTreeListEntry* pEntry ) const
+ sal_uLong GetAbsPos( SvTreeListEntry const * pEntry ) const
{ return pModel->GetAbsPos(pEntry); }
- sal_uLong GetVisiblePos( SvTreeListEntry* pEntry ) const
+ sal_uLong GetVisiblePos( SvTreeListEntry const * pEntry ) const
{ return pModel->GetVisiblePos(this,pEntry); }
sal_uLong GetVisibleChildCount(SvTreeListEntry* pParent ) const
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 3558842ae217..326cb6abf581 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -284,7 +284,7 @@ private:
protected:
- bool CheckDragAndDropMode( SvTreeListBox* pSource, sal_Int8 );
+ bool CheckDragAndDropMode( SvTreeListBox const * pSource, sal_Int8 );
void ImplShowTargetEmphasis( SvTreeListEntry* pEntry, bool bShow);
void EnableSelectionAsDropTarget( bool bEnable = true );
// Standard impl returns 0; derived classes which support D'n'D must override
@@ -381,7 +381,7 @@ public:
/**
* Removes the entry along with all of its descendants
*/
- void RemoveEntry(SvTreeListEntry* pEntry);
+ void RemoveEntry(SvTreeListEntry const * pEntry);
DragDropMode GetDragDropMode() const { return nDragDropMode; }
SelectionMode GetSelectionMode() const { return eSelMode; }
@@ -399,11 +399,11 @@ public:
SvTreeListEntry* GetRootLevelParent(SvTreeListEntry* pEntry ) const;
using Window::GetChildCount;
- sal_uLong GetChildCount( SvTreeListEntry* pParent ) const;
+ sal_uLong GetChildCount( SvTreeListEntry const * pParent ) const;
sal_uLong GetLevelChildCount( SvTreeListEntry* pParent ) const;
- SvViewDataEntry* GetViewDataEntry( SvTreeListEntry* pEntry ) const;
- SvViewDataItem* GetViewDataItem(SvTreeListEntry*, SvLBoxItem*);
+ SvViewDataEntry* GetViewDataEntry( SvTreeListEntry const * pEntry ) const;
+ SvViewDataItem* GetViewDataItem(SvTreeListEntry const *, SvLBoxItem const *);
const SvViewDataItem* GetViewDataItem(const SvTreeListEntry*, const SvLBoxItem*) const;
bool IsInplaceEditingEnabled() const { return bool(nImpFlags & SvTreeListBoxFlags::EDT_ENABLED); }
@@ -535,7 +535,7 @@ protected:
SVT_DLLPRIVATE short GetHeightOffset( const Image& rBmp, Size& rLogicSize);
- SVT_DLLPRIVATE void SetEntryHeight( SvTreeListEntry* pEntry );
+ SVT_DLLPRIVATE void SetEntryHeight( SvTreeListEntry const * pEntry );
SVT_DLLPRIVATE void AdjustEntryHeight( const Image& rBmp );
SVT_DLLPRIVATE void AdjustEntryHeight();
@@ -562,7 +562,7 @@ protected:
SvLBoxTab* GetFirstDynamicTab( sal_uInt16& rTabPos ) const;
SvLBoxTab* GetFirstTab( SvLBoxTabFlags nFlagMask, sal_uInt16& rTabPos );
void GetLastTab( SvLBoxTabFlags nFlagMask, sal_uInt16& rTabPos );
- SvLBoxTab* GetTab( SvTreeListEntry*, SvLBoxItem* ) const;
+ SvLBoxTab* GetTab( SvTreeListEntry const *, SvLBoxItem const * ) const;
void ClearTabList();
virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind);
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index 3a5d64afe92e..cea3251174bf 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -246,7 +246,7 @@ private:
SVT_DLLPRIVATE void ImplInitScrollBar();
SVT_DLLPRIVATE void ImplDeleteItems();
- SVT_DLLPRIVATE void ImplFormatItem(vcl::RenderContext& rRenderContext, ValueSetItem* pItem, tools::Rectangle aRect);
+ SVT_DLLPRIVATE void ImplFormatItem(vcl::RenderContext const & rRenderContext, ValueSetItem* pItem, tools::Rectangle aRect);
SVT_DLLPRIVATE void ImplDrawItemText(vcl::RenderContext& rRenderContext, const OUString& rStr);
SVT_DLLPRIVATE void ImplDrawSelect(vcl::RenderContext& rRenderContext, sal_uInt16 nItemId, const bool bFocus, const bool bDrawSel);
SVT_DLLPRIVATE void ImplDrawSelect(vcl::RenderContext& rRenderContext);
@@ -376,7 +376,7 @@ public:
void SetExtraSpacing( sal_uInt16 nNewSpacing );
- void Format(vcl::RenderContext& rRenderContext);
+ void Format(vcl::RenderContext const & rRenderContext);
void SetFormat();
void StartSelection();
diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx
index bfd80a724015..6a354a39fe80 100644
--- a/include/svtools/wizardmachine.hxx
+++ b/include/svtools/wizardmachine.hxx
@@ -348,7 +348,7 @@ namespace svt
DECL_DLLPRIVATE_LINK(OnPrevPage, Button*, void);
DECL_DLLPRIVATE_LINK(OnFinish, Button*, void);
- SVT_DLLPRIVATE void implResetDefault(vcl::Window* _pWindow);
+ SVT_DLLPRIVATE void implResetDefault(vcl::Window const * _pWindow);
SVT_DLLPRIVATE void implUpdateTitle();
SVT_DLLPRIVATE void implConstruct( const WizardButtonFlags _nButtonFlags );
};