summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-04-30 17:27:13 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-04-30 17:29:22 +0200
commit06bc7619745015d9b49360229ae2b7d8795d5701 (patch)
tree5eb9fd91df517064063450ac670a9b25e4548112 /svx
parentpdf2xml implicitely needs cppunit headers. (diff)
downloadcore-06bc7619745015d9b49360229ae2b7d8795d5701.tar.gz
core-06bc7619745015d9b49360229ae2b7d8795d5701.zip
remove unused RestoreXViewGraphics class
Change-Id: I5b4075623631a4c3148a53e80fe6c011ccabdc37
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdouno.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx
index 533668bbb309..06697135ebab 100644
--- a/svx/source/svdraw/svdouno.cxx
+++ b/svx/source/svdraw/svdouno.cxx
@@ -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);