summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 14:22:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-14 14:30:35 +0100
commita1b58e93f631c6bfd92fc8269da89c74e3784d58 (patch)
treef4c41dfaf52962712557a101294959555b673ef4 /include
parent03782946065d8a31808f1dab9bc848d349d623f1 (diff)
loplugin:constantparam
Change-Id: I3ce653c0d9e517229dbbe32cc8d3ec3c206e364d Reviewed-on: https://gerrit.libreoffice.org/51273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/frame.hxx2
-rw-r--r--include/svx/galtheme.hxx2
-rw-r--r--include/svx/svdtext.hxx2
-rw-r--r--include/tools/urlobj.hxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx
index 6306156c8c36..89d5a75c6586 100644
--- a/include/sfx2/frame.hxx
+++ b/include/sfx2/frame.hxx
@@ -107,7 +107,7 @@ public:
static SfxFrame* Create( const css::uno::Reference< css::frame::XFrame >& xFrame );
static css::uno::Reference< css::frame::XFrame >
CreateBlankFrame();
- static SfxFrame* Create( SfxObjectShell const & rDoc, vcl::Window& rWindow, SfxInterfaceId nViewId, bool bHidden );
+ static SfxFrame* CreateHidden( SfxObjectShell const & rDoc, vcl::Window& rWindow, SfxInterfaceId nViewId );
vcl::Window& GetWindow() const { return *pWindow;}
void CancelTransfers();
diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx
index 3f191502b305..8442f95ca705 100644
--- a/include/svx/galtheme.hxx
+++ b/include/svx/galtheme.hxx
@@ -183,7 +183,7 @@ public:
SAL_DLLPRIVATE bool GetThumb(sal_uInt32 nPos, BitmapEx& rBmp);
- bool GetGraphic(sal_uInt32 nPos, Graphic& rGraphic, bool bProgress = false);
+ bool GetGraphic(sal_uInt32 nPos, Graphic& rGraphic);
bool InsertGraphic(const Graphic& rGraphic, sal_uInt32 nInsertPos);
bool GetModel(sal_uInt32 nPos, SdrModel& rModel);
diff --git a/include/svx/svdtext.hxx b/include/svx/svdtext.hxx
index c5c8831841c0..020d8a483b4b 100644
--- a/include/svx/svdtext.hxx
+++ b/include/svx/svdtext.hxx
@@ -44,7 +44,7 @@ class SfxStyleSheet;
class SVX_DLLPUBLIC SdrText : public virtual tools::WeakBase
{
public:
- SdrText( SdrTextObj& rObject, OutlinerParaObject* pOutlinerParaObject = nullptr );
+ explicit SdrText( SdrTextObj& rObject );
virtual ~SdrText() override;
virtual void SetModel(SdrModel* pNewModel);
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 819cc3136596..3624d2f89122 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -1126,7 +1126,7 @@ private:
OUStringBuffer & rTheText, sal_uInt32 nOctet);
static OUString encodeText(
- sal_Unicode const * pBegin, sal_Unicode const * pEnd, bool bOctets,
+ sal_Unicode const * pBegin, sal_Unicode const * pEnd,
Part ePart, EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bKeepVisibleEscapes);
@@ -1157,7 +1157,7 @@ inline OUString INetURLObject::encodeText(OUString const & rTheText,
bool bKeepVisibleEscapes)
{
return encodeText(rTheText.getStr(),
- rTheText.getStr() + rTheText.getLength(), /*bOctets*/false, ePart,
+ rTheText.getStr() + rTheText.getLength(), ePart,
eMechanism, eCharset, bKeepVisibleEscapes);
}