summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-24 09:03:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-24 10:49:52 +0000
commitc9e79439bf99ee76be719283826b4106bb171bca (patch)
tree7113a2220ab4ec1b72fa4353c68f4c36f4ceff7d
parentaf9781f9fc4e6ec9d7af03fd0bc2684086c47151 (diff)
cppcheck: Unused private function
-rw-r--r--sfx2/source/doc/docvor.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx
index fe22072723..918f2fe488 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,