diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-18 08:05:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-18 12:35:08 +0200 |
commit | 25cce7cd249379f0a98fddc63327b38bd2e48882 (patch) | |
tree | 6f724f7b04e2df6bc7547d1963cd1e87e3ac39f5 /include | |
parent | b68f4ff85bc1d6e008facbc310ddbfb5d799b7a5 (diff) |
Revert "loplugin:unusedmethods"
This reverts commit 7990680e92e4fba376ef4f9346d1bc53661bde30.
screenshot build is failing
Change-Id: Idfe4cac73edaf9be1e704c0bd734e858643defda
Reviewed-on: https://gerrit.libreoffice.org/77654
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/ole/axcontrol.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sidebar/Deck.hxx | 1 | ||||
-rw-r--r-- | include/svtools/simptabl.hxx | 4 | ||||
-rw-r--r-- | include/svx/colorbox.hxx | 4 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 8 | ||||
-rw-r--r-- | include/svx/txencbox.hxx | 5 | ||||
-rw-r--r-- | include/vcl/button.hxx | 4 | ||||
-rw-r--r-- | include/vcl/svtabbx.hxx | 2 |
8 files changed, 30 insertions, 0 deletions
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx index b53988e2f908..968360a5b39b 100644 --- a/include/oox/ole/axcontrol.hxx +++ b/include/oox/ole/axcontrol.hxx @@ -334,6 +334,8 @@ public: PropertySet const & rPropSet, sal_Int32& nOrientation ); + const css::uno::Reference<css::frame::XModel> GetDocModel() const { return mxDocModel; } + private: css::uno::Reference< css::frame::XModel > mxDocModel; const GraphicHelper& mrGraphicHelper; diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx index 899ff838c74d..5a3dabe7804a 100644 --- a/include/sfx2/sidebar/Deck.hxx +++ b/include/sfx2/sidebar/Deck.hxx @@ -69,6 +69,7 @@ public: static void PrintWindowSubTree (vcl::Window* pRoot, int nIndentation); sal_Int32 GetMinimalWidth() const { return mnMinimalWidth; } + sal_Int32 GetMinimalHeight() const { return mnMinimalHeight; } class ScrollContainerWindow : public vcl::Window { diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index f7c2fb9d7fe2..476e77c6764b 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -95,6 +95,10 @@ public: using SvHeaderTabListBox::SetTabs; + void EnableTable(); + void DisableTable(); + bool IsEnabled() const; + void SortByCol(sal_uInt16, bool bDir=true); sal_uInt16 GetSortedCol(){ return nSortCol;} SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const; diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx index 7898e4df897b..d9ac2b48fd6e 100644 --- a/include/svx/colorbox.hxx +++ b/include/svx/colorbox.hxx @@ -61,6 +61,7 @@ public: void SetSlotId(sal_uInt16 nSlotId, bool bShowNoneButton = false); Color const & GetSelectEntryColor() const { return m_aSelectedColor.first; } + NamedColor const & GetSelectedEntry() const { return m_aSelectedColor; } void SelectEntry(const NamedColor& rColor); void SelectEntry(const Color& rColor); @@ -72,6 +73,9 @@ public: void ShowPreview(const NamedColor &rColor); void EnsurePaletteManager(); + void SaveValue() { m_aSaveColor = GetSelectEntryColor(); } + bool IsValueChangedFromSaved() const { return m_aSaveColor != GetSelectEntryColor(); } + DECL_LINK(WindowEventListener, VclWindowEvent&, void); }; diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index d07d60edb62f..89655ac22559 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -50,8 +50,16 @@ public: virtual void StateChanged( StateChangedType nStateChange ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; + // for reasons of efficiency not const + SvxFont& GetFont(); + const SvxFont& GetFont() const; void SetFont( const SvxFont& rNormalFont, const SvxFont& rCJKFont, const SvxFont& rCTLFont ); + SvxFont& GetCJKFont(); + SvxFont& GetCTLFont(); + void SetColor( const Color& rColor ); + void ResetColor(); void SetBackColor( const Color& rColor ); + void UseResourceText(); void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override; bool IsTwoLines() const; diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx index 42a9f971fc70..b341994dc997 100644 --- a/include/svx/txencbox.hxx +++ b/include/svx/txencbox.hxx @@ -54,6 +54,11 @@ public: sal_uInt32 nButIncludeInfoFlags = 0 ); + /** Fill with all known MIME encodings and select the best according to + <method>GetBestMimeEncoding</method> + */ + void FillWithMimeAndSelectBest(); + void InsertTextEncoding( const rtl_TextEncoding nEnc, const OUString& rEntry ); diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 0c95e4abc4ea..d6f39bb6f8f2 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -348,6 +348,10 @@ public: void Check( bool bCheck = true ); bool IsChecked() const { return mbChecked; } + void SaveValue() { mbSaveValue = IsChecked(); } + bool GetSavedValue() const { return mbSaveValue; } + bool IsValueChangedFromSaved() const { return mbSaveValue != IsChecked(); } + static Image GetRadioImage( const AllSettings& rSettings, DrawButtonFlags nFlags ); Size CalcMinimumSize() const; diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index f98e05e83b1f..3e5f68bf146c 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -97,8 +97,10 @@ public: static OUString GetEntryText( SvTreeListEntry*, sal_uInt16 nCol ); OUString GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const; using SvTreeListBox::SetEntryText; + void SetEntryText(const OUString&, sal_uLong, sal_uInt16 nCol); void SetEntryText(const OUString&, SvTreeListEntry*, sal_uInt16 nCol=0xffff); OUString GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const; + sal_uLong GetEntryPos( const OUString&, sal_uInt16 nCol = 0xffff ); sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const; void SetTabJustify( sal_uInt16 nTab, SvTabJustify ); |