diff options
author | Noel Power <noel.power@suse.com> | 2012-11-16 17:06:02 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-16 18:21:38 +0000 |
commit | 41c77ac5e814e8f0080468ca79fe7c2473402720 (patch) | |
tree | 262f587a0b1394850e390c6e6b68da764c613c8f /oox | |
parent | use LanguageTag (diff) | |
download | core-41c77ac5e814e8f0080468ca79fe7c2473402720.tar.gz core-41c77ac5e814e8f0080468ca79fe7c2473402720.zip |
targetted cleanup of misc. vba pieces.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 6 | ||||
-rw-r--r-- | oox/source/ole/vbacontrol.cxx | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index f2b2bc849a78..e056fdef3a2a 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -58,8 +58,6 @@ namespace oox { namespace ole { -// ============================================================================ - using namespace ::com::sun::star::awt; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; @@ -73,10 +71,6 @@ using namespace ::com::sun::star::style; using namespace ::com::sun::star::table; using namespace ::com::sun::star::uno; -using ::rtl::OUString; - -// ============================================================================ - namespace { const sal_uInt32 COMCTL_ID_SIZE = 0x12344321; diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx index 91474c688e01..5e109b0433bb 100644 --- a/oox/source/ole/vbacontrol.cxx +++ b/oox/source/ole/vbacontrol.cxx @@ -40,8 +40,6 @@ namespace oox { namespace ole { -// ============================================================================ - using namespace ::com::sun::star::awt; using namespace ::com::sun::star::container; using namespace ::com::sun::star::frame; @@ -49,11 +47,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; -using ::rtl::OUString; -using ::rtl::OUStringBuffer; - -// ============================================================================ - namespace { const sal_uInt16 VBA_SITE_CLASSIDINDEX = 0x8000; @@ -455,9 +448,6 @@ bool VbaFormControl::convertProperties( const Reference< XControlModel >& rxCtrl PropertySet aPropSet( rxCtrlModel ); aPropSet.setProperties( aPropMap ); - // bind to control source and row source range - mxSiteModel->bindToSources( rxCtrlModel, rConv ); - // create and convert all embedded controls if( !maControls.empty() ) try { |