Kaydet (Commit) 527b88ef authored tarafından Rishabh Kumar's avatar Rishabh Kumar Kaydeden (comit) Rishabh Kumar

tdf#100728: Crash when area dialog is opened

Change-Id: I2246c5bf3a1d33e7a08fa9062e568a4c95fef571
Reviewed-on: https://gerrit.libreoffice.org/26875Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Reviewed-by: 's avatarRishabh Kumar <kris.kr296@yahoo.in>
üst 6cac8409
......@@ -563,7 +563,6 @@ private:
VclPtr<SvxPixelCtl> m_pCtlPixel;
VclPtr<ColorLB> m_pLbColor;
VclPtr<ColorLB> m_pLbBackgroundColor;
VclPtr<FixedText> m_pLbPatternsHidden;
VclPtr<PatternLB> m_pLbPatterns;
VclPtr<SvxXRectPreview> m_pCtlPreview;
VclPtr<PushButton> m_pBtnAdd;
......
......@@ -77,7 +77,6 @@ SvxPatternTabPage::SvxPatternTabPage( vcl::Window* pParent, const SfxItemSet& r
get(m_pLbBackgroundColor,"LB_BACKGROUND_COLOR");
get(m_pCtlPreview,"CTL_PREVIEW");
get(m_pLbPatterns,"LB_PATTERN");
get(m_pLbPatternsHidden,"FT_BITMAPS_HIDDEN");
get(m_pBtnAdd,"BTN_ADD");
get(m_pBtnModify,"BTN_MODIFY");
get(m_pBtnDelete,"BTN_DELETE");
......@@ -129,7 +128,6 @@ void SvxPatternTabPage::dispose()
m_pCtlPixel.clear();
m_pLbColor.clear();
m_pLbBackgroundColor.clear();
m_pLbPatternsHidden.clear();
m_pLbPatterns.clear();
m_pCtlPreview.clear();
m_pBtnAdd.clear();
......
......@@ -1527,7 +1527,7 @@ VCL_BUILDER_DECL_FACTORY(PatternLB)
OString sBorder = VclBuilder::extractCustomProperty(rMap);
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
VclPtrInstance<BitmapLB> pListBox(pParent, nWinStyle);
VclPtrInstance<PatternLB> pListBox(pParent, nWinStyle);
pListBox->EnableAutoSize(true);
rRet = pListBox;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment