Kaydet (Commit) 40e157e2 authored tarafından Caolán McNamara's avatar Caolán McNamara

rename XLinePreview back to SvxXLinePreview

Change-Id: I833c4ae6e2944b484bb32532c20f5ef09917e712
Reviewed-on: https://gerrit.libreoffice.org/61190Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1a3846b7
......@@ -135,7 +135,7 @@ private:
sal_Int32 m_nActLineWidth;
XLinePreview m_aCtlPreview;
SvxXLinePreview m_aCtlPreview;
std::unique_ptr<weld::Widget> m_xBoxColor;
std::unique_ptr<SvxLineLB> m_xLbLineStyle;
std::unique_ptr<ColorListBox> m_xLbColor;
......@@ -262,7 +262,7 @@ private:
MapUnit ePoolUnit;
FieldUnit eFUnit;
XLinePreview m_aCtlPreview;
SvxXLinePreview m_aCtlPreview;
std::unique_ptr<SvxLineLB> m_xLbLineStyles;
std::unique_ptr<weld::ComboBox> m_xLbType1;
std::unique_ptr<weld::ComboBox> m_xLbType2;
......@@ -345,7 +345,7 @@ private:
sal_uInt16 nDlgType;
sal_Int32* pPosLineEndLb;
XLinePreview m_aCtlPreview;
SvxXLinePreview m_aCtlPreview;
std::unique_ptr<weld::Entry> m_xEdtName;
std::unique_ptr<SvxLineEndLB> m_xLbLineEnds;
std::unique_ptr<weld::Button> m_xBtnAdd;
......
......@@ -423,7 +423,7 @@ public:
|*
\************************************************************************/
class SAL_WARN_UNUSED SVX_DLLPUBLIC XLinePreview : public PreviewBase
class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxXLinePreview : public PreviewBase
{
private:
SdrPathObj* mpLineObjA;
......@@ -435,9 +435,9 @@ private:
Size maSymbolSize;
public:
XLinePreview();
SvxXLinePreview();
virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
virtual ~XLinePreview() override;
virtual ~SvxXLinePreview() override;
void SetLineAttributes(const SfxItemSet& rItemSet);
......
......@@ -1336,7 +1336,7 @@ void SvxPreviewBase::DataChanged(const DataChangedEvent& rDCEvt)
}
}
void XLinePreview::Resize()
void SvxXLinePreview::Resize()
{
PreviewBase::Resize();
......@@ -1376,7 +1376,7 @@ void XLinePreview::Resize()
mpLineObjC->SetPathPoly(basegfx::B2DPolyPolygon(aPolygonC));
}
XLinePreview::XLinePreview()
SvxXLinePreview::SvxXLinePreview()
: mpLineObjA(nullptr)
, mpLineObjB(nullptr)
, mpLineObjC(nullptr)
......@@ -1385,7 +1385,7 @@ XLinePreview::XLinePreview()
{
}
void XLinePreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
void SvxXLinePreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
{
PreviewBase::SetDrawingArea(pDrawingArea);
......@@ -1397,7 +1397,7 @@ void XLinePreview::SetDrawingArea(weld::DrawingArea* pDrawingArea)
Invalidate();
}
XLinePreview::~XLinePreview()
SvxXLinePreview::~SvxXLinePreview()
{
SdrObject *pFoo = mpLineObjA;
SdrObject::Free( pFoo );
......@@ -1407,13 +1407,13 @@ XLinePreview::~XLinePreview()
SdrObject::Free( pFoo );
}
void XLinePreview::SetSymbol(Graphic* p,const Size& s)
void SvxXLinePreview::SetSymbol(Graphic* p,const Size& s)
{
mpGraphic = p;
maSymbolSize = s;
}
void XLinePreview::ResizeSymbol(const Size& s)
void SvxXLinePreview::ResizeSymbol(const Size& s)
{
if ( s != maSymbolSize )
{
......@@ -1422,7 +1422,7 @@ void XLinePreview::ResizeSymbol(const Size& s)
}
}
void XLinePreview::SetLineAttributes(const SfxItemSet& rItemSet)
void SvxXLinePreview::SetLineAttributes(const SfxItemSet& rItemSet)
{
// Set ItemSet at objects
mpLineObjA->SetMergedItemSet(rItemSet);
......@@ -1436,7 +1436,7 @@ void XLinePreview::SetLineAttributes(const SfxItemSet& rItemSet)
mpLineObjC->SetMergedItemSet(aTempSet);
}
void XLinePreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
void SvxXLinePreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&)
{
LocalPrePaint(rRenderContext);
......
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