diff options
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppController.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppControllerGen.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/advancedsettings.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/optionalboolitem.hxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx | 4 |
8 files changed, 13 insertions, 13 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index df35c9a36111..aceaec2b36f6 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -393,7 +393,7 @@ void SAL_CALL OApplicationController::disposing() aURL.GetURLNoPass( INetURLObject::DecodeMechanism::NONE ), aFilter, getStrippedDatabaseName(), - boost::none); + o3tl::nullopt); // add to recent document list if ( aURL.GetProtocol() == INetProtocol::File ) diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index 2aacb412d9f8..5039a97af205 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -349,7 +349,7 @@ namespace dbaui /** verifies the object type denotes a valid DatabaseObject, and the object name denotes an existing object of this type. Throws if not. */ - void impl_validateObjectTypeAndName_throw( const sal_Int32 _nObjectType, const ::boost::optional< OUString >& i_rObjectName ); + void impl_validateObjectTypeAndName_throw( const sal_Int32 _nObjectType, const ::o3tl::optional< OUString >& i_rObjectName ); protected: // initializing members diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx index 842a48c8c659..9c2ad5dbb748 100644 --- a/dbaccess/source/ui/app/AppControllerGen.cxx +++ b/dbaccess/source/ui/app/AppControllerGen.cxx @@ -378,7 +378,7 @@ namespace } } -void OApplicationController::impl_validateObjectTypeAndName_throw( const sal_Int32 _nObjectType, const ::boost::optional< OUString >& i_rObjectName ) +void OApplicationController::impl_validateObjectTypeAndName_throw( const sal_Int32 _nObjectType, const ::o3tl::optional< OUString >& i_rObjectName ) { // ensure we're connected if ( !isConnected() ) @@ -460,7 +460,7 @@ Reference< XComponent > SAL_CALL OApplicationController::createComponentWithArgu SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( getMutex() ); - impl_validateObjectTypeAndName_throw( i_nObjectType, ::boost::optional< OUString >() ); + impl_validateObjectTypeAndName_throw( i_nObjectType, ::o3tl::optional< OUString >() ); Reference< XComponent > xComponent( newElement( lcl_objectType2ElementType( i_nObjectType ), diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index c72d3a0b6e9b..2b33bd6ded7b 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -3172,7 +3172,7 @@ void SbaTableQueryBrowser::impl_initialize() if ( m_bEnableBrowser ) { - m_aDocScriptSupport = ::boost::optional< bool >( false ); + m_aDocScriptSupport = ::o3tl::optional< bool >( false ); } else { @@ -3180,7 +3180,7 @@ void SbaTableQueryBrowser::impl_initialize() // there is a specific database document which we belong to. Reference< XOfficeDatabaseDocument > xDocument( getDataSourceOrModel( lcl_getDataSource( m_xDatabaseContext, sInitialDataSourceName, xConnection ) ), UNO_QUERY ); - m_aDocScriptSupport = ::boost::optional< bool >( Reference< XEmbeddedScripts >( xDocument, UNO_QUERY ).is() ); + m_aDocScriptSupport = ::o3tl::optional< bool >( Reference< XEmbeddedScripts >( xDocument, UNO_QUERY ).is() ); } if ( implSelect( sInitialDataSourceName, sInitialCommand, nInitialDisplayCommandType, bEscapeProcessing, xConnection, true ) ) diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx index 72715285b013..9bffee98ef6e 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.cxx +++ b/dbaccess/source/ui/dlg/advancedsettings.cxx @@ -203,7 +203,7 @@ namespace dbaui bool bTriState = false; - boost::optional<bool> aValue; + o3tl::optional<bool> aValue; const SfxPoolItem* pItem = _rSet.GetItem<SfxPoolItem>(booleanSetting.nItemId); if (const SfxBoolItem *pBoolItem = dynamic_cast<const SfxBoolItem*>( pItem) ) diff --git a/dbaccess/source/ui/dlg/optionalboolitem.hxx b/dbaccess/source/ui/dlg/optionalboolitem.hxx index f80dcd52fbf0..ce0a8f0659b6 100644 --- a/dbaccess/source/ui/dlg/optionalboolitem.hxx +++ b/dbaccess/source/ui/dlg/optionalboolitem.hxx @@ -22,7 +22,7 @@ #include <svl/poolitem.hxx> -#include <boost/optional.hpp> +#include <o3tl/optional.hxx> namespace dbaui { @@ -30,7 +30,7 @@ namespace dbaui // OptionalBoolItem class OptionalBoolItem : public SfxPoolItem { - ::boost::optional< bool > m_aValue; + ::o3tl::optional< bool > m_aValue; public: explicit OptionalBoolItem( sal_uInt16 nWhich ); @@ -43,7 +43,7 @@ namespace dbaui bool GetValue() const { return *m_aValue; } void SetValue(bool _bValue) { m_aValue = _bValue; } - const ::boost::optional< bool >& + const ::o3tl::optional< bool >& GetFullValue() const { return m_aValue; } }; diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index 48f1b5217577..77e621588e9c 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -108,7 +108,7 @@ namespace dbaui bool m_bShowMenu; // if sal_True the menu should be visible otherwise not bool m_bInSuspend; bool m_bEnableBrowser; - ::boost::optional< bool > + ::o3tl::optional< bool > m_aDocScriptSupport; // relevant if and only if we are associated with exactly one DBDoc virtual OUString getPrivateTitle( ) const override; diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 7f7163a32ba1..9950cbd869d0 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -123,7 +123,7 @@ namespace dbaui struct DBSubComponentController_Impl { private: - ::boost::optional< bool > m_aDocScriptSupport; + ::o3tl::optional< bool > m_aDocScriptSupport; public: ::dbtools::SQLExceptionInfo m_aCurrentError; @@ -166,7 +166,7 @@ namespace dbaui { OSL_PRECOND( !m_aDocScriptSupport, "DBSubComponentController_Impl::setDocumentScriptSupport: already initialized!" ); - m_aDocScriptSupport = ::boost::optional< bool >( _bSupport ); + m_aDocScriptSupport = ::o3tl::optional< bool >( _bSupport ); } }; |