diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 12:28:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 13:37:24 +0100 |
commit | a6bcb8c35e926a5d8965636f3561fec91880c7f7 (patch) | |
tree | 59feb1e228c45b8b5c857cc29420cb868f391ffc /include | |
parent | ae510e67cdc644c541ffa26b2f91bba71a9856d2 (diff) |
loplugin:constantparam in linguistic..sfx2
Change-Id: I0e8c506df0beb0b05d9c32723876b11b6577280a
Reviewed-on: https://gerrit.libreoffice.org/50938
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/export/drawingml.hxx | 2 | ||||
-rw-r--r-- | include/oox/helper/binaryinputstream.hxx | 7 | ||||
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/filedlghelper.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/mgetempl.hxx | 3 | ||||
-rw-r--r-- | include/svx/svxdlg.hxx | 3 |
6 files changed, 6 insertions, 12 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 33c301285a27..115f6d46148c 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -216,7 +216,7 @@ public: void WriteLinespacing( const css::style::LineSpacing& rLineSpacing ); OUString WriteBlip( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, - const OUString& rURL, bool bRelPathToMedia, const Graphic *pGraphic=nullptr ); + const OUString& rURL, bool bRelPathToMedia ); OUString WriteXGraphicBlip(css::uno::Reference<css::beans::XPropertySet> const & rXPropSet, css::uno::Reference<css::graphic::XGraphic> const & rxGraphic, diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx index c6b59459f0d8..1b0a7e46918b 100644 --- a/include/oox/helper/binaryinputstream.hxx +++ b/include/oox/helper/binaryinputstream.hxx @@ -163,15 +163,12 @@ public: OUString readCharArrayUC( sal_Int32 nChars, rtl_TextEncoding eTextEnc ); /** Reads a Unicode character array and returns the string. + NUL characters are replaced by question marks (default). @param nChars Number of 16-bit characters to read from the stream. - - @param bAllowNulChars - True = NUL characters are inserted into the imported string. - False = NUL characters are replaced by question marks (default). */ - OUString readUnicodeArray( sal_Int32 nChars, bool bAllowNulChars = false ); + OUString readUnicodeArray( sal_Int32 nChars ); /** Reads a Unicode character array (may be compressed) and returns the string. diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 40b8b91c4340..4fa1e321931b 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -480,7 +480,7 @@ public: virtual ~CustomPropertiesControl() override; virtual void dispose() override; - void AddLine(const OUString& sName, css::uno::Any const & rAny, bool bInteractive); + void AddLine(css::uno::Any const & rAny); bool AreAllLinesValid() const { return m_pPropertiesWin->AreAllLinesValid(); } void ClearAllLines() { m_pPropertiesWin->ClearAllLines(); } diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx index 2ea5579ebe0c..5fe1cbc29787 100644 --- a/include/sfx2/filedlghelper.hxx +++ b/include/sfx2/filedlghelper.hxx @@ -246,7 +246,6 @@ public: ErrCode FileOpenDialog_Impl( const vcl::Window* pParent, sal_Int16 nDialogType, FileDialogFlags nFlags, - const OUString& rFact, std::vector<OUString>& rpURLList, OUString& rFilter, SfxItemSet *& rpSet, diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx index 42aeef6c1135..c9c1ec6549f8 100644 --- a/include/sfx2/mgetempl.hxx +++ b/include/sfx2/mgetempl.hxx @@ -86,8 +86,7 @@ friend class SfxStyleDialog; virtual bool FillItemSet(SfxItemSet *) override; virtual void Reset(const SfxItemSet *) override; - static bool Execute_Impl( sal_uInt16 nId, const OUString& rStr, const OUString& rRefStr, - sal_uInt16 nFamily ); + static bool Execute_Impl( sal_uInt16 nId, const OUString& rStr, sal_uInt16 nFamily ); using TabPage::ActivatePage; virtual void ActivatePage(const SfxItemSet &) override; using TabPage::DeactivatePage; diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index 3c38f7050886..993ef8d76ee5 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -380,8 +380,7 @@ public: virtual VclPtr<SfxAbstractTabDialog> CreateSvxBorderBackgroundDlg( vcl::Window* pParent, const SfxItemSet& rCoreSet, - bool bEnableSelector, - bool bEnableDrawingLayerFillStyles = false) = 0; + bool bEnableDrawingLayerFillStyles) = 0; virtual VclPtr<AbstractSvxTransformTabDialog> CreateSvxTransformTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, |