diff options
Diffstat (limited to 'dbaccess/source/ui/inc/dbexchange.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/dbexchange.hxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/dbaccess/source/ui/inc/dbexchange.hxx b/dbaccess/source/ui/inc/dbexchange.hxx index 7ee0f5ca2cf2..050f5bd3b849 100644 --- a/dbaccess/source/ui/inc/dbexchange.hxx +++ b/dbaccess/source/ui/inc/dbexchange.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_DBEXCHANGE_HXX -#define INCLUDED_DBACCESS_SOURCE_UI_INC_DBEXCHANGE_HXX +#pragma once #include "TokenWriter.hxx" #include <com/sun/star/util/XNumberFormatter.hpp> @@ -43,7 +42,16 @@ namespace dbaui ::rtl::Reference< ORTFImportExport > m_pRtf; public: + ODataClipboard(); + ODataClipboard( + const css::uno::Reference< css::beans::XPropertySet >& i_rAliveForm, + const css::uno::Sequence< css::uno::Any >& i_rSelectedRows, + const bool i_bBookmarkSelection, + const css::uno::Reference< css::uno::XComponentContext >& i_rORB + ); + + void Update( const OUString& _rDatasource, const sal_Int32 _nCommandType, const OUString& _rCommand, @@ -52,7 +60,7 @@ namespace dbaui const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - ODataClipboard( + void Update( const OUString& _rDatasource, const sal_Int32 _nCommandType, const OUString& _rCommand, @@ -60,13 +68,6 @@ namespace dbaui const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - ODataClipboard( - const css::uno::Reference< css::beans::XPropertySet >& i_rAliveForm, - const css::uno::Sequence< css::uno::Any >& i_rSelectedRows, - const bool i_bBookmarkSelection, - const css::uno::Reference< css::uno::XComponentContext >& i_rORB - ); - // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; @@ -74,11 +75,9 @@ namespace dbaui virtual void AddSupportedFormats() override; virtual bool GetData( const css::datatransfer::DataFlavor& rFlavor, const OUString& rDestDoc ) override; virtual void ObjectReleased() override; - virtual bool WriteObject( tools::SvRef<SotStorageStream>& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor& rFlavor ) override; + virtual bool WriteObject( SvStream& rOStm, void* pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor& rFlavor ) override; }; } -#endif // INCLUDED_DBACCESS_SOURCE_UI_INC_DBEXCHANGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |