diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-02-06 16:06:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-08 12:31:10 +0000 |
commit | 4c411636d9f3e8be085ca02af6fad448838834b1 (patch) | |
tree | 155932e717fe95d2237c37d18f164fd93c5a50c9 /sfx2 | |
parent | 310b65e5e93c500ac5ae3981120809df09230e56 (diff) |
sequence->vector in basic
Change-Id: Ic42f7218bda81effe870d950f666ba7653d60c66
Reviewed-on: https://gerrit.libreoffice.org/22177
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appbaslib.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/appbaslib.hxx | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx index 78e0def08b49..a49aa7d46c70 100644 --- a/sfx2/source/appl/appbaslib.cxx +++ b/sfx2/source/appl/appbaslib.cxx @@ -156,7 +156,7 @@ void SfxBasicManagerHolder::impl_releaseContainers() mxDialogContainer.clear(); } -bool SfxBasicManagerHolder::LegacyPsswdBinaryLimitExceeded( Sequence< OUString >& sModules ) +bool SfxBasicManagerHolder::LegacyPsswdBinaryLimitExceeded( std::vector< OUString >& sModules ) { #if !HAVE_FEATURE_SCRIPTING (void) sModules; diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 87518733a044..fe4b46193540 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -3610,7 +3610,7 @@ bool SfxObjectShell::QuerySaveSizeExceededModules_Impl( const uno::Reference< ta if ( !pImp->aBasicManager.isValid() ) GetBasicManager(); - uno::Sequence< OUString > sModules; + std::vector< OUString > sModules; if ( xHandler.is() ) { if( pImp->aBasicManager.LegacyPsswdBinaryLimitExceeded( sModules ) ) diff --git a/sfx2/source/inc/appbaslib.hxx b/sfx2/source/inc/appbaslib.hxx index f90590426ecc..9c07c6638a07 100644 --- a/sfx2/source/inc/appbaslib.hxx +++ b/sfx2/source/inc/appbaslib.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/script/XStorageBasedLibraryContainer.hpp> #include <com/sun/star/embed/XStorage.hpp> +#include <vector> class BasicManager; @@ -85,7 +86,7 @@ public: /** checks if any modules in the SfxLibraryContainer exceed the binary limits. */ - bool LegacyPsswdBinaryLimitExceeded( css::uno::Sequence< OUString >& sModules ); + bool LegacyPsswdBinaryLimitExceeded( std::vector< OUString >& sModules ); virtual void Notify(SfxBroadcaster& rBC, SfxHint const& rHint) override; |