diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-01-09 15:30:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-01-10 07:06:30 +0000 |
commit | 913b399a73c4d6dfd2c9f5983f56f612f3262fa7 (patch) | |
tree | e1df9f5b62d2212fc91949bbf38356572efb3e99 /desktop | |
parent | 2ddd41b420cea7f1b988f0b8acbca564b2811382 (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>.
Change-Id: Idf3c81aadeaeb3d42a50aba2ac58d5ed4278651f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145212
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
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 133531034c15..35070994d943 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5878,7 +5878,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); |