summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/textchain.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-20 21:32:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-20 21:32:13 +0200
commit963c35d7cb7272f5c18f812db61c490faa2210b8 (patch)
tree3809da2112fc47cb3cdeba6dc94495b51876d855 /svx/source/svdraw/textchain.cxx
parentb7e28109245c2b24d892dc489380f6e492046363 (diff)
loplugin:staticmethods
Change-Id: I2df14df9dd03c23876da57e943e6714f1a52843b
Diffstat (limited to 'svx/source/svdraw/textchain.cxx')
-rw-r--r--svx/source/svdraw/textchain.cxx14
1 files changed, 9 insertions, 5 deletions
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: */