diff options
-rw-r--r-- | include/svx/textchain.hxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/textchain.cxx | 14 |
2 files changed, 9 insertions, 6 deletions
diff --git a/include/svx/textchain.hxx b/include/svx/textchain.hxx index bcdb47d5a0fd..4a1dfe7400ad 100644 --- a/include/svx/textchain.hxx +++ b/include/svx/textchain.hxx @@ -127,7 +127,6 @@ public: //SdrTextObj *GetNextLink(const SdrTextObj *) const; //SdrTextObj *GetPrevLink(const SdrTextObj *) const; - ChainLinkId GetId(const SdrTextObj *) const; ImpChainLinkProperties *GetLinkProperties(const SdrTextObj *); // Specific Link Properties diff --git a/svx/source/svdraw/textchain.cxx b/svx/source/svdraw/textchain.cxx index b7146c12f7bb..f6873093cffe 100644 --- a/svx/source/svdraw/textchain.cxx +++ b/svx/source/svdraw/textchain.cxx @@ -49,6 +49,15 @@ TextChain::~TextChain() // XXX: Should free all LinkProperties } +namespace { + +ChainLinkId GetId(const SdrTextObj *pLink) +{ + return pLink->GetName(); +} + +} + ImpChainLinkProperties *TextChain::GetLinkProperties(const SdrTextObj *pLink) { // if the guy does not already have properties in the map make them @@ -60,9 +69,4 @@ ImpChainLinkProperties *TextChain::GetLinkProperties(const SdrTextObj *pLink) return maLinkPropertiesMap[aLinkId]; } -ChainLinkId TextChain::GetId(const SdrTextObj *pLink) const -{ - return pLink->GetName(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |