Kaydet (Commit) 06bc7619 authored tarafından Matúš Kukan's avatar Matúš Kukan

remove unused RestoreXViewGraphics class

Change-Id: I5b4075623631a4c3148a53e80fe6c011ccabdc37
üst f33753e5
......@@ -255,30 +255,6 @@ void SdrUnoObj::SetContextWritingMode( const sal_Int16 _nContextWritingMode )
}
}
// ----------------------------------------------------------------------------
namespace
{
/** helper class to restore graphics at <awt::XView> object after <SdrUnoObj::Paint>
Restoration of graphics necessary to assure that paint on a window */
class RestoreXViewGraphics
{
private:
uno::Reference< awt::XView > m_rXView;
uno::Reference< awt::XGraphics > m_rXGraphics;
public:
RestoreXViewGraphics( const uno::Reference< awt::XView >& _rXView )
{
m_rXView = _rXView;
m_rXGraphics = m_rXView->getGraphics();
}
~RestoreXViewGraphics()
{
m_rXView->setGraphics( m_rXGraphics );
}
};
}
void SdrUnoObj::TakeObjNameSingul(XubString& rName) const
{
rName = ImpGetResStr(STR_ObjNameSingulUno);
......
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