summaryrefslogtreecommitdiff
path: root/include/svx/textchain.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/textchain.hxx')
-rw-r--r--include/svx/textchain.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/textchain.hxx b/include/svx/textchain.hxx
index 5416c90a3ecb..8c0c6a3b59e6 100644
--- a/include/svx/textchain.hxx
+++ b/include/svx/textchain.hxx
@@ -53,11 +53,11 @@
a##PropName = (PropDefault);
#define DECL_CHAIN_PROP_INTERFACE(PropName, PropType) \
- PropType Get##PropName (const SdrTextObj *); \
+ PropType const & Get##PropName (const SdrTextObj *); \
void Set##PropName (const SdrTextObj *, PropType);
#define IMPL_CHAIN_PROP_INTERFACE(PropName, PropType) \
- PropType TextChain::Get##PropName (const SdrTextObj *pTarget) { \
+ PropType const & TextChain::Get##PropName (const SdrTextObj *pTarget) { \
ImpChainLinkProperties *pLinkProperties = GetLinkProperties(pTarget); \
return pLinkProperties->a##PropName; \
} \