diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-02-17 21:47:49 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-17 21:47:49 +0000 |
commit | ada6350a7cdf4984eb3ead31d938004bf9177ae8 (patch) | |
tree | fbe87fb987240955c6bfdbe3555ce1bd76393854 /svtools | |
parent | 57c8929c6bf037a767e7016d28b7656cd8fddfb7 (diff) |
Removed unused code from svl and sfx2
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/wallitem.hxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/wallitem.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/svtools/wallitem.hxx b/svtools/inc/svtools/wallitem.hxx index a27dd11be030..feaec1c97239 100644 --- a/svtools/inc/svtools/wallitem.hxx +++ b/svtools/inc/svtools/wallitem.hxx @@ -57,7 +57,7 @@ public: virtual CreateSvxBrushTabPage GetBackgroundTabpageCreateFunc() = 0; virtual GetSvxBrushTabPageRanges GetBackgroundTabpageRanges() = 0; static SfxBrushItemLink* Get() { return *(SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM); } - static void Set( SfxBrushItemLink* pLink ); + //static void Set( SfxBrushItemLink* pLink ); }; #endif // _SFX_BRUSHITEMLINK_DECLARED diff --git a/svtools/source/misc/wallitem.cxx b/svtools/source/misc/wallitem.cxx index a348945e0d8b..2834d6443975 100644 --- a/svtools/source/misc/wallitem.cxx +++ b/svtools/source/misc/wallitem.cxx @@ -50,13 +50,13 @@ SfxBrushItemLink::~SfxBrushItemLink() } //static -void SfxBrushItemLink::Set( SfxBrushItemLink* pLink ) +/*void SfxBrushItemLink::Set( SfxBrushItemLink* pLink ) { SfxBrushItemLink** ppLink = (SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM); if( !*ppLink ) *ppLink = pLink; else delete pLink; -} +}*/ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |