diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-01-09 15:30:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-02-01 08:27:26 +0100 |
commit | dc89de8c548c4341318d3f2093b569acbb15c5f4 (patch) | |
tree | c1cb72f1484ac9a5a110764575a194ef51ffb730 /desktop | |
parent | 83c0b0a77250aaac278cbfe9132c9d4ac8a81d2f (diff) |
vcl ITiledRenderable: rename supportsCommandValues() to supportsCommand()
It gets a single command (to determine if using it with
getCommandValues() is OK or not), so the plural was confusing, as
mentioned at
<https://gerrit.libreoffice.org/c/core/+/145082/5#message-802b1be9194440a3dcee0cad5e54795cbbdea584>.
(cherry picked from commit 913b399a73c4d6dfd2c9f5983f56f612f3262fa7)
Change-Id: Idf3c81aadeaeb3d42a50aba2ac58d5ed4278651f
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 5d67ac352926..ea5f556d7f65 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5915,7 +5915,7 @@ static char* doc_getCommandValues(LibreOfficeKitDocument* pThis, const char* pCo { return getFontSubset(aCommand.substr(aFontSubset.getLength())); } - else if (pDoc->supportsCommandValues(INetURLObject(OUString::fromUtf8(aCommand)).GetURLPath())) + else if (pDoc->supportsCommand(INetURLObject(OUString::fromUtf8(aCommand)).GetURLPath())) { tools::JsonWriter aJsonWriter; pDoc->getCommandValues(aJsonWriter, aCommand); |