diff options
author | Mathias Bauer <mba@openoffice.org> | 2009-12-14 19:38:13 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2009-12-14 19:38:13 +0100 |
commit | d66c939c7f797c313dcb9a42536a464a77041c68 (patch) | |
tree | 6391c5788905f84c6db97de69b67516e6d685337 /svx | |
parent | a1ba50b1db36a4929c008bfab266b6a2c14ffa80 (diff) |
#i107450#: moved another function to unedit
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 6 | ||||
-rw-r--r-- | svx/source/unoedit/unotext.cxx | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 12835e01de00..2c6650609903 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -124,12 +124,6 @@ using ::svx::IPropertyValueProvider; if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \ aAny <<= uno::Reference< xint >(this) -const SvxItemPropertySet* ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() -{ - static SvxItemPropertySet aTextCursorSvxPropertySet( ImplGetSvxUnoOutlinerTextCursorPropertyMap(), SdrObject::GetGlobalDrawObjectItemPool() ); - return &aTextCursorSvxPropertySet; -} - class GDIMetaFile; class SvStream; sal_Bool ConvertGDIMetaFileToWMF( const GDIMetaFile & rMTF, SvStream & rTargetStream, diff --git a/svx/source/unoedit/unotext.cxx b/svx/source/unoedit/unotext.cxx index 12971244c298..fe19d2b42546 100644 --- a/svx/source/unoedit/unotext.cxx +++ b/svx/source/unoedit/unotext.cxx @@ -67,8 +67,12 @@ using namespace ::com::sun::star; if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \ return uno::makeAny(uno::Reference< xint >(this)) +const SvxItemPropertySet* ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() +{ + static SvxItemPropertySet aTextCursorSvxPropertySet( ImplGetSvxUnoOutlinerTextCursorPropertyMap(), EditEngine::GetGlobalItemPool() ); + return &aTextCursorSvxPropertySet; +} -extern const SfxItemPropertySet* ImplGetSvxUnoOutlinerTextCursorSfxPropertySet(); const SfxItemPropertyMapEntry* ImplGetSvxTextPortionPropertyMap() { // Propertymap fuer einen Outliner Text |