summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-01 00:06:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-01 15:35:20 +0100
commit86429cef8d910fe4fb98a44d5b631025e785baad (patch)
tree0d41c58dd7e04b84a61417d7f119de2f23bdd85c /svx
parent8f0a419942c84aae46dbf637781dc953b0d67d9d (diff)
callcatcher: freshly unused code
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/svdmodel.hxx5
-rw-r--r--svx/source/svdraw/svdmodel.cxx8
2 files changed, 0 insertions, 13 deletions
diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx
index b8c2e3d19f23..af2a336fa7c0 100644
--- a/svx/inc/svx/svdmodel.hxx
+++ b/svx/inc/svx/svdmodel.hxx
@@ -359,11 +359,6 @@ public:
SdrOutliner& GetDrawOutliner(const SdrTextObj* pObj=NULL) const;
- /** returns a new created and non shared outliner.
- The outliner will not get updated when the SdrModel is changed.
- */
- boost::shared_ptr< SdrOutliner > CreateDrawOutliner(const SdrTextObj* pObj=NULL);
-
SdrOutliner& GetHitTestOutliner() const { return *pHitTestOutliner; }
const SdrTextObj* GetFormattingTextObj() const;
// Die TextDefaults (Font,Hoehe,Farbe) in ein Set putten
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 6d50fae27918..5f898136c84d 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -851,14 +851,6 @@ SdrOutliner& SdrModel::GetDrawOutliner(const SdrTextObj* pObj) const
return *pDrawOutliner;
}
-boost::shared_ptr< SdrOutliner > SdrModel::CreateDrawOutliner(const SdrTextObj* pObj)
-{
- boost::shared_ptr< SdrOutliner > xDrawOutliner( SdrMakeOutliner( OUTLINERMODE_TEXTOBJECT, this ) );
- ImpSetOutlinerDefaults(xDrawOutliner.get(), sal_True);
- xDrawOutliner->SetTextObj(pObj);
- return xDrawOutliner;
-}
-
const SdrTextObj* SdrModel::GetFormattingTextObj() const
{
if (pDrawOutliner!=NULL) {