diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-08 20:04:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-09 12:08:15 +0200 |
commit | 485300f9aef53f63e24339422b1dd2bfa12d543e (patch) | |
tree | 3e3f5aca8dbbade3ed18a68da0b57ace4cc2bee5 /include | |
parent | 0e1a0ecffa055062a21815ab13eb6e4f8c769b8f (diff) |
loplugin:unusedmethods
Change-Id: Ib89ab59f7ad7e90b2a44ddd122176cde904fba4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135520
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sax/tools/converter.hxx | 4 | ||||
-rw-r--r-- | include/svx/txencbox.hxx | 5 | ||||
-rw-r--r-- | include/tools/urlobj.hxx | 31 | ||||
-rw-r--r-- | include/vcl/metric.hxx | 1 | ||||
-rw-r--r-- | include/vcl/vectorgraphicdata.hxx | 7 | ||||
-rw-r--r-- | include/xmloff/xmluconv.hxx | 5 |
6 files changed, 0 insertions, 53 deletions
diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx index c4391a7893fd..d797eace3042 100644 --- a/include/sax/tools/converter.hxx +++ b/include/sax/tools/converter.hxx @@ -220,10 +220,6 @@ public: /** convert XMLSchema-2 "duration" string to double; negative durations allowed */ static bool convertDuration(double & rfTime, - std::u16string_view rString); - - /** convert XMLSchema-2 "duration" string to double; negative durations allowed */ - static bool convertDuration(double & rfTime, std::string_view rString); /** convert XMLSchema-2 "duration" string to util::Duration */ diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx index d98c66713f99..c87f07b2ef41 100644 --- a/include/svx/txencbox.hxx +++ b/include/svx/txencbox.hxx @@ -73,11 +73,6 @@ public: bool bExcludeImportSubsets, sal_uInt32 nExcludeInfoFlags = 0); - /** Fill with all known MIME encodings and select the best according to - <method>GetBestMimeEncoding</method> - */ - void FillWithMimeAndSelectBest(); - void InsertTextEncoding( const rtl_TextEncoding nEnc ); void InsertTextEncoding( const rtl_TextEncoding nEnc, diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index 6096e60df1b2..9d6820ddf241 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -822,28 +822,6 @@ public: @return The text, encoded according to the given mechanism and charset ('forbidden' characters replaced by escape sequences). */ - static void encode( OUStringBuffer& rOutputBuffer, - std::u16string_view rText, Part ePart, - EncodeMechanism eMechanism, - rtl_TextEncoding eCharset - = RTL_TEXTENCODING_UTF8); - - /** Encode some text as part of a URI. - - @param rText Some text (for its interpretation, see the general - discussion for set-methods). - - @param ePart The part says which characters are 'forbidden' and must - be encoded (replaced by escape sequences). Characters outside the US- - ASCII range are always 'forbidden.' - - @param eMechanism See the general discussion for set-methods. - - @param eCharset See the general discussion for set-methods. - - @return The text, encoded according to the given mechanism and - charset ('forbidden' characters replaced by escape sequences). - */ static OUString encode( std::u16string_view rText, Part ePart, EncodeMechanism eMechanism, rtl_TextEncoding eCharset @@ -1311,15 +1289,6 @@ inline bool INetURLObject::SetMark(std::u16string_view rTheFragment, } // static -inline void INetURLObject::encode(OUStringBuffer& rOutputBuffer, - std::u16string_view rText, Part ePart, - EncodeMechanism eMechanism, - rtl_TextEncoding eCharset) -{ - encodeText(rOutputBuffer, rText, ePart, eMechanism, eCharset, false); -} - -// static inline OUString INetURLObject::encode(std::u16string_view rText, Part ePart, EncodeMechanism eMechanism, rtl_TextEncoding eCharset) diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index c8d95f88d6ef..1e03232d70f7 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -72,7 +72,6 @@ public: bool EqualIgnoreColor( const FontMetric& ) const; // Compute value usable as hash. - size_t GetHashValue() const; size_t GetHashValueIgnoreColor() const; private: diff --git a/include/vcl/vectorgraphicdata.hxx b/include/vcl/vectorgraphicdata.hxx index a3c88de7caa0..465690c5640b 100644 --- a/include/vcl/vectorgraphicdata.hxx +++ b/include/vcl/vectorgraphicdata.hxx @@ -31,7 +31,6 @@ #include <optional> namespace com::sun::star::graphic { class XPrimitive2D; } -struct WmfExternal; typedef css::uno::Sequence<sal_Int8> VectorGraphicDataArray; @@ -69,9 +68,6 @@ private: size_t mNestedBitmapSize; VectorGraphicDataType meType; - // extra: - std::unique_ptr<WmfExternal> mpExternalHeader; - /// If the vector format has more pages this denotes which page to render sal_Int32 mnPageIndex; @@ -99,9 +95,6 @@ public: /// compare op bool operator==(const VectorGraphicData& rCandidate) const; - /// special: needed for emf/wmf, maybe replaced by scaling the result later (?) - void setWmfExternalHeader(const WmfExternal& aExtHeader); - /// data read const BinaryDataContainer& getBinaryDataContainer() const { diff --git a/include/xmloff/xmluconv.hxx b/include/xmloff/xmluconv.hxx index cd05b7508811..9af40034400a 100644 --- a/include/xmloff/xmluconv.hxx +++ b/include/xmloff/xmluconv.hxx @@ -258,11 +258,6 @@ public: std::string_view rString, const css::util::Date& aNullDate); - - /** convert string to ::basegfx::B3DVector */ - static bool convertB3DVector( ::basegfx::B3DVector& rVector, - std::u16string_view rValue ); - /** convert string to ::basegfx::B3DVector */ static bool convertB3DVector( ::basegfx::B3DVector& rVector, std::string_view rValue ); |