loplugin:unusedmethods

Change-Id: I2dc35fc72923ee20b9deabf3239af3d859e2fe23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187707
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2025-07-11 15:10:46 +02:00
parent 2fce123e86
commit b00dec9132
4 changed files with 0 additions and 45 deletions

View File

@ -231,8 +231,6 @@ public:
{ return PutImpl(*xItem.release(), /*bPassingOwnership*/true); }
const SfxPoolItem* PutAsTargetWhich(const SfxPoolItem& rItem, sal_uInt16 nTargetWhich )
{ return PutImplAsTargetWhich(rItem, nTargetWhich, false); }
const SfxPoolItem* PutAsTargetWhich(std::unique_ptr<SfxPoolItem> xItem, sal_uInt16 nTargetWhich )
{ return PutImplAsTargetWhich(*xItem.release(), nTargetWhich, true); }
bool Put( const SfxItemSet&,
bool bInvalidAsDefault = true );
void PutExtended( const SfxItemSet&,

View File

@ -490,7 +490,6 @@ public:
bool get_value_changed_from_saved() const { return get_value() != get_saved_value(); }
int get_count() const { return m_xComboBox->get_count(); }
OUString get_text(int i) const { return m_xComboBox->get_text(i); }
void grab_focus() { m_xComboBox->grab_focus(); }
bool has_focus() const { return m_xComboBox->has_focus(); }
void connect_entry_activate(const Link<weld::ComboBox&, bool>& rLink) { m_xComboBox->connect_entry_activate(rLink); }
void disable_entry_completion() { m_xComboBox->set_entry_completion(false, false); }

View File

@ -60,15 +60,6 @@ public:
*/
ResourceId();
/** Create a new resource id that is described by the given URLs.
@param rsResourceURLs
The first URL specifies the type of resource. The other URLs
describe its anchor.
The set of URLs may be empty. The result is then the same as
returned by ResourceId() default constructor.
*/
ResourceId (std::vector<OUString>&& rsResourceURLs);
/** Create a new resource id that has an empty anchor.
@param rsResourceURL
When this resource URL is empty then the resulting ResourceId
@ -96,20 +87,6 @@ public:
const OUString& rsResourceURL,
const OUString& rsAnchorURL);
/** Create a new resource id with an anchor that consists of a sequence
of URLs that is extended by a further URL.
@param rsResourceURL
The URL of the actual resource.
@param rsFirstAnchorURL
This URL extends the anchor given by rAnchorURLs.
@param rAnchorURLs
An anchor as it is returned by ResourceId::getAnchorURLs().
*/
ResourceId (
const OUString& rsResourceURL,
const OUString& rsFirstAnchorURL,
const std::vector<OUString>& rAnchorURLs);
virtual ~ResourceId() override;
/** Return the URL of the resource. Arguments supplied on creation are

View File

@ -45,13 +45,6 @@ ResourceId::ResourceId()
{
}
ResourceId::ResourceId (
std::vector<OUString>&& rResourceURLs)
: maResourceURLs(std::move(rResourceURLs))
{
ParseResourceURL();
}
ResourceId::ResourceId (
const OUString& rsResourceURL)
: maResourceURLs(1, rsResourceURL)
@ -85,18 +78,6 @@ ResourceId::ResourceId (
ParseResourceURL();
}
ResourceId::ResourceId (
const OUString& rsResourceURL,
const OUString& rsFirstAnchorURL,
const std::vector<OUString>& rAnchorURLs)
: maResourceURLs(2+rAnchorURLs.size())
{
maResourceURLs[0] = rsResourceURL;
maResourceURLs[1] = rsFirstAnchorURL;
std::copy(rAnchorURLs.begin(), rAnchorURLs.end(), std::next(maResourceURLs.begin(), 2));
ParseResourceURL();
}
ResourceId::~ResourceId()
{
mpURL.reset();