diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 14:40:18 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 14:40:18 +0000 |
commit | 4c4339e5eacd8c8a2ca89a23830c2d4a39e35149 (patch) | |
tree | 6b75b82b9322a1ddc6d9cf7bb6b915bf78fe313e /svtools | |
parent | ab029f87a34125de067e00de3d75ee2cfa7f3333 (diff) |
INTEGRATION: CWS aw024 (1.11.906); FILE MERGED
2006/09/22 04:57:34 aw 1.11.906.4: RESYNC: (1.13-1.14); FILE MERGED
2006/07/04 16:47:39 aw 1.11.906.3: RESYNC: (1.12-1.13); FILE MERGED
2005/09/19 19:28:49 aw 1.11.906.2: RESYNC: (1.11-1.12); FILE MERGED
2005/08/04 15:37:40 sj 1.11.906.1: #48467# using GraphicExporter component for exports, graphic filter progress now works now via xStatusIndicater instead of callback mechanism
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter.vcl/filter/FilterConfigItem.cxx | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx index 1299c8f60d36..8585b7ececde 100644 --- a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx +++ b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx @@ -4,9 +4,9 @@ * * $RCSfile: FilterConfigItem.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: obo $ $Date: 2006-09-17 14:50:37 $ + * last change: $Author: ihi $ $Date: 2006-11-14 15:40:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -71,6 +71,7 @@ using namespace ::com::sun::star::uno ; // Reference using namespace ::com::sun::star::util ; // XChangesBatch using namespace ::com::sun::star::awt ; // Size using namespace ::com::sun::star::container ; // +using namespace ::com::sun::star::task ; // XStatusIndicator static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv, const String& rTree ) { @@ -627,3 +628,21 @@ Sequence< PropertyValue > FilterConfigItem::GetFilterData() const } // ------------------------------------------------------------------------ + +Reference< XStatusIndicator > FilterConfigItem::GetStatusIndicator() const +{ + Reference< XStatusIndicator > xStatusIndicator; + const rtl::OUString sStatusIndicator( RTL_CONSTASCII_USTRINGPARAM( "StatusIndicator" ) ); + + sal_Int32 i, nCount = aFilterData.getLength(); + for ( i = 0; i < nCount; i++ ) + { + if ( aFilterData[ i ].Name == sStatusIndicator ) + { + aFilterData[ i ].Value >>= xStatusIndicator; + break; + } + } + return xStatusIndicator; +} + |