summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-14 09:40:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-14 12:06:16 +0100
commit9a083905cf9e72bf22fc727677d052b8d1a0652b (patch)
tree7eb16a71862c91fbe9278329ea5debf638a0049b
parent4dd87ccdab80eb094cede538e3d742148df3880a (diff)
Resolves: tdf#128792 progressbar control not created
Change-Id: I81ff4e56d5ea2a4f5b7c034c2a99df881969b119 Reviewed-on: https://gerrit.libreoffice.org/82655 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index dced58ba0b53..2121e14c3e15 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -707,6 +707,7 @@ static ComponentInfo const aComponentInfos [] =
{ OUStringLiteral("edit"), WindowType::EDIT },
{ OUStringLiteral("errorbox"), WindowType::ERRORBOX },
{ OUStringLiteral("fixedbitmap"), WindowType::FIXEDBITMAP },
+ { OUStringLiteral("fixedhyperlink"), WindowType::CONTROL },
{ OUStringLiteral("fixedimage"), WindowType::FIXEDIMAGE },
{ OUStringLiteral("fixedline"), WindowType::FIXEDLINE },
{ OUStringLiteral("fixedtext"), WindowType::FIXEDTEXT },
@@ -734,9 +735,11 @@ static ComponentInfo const aComponentInfos [] =
{ OUStringLiteral("okbutton"), WindowType::OKBUTTON },
{ OUStringLiteral("patternbox"), WindowType::PATTERNBOX },
{ OUStringLiteral("patternfield"), WindowType::PATTERNFIELD },
+ { OUStringLiteral("progressbar"), WindowType::CONTROL },
{ OUStringLiteral("pushbutton"), WindowType::PUSHBUTTON },
{ OUStringLiteral("querybox"), WindowType::QUERYBOX },
{ OUStringLiteral("radiobutton"), WindowType::RADIOBUTTON },
+ { OUStringLiteral("roadmap"), WindowType::CONTROL },
{ OUStringLiteral("scrollbar"), WindowType::SCROLLBAR },
{ OUStringLiteral("scrollbarbox"), WindowType::SCROLLBARBOX },
{ OUStringLiteral("spinbutton"), WindowType::SPINBUTTON },
@@ -1792,12 +1795,12 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
pNewWindow = VclPtr<::vcl::ORoadmap>::Create( pParent, WB_TABSTOP );
*ppNewComp = new SVTXRoadmap;
}
- else if (aServiceName == "FixedHyperlink")
+ else if (aServiceName == "fixedhyperlink")
{
pNewWindow = VclPtr<FixedHyperlink>::Create( pParent, nWinBits );
*ppNewComp = new VCLXFixedHyperlink;
}
- else if (aServiceName == "ProgressBar")
+ else if (aServiceName == "progressbar")
{
pNewWindow = VclPtr<ProgressBar>::Create( pParent, nWinBits );
*ppNewComp = new VCLXProgressBar;