diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 09:03:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 10:49:52 +0000 |
commit | 724cb36eb9559e1d272b5b12bb80196c62f10c2c (patch) | |
tree | 6ab5361347d3c1afb68ba6c1080b55f237d23d59 | |
parent | 803ac3727baac0becda977cef7ca24f9e9c9cc48 (diff) |
cppcheck: Unused private function
-rw-r--r-- | sfx2/source/doc/docvor.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx index 00b3894edaca..d47ad728aef4 100644 --- a/sfx2/source/doc/docvor.cxx +++ b/sfx2/source/doc/docvor.cxx @@ -414,7 +414,6 @@ ImpPath_Impl::ImpPath_Impl( const ImpPath_Impl& rCopy ) : class Path { ImpPath_Impl *pData; - void NewImp(); public: Path(SvLBox *pBox, SvLBoxEntry *pEntry); Path(const Path &rPath): @@ -465,17 +464,6 @@ Path::Path(SvLBox *pBox, SvLBoxEntry *pEntry) : //------------------------------------------------------------------------- -void Path::NewImp() -{ - if(pData->nRef != 1) - { - pData->nRef--; - pData = new ImpPath_Impl(*pData); - } -} - -//------------------------------------------------------------------------- - SvLBoxEntry *GetIndices_Impl(SvLBox *pBox, SvLBoxEntry *pEntry, USHORT &rRegion, |