summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 19:00:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 09:15:42 +0200
commit2da435922f9c1fcf52eb0c1eb3d6f73581e9f793 (patch)
tree3d6fef2b96557a76b35eeae48f2df10a0a0511c5 /include
parent7823684cb6fbe752dc64300799c5d102f61e0b70 (diff)
loplugin:constantparam
Change-Id: Ia11bf93768d5f722b7fe62df15f24809cb7e7f04 Reviewed-on: https://gerrit.libreoffice.org/60280 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/dbtools.hxx7
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx2
-rw-r--r--include/svtools/valueset.hxx4
-rw-r--r--include/svx/colorbox.hxx3
4 files changed, 5 insertions, 11 deletions
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index c10963cd6796..d27d4b54c415 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -667,18 +667,13 @@ namespace dbtools
The descriptor of the new table.
@param _xConnection
The connection.
- @param _pHelper
- Allow to add special SQL constructs.
- @param _sCreatePattern
@return
The CREATE TABLE statement.
*/
OOO_DLLPUBLIC_DBTOOLS
OUString createSqlCreateTableStatement( const css::uno::Reference< css::beans::XPropertySet >& descriptor
- ,const css::uno::Reference< css::sdbc::XConnection>& _xConnection
- ,ISQLStatementHelper* _pHelper = nullptr
- ,const OUString& _sCreatePattern = OUString());
+ ,const css::uno::Reference< css::sdbc::XConnection>& _xConnection);
/** creates a SDBC column with the help of getColumns.
@param _xTable
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx
index 8274605ba03f..c314391f195a 100644
--- a/include/sfx2/sidebar/SidebarController.hxx
+++ b/include/sfx2/sidebar/SidebarController.hxx
@@ -125,7 +125,7 @@ public:
/** Show only the tab bar, not the deck.
*/
- void RequestCloseDeck(bool bFocusMenuTab = false);
+ void RequestCloseDeck();
/** Open the deck area and restore the parent window to its old width.
*/
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index b1d8596eced6..f9499d2d0398 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -507,9 +507,9 @@ public:
void SetOptimalSize();
- /// Insert @rImage item with @rStr as either a legend or tooltip depending on @bShowLegend.
+ /// Insert @rImage item with @rStr as a tooltip
void InsertItem(sal_uInt16 nItemId, const Image& rImage,
- const OUString& rStr, size_t nPos = VALUESET_APPEND, bool bShowLegend = false);
+ const OUString& rStr, size_t nPos = VALUESET_APPEND);
/// Insert an @rColor item with @rStr tooltip.
void InsertItem(sal_uInt16 nItemId, const Color& rColor,
const OUString& rStr);
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx
index cefeec018826..49985796bf4a 100644
--- a/include/svx/colorbox.hxx
+++ b/include/svx/colorbox.hxx
@@ -103,7 +103,6 @@ private:
NamedColor m_aSelectedColor;
sal_uInt16 m_nSlotId;
bool m_bShowNoneButton;
- bool m_bInterimBuilder;
std::shared_ptr<PaletteManager> m_xPaletteManager;
BorderColorStatus m_aBorderColorStatus;
@@ -112,7 +111,7 @@ private:
void LockWidthRequest();
ColorWindow* getColorWindow() const;
public:
- ColorListBox(std::unique_ptr<weld::MenuButton> pControl, weld::Window* pWindow, bool bInterimBuilder = false);
+ ColorListBox(std::unique_ptr<weld::MenuButton> pControl, weld::Window* pWindow);
~ColorListBox();
void SetSelectHdl(const Link<ColorListBox&, void>& rLink)