diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 12:49:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 14:55:54 +0200 |
commit | dc82dd830bf4ef66451897624c946655a1526bde (patch) | |
tree | 55738ab3e8996cc9d4a1032f95144779e6239ac5 /include | |
parent | e695b6d89a00c86fc35332213be42d5b29196eae (diff) |
loplugin:unusedmethods
Change-Id: Ifa9c3fe86e7bad6d3839fd3fdfdb8c1f7b5053c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137016
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/registry/registry.hxx | 12 | ||||
-rw-r--r-- | include/unotools/syslocale.hxx | 6 | ||||
-rw-r--r-- | include/vcl/font.hxx | 1 | ||||
-rw-r--r-- | include/vcl/wmfexternal.hxx | 1 |
4 files changed, 0 insertions, 20 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index ccc19c52ad9a..57b7895cf979 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -401,9 +401,6 @@ public: /// closes explicitly the current key inline RegError closeKey(); - /// releases the current key - inline void releaseKey(); - /** sets a value of a key. @param keyName specifies the name of the key which value will be set. @@ -783,15 +780,6 @@ inline RegError RegistryKey::closeKey() return RegError::INVALID_KEY; } -inline void RegistryKey::releaseKey() -{ - if (m_registry.isValid() && (m_hImpl != nullptr)) - { - m_registry.m_pApi->releaseKey(m_hImpl); - m_hImpl = nullptr; - } -} - inline RegError RegistryKey::setValue(const OUString& keyName, RegValueType valueType, RegValue pValue, diff --git a/include/unotools/syslocale.hxx b/include/unotools/syslocale.hxx index e5bc9dd85224..a0a67833774a 100644 --- a/include/unotools/syslocale.hxx +++ b/include/unotools/syslocale.hxx @@ -60,12 +60,6 @@ public: SvtSysLocaleOptions& GetOptions() const; const LanguageTag& GetLanguageTag() const; const LanguageTag& GetUILanguageTag() const; - - /** Get the best MIME encoding matching the system locale, or if that isn't - determinable one that matches the UI locale, or UTF8 if everything else - fails. - */ - static rtl_TextEncoding GetBestMimeEncoding(); }; #endif // INCLUDED_SVTOOLS_SYSLOCALE_HXX diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index 9f910688de1a..824d5c0666c4 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -162,7 +162,6 @@ public: bool EqualIgnoreColor( const Font& ) const; // Compute value usable as hash. - size_t GetHashValue() const; size_t GetHashValueIgnoreColor() const; friend VCL_DLLPUBLIC SvStream& ::ReadFont( SvStream& rIStm, vcl::Font& ); diff --git a/include/vcl/wmfexternal.hxx b/include/vcl/wmfexternal.hxx index fcff240a5ff4..dc2855b4f236 100644 --- a/include/vcl/wmfexternal.hxx +++ b/include/vcl/wmfexternal.hxx @@ -50,7 +50,6 @@ struct VCL_DLLPUBLIC WmfExternal sal_uInt16 mapMode; WmfExternal(); - css::uno::Sequence<css::beans::PropertyValue> getSequence() const; bool setSequence(const css::uno::Sequence<css::beans::PropertyValue>& rSequence); }; |