diff options
Diffstat (limited to 'dbaccess/source/ui/app')
-rw-r--r-- | dbaccess/source/ui/app/AppControllerDnD.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.hxx | 20 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppDetailView.hxx | 20 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppView.cxx | 18 | ||||
-rw-r--r-- | dbaccess/source/ui/app/AppView.hxx | 18 | ||||
-rw-r--r-- | dbaccess/source/ui/app/subcomponentmanager.hxx | 8 |
6 files changed, 43 insertions, 43 deletions
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx index 2b5d850affdb..f0623e798e9e 100644 --- a/dbaccess/source/ui/app/AppControllerDnD.cxx +++ b/dbaccess/source/ui/app/AppControllerDnD.cxx @@ -192,7 +192,7 @@ void OApplicationController::deleteObjects( ElementType _eType, const ::std::vec Reference< XHierarchicalNameContainer > xHierarchyName( xNames, UNO_QUERY ); if ( xNames.is() ) { - rtl::OString sDialogPosition; + OString sDialogPosition; svtools::QueryDeleteResult_Impl eResult = _bConfirm ? svtools::QUERYDELETE_YES : svtools::QUERYDELETE_ALL; // The list of elements to delete is allowed to contain related elements: A given element may diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx index ba3971f930d4..486ca96a8baa 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx @@ -151,7 +151,7 @@ namespace dbaui @return The new tree. */ - DBTreeListBox* createSimpleTree( const rtl::OString& _sHelpId, const Image& _rImage); + DBTreeListBox* createSimpleTree( const OString& _sHelpId, const Image& _rImage); DECL_LINK( OnEntryDoubleClick, SvTreeListBox* ); DECL_LINK( OnEntrySelChange, void* ); @@ -221,7 +221,7 @@ namespace dbaui @param _rNames The list will be filled. */ - void getSelectionElementNames( ::std::vector< ::rtl::OUString>& _rNames ) const; + void getSelectionElementNames( ::std::vector< OUString>& _rNames ) const; /** describes the current selection for the given control */ @@ -241,7 +241,7 @@ namespace dbaui * * \param _aNames the element names */ - void selectElements(const ::com::sun::star::uno::Sequence< ::rtl::OUString>& _aNames); + void selectElements(const ::com::sun::star::uno::Sequence< OUString>& _aNames); /** return the qualified name. @param _pEntry @@ -250,7 +250,7 @@ namespace dbaui @return the qualified name */ - ::rtl::OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; + OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; /// return the element of currently select entry ElementType getElementType() const; @@ -294,7 +294,7 @@ namespace dbaui If we insert a table, the connection must be set. */ SvTreeListEntry* elementAdded(ElementType eType - ,const ::rtl::OUString& _rName + ,const OUString& _rName ,const ::com::sun::star::uno::Any& _rObject ); /** replaces a objects name with a new one @@ -308,8 +308,8 @@ namespace dbaui If we insert a table, the connection must be set. */ void elementReplaced(ElementType eType - ,const ::rtl::OUString& _rOldName - ,const ::rtl::OUString& _rNewName ); + ,const OUString& _rOldName + ,const OUString& _rNewName ); /** removes an element from the detail page. @param _eType @@ -320,7 +320,7 @@ namespace dbaui If we remove a table, the connection must be set. */ void elementRemoved(ElementType _eType - ,const ::rtl::OUString& _rName ); + ,const OUString& _rName ); /// returns the preview mode @@ -352,8 +352,8 @@ namespace dbaui <TRUE/> if it is a table, otherwise <FALSE/> @return void */ - void showPreview( const ::rtl::OUString& _sDataSourceName, - const ::rtl::OUString& _sName, + void showPreview( const OUString& _sDataSourceName, + const OUString& _sName, sal_Bool _bTable); protected: diff --git a/dbaccess/source/ui/app/AppDetailView.hxx b/dbaccess/source/ui/app/AppDetailView.hxx index f8bb55627901..67c9b57e9f96 100644 --- a/dbaccess/source/ui/app/AppDetailView.hxx +++ b/dbaccess/source/ui/app/AppDetailView.hxx @@ -89,7 +89,7 @@ namespace dbaui struct TaskEntry { - ::rtl::OUString sUNOCommand; + OUString sUNOCommand; sal_uInt16 nHelpID; String sTitle; bool bHideWhenDisabled; @@ -206,7 +206,7 @@ namespace dbaui @return the qualified name */ - ::rtl::OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; + OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; /** returns if an entry is a leaf @param _pEntry @@ -257,7 +257,7 @@ namespace dbaui @param _rNames The list will be filled. */ - void getSelectionElementNames(::std::vector< ::rtl::OUString>& _rNames ) const; + void getSelectionElementNames(::std::vector< OUString>& _rNames ) const; /** describes the current selection for the given control */ @@ -277,7 +277,7 @@ namespace dbaui * * \param _aNames the element names */ - void selectElements(const ::com::sun::star::uno::Sequence< ::rtl::OUString>& _aNames); + void selectElements(const ::com::sun::star::uno::Sequence< OUString>& _aNames); /** adds a new object to the detail page. @param _eType @@ -290,7 +290,7 @@ namespace dbaui If we insert a table, the connection must be set. */ SvTreeListEntry* elementAdded(ElementType eType - ,const ::rtl::OUString& _rName + ,const OUString& _rName ,const ::com::sun::star::uno::Any& _rObject ); /** replaces a objects name with a new one @@ -306,8 +306,8 @@ namespace dbaui The object which was replaced */ void elementReplaced(ElementType eType - ,const ::rtl::OUString& _rOldName - ,const ::rtl::OUString& _rNewName ); + ,const OUString& _rOldName + ,const OUString& _rNewName ); /** removes an element from the detail page. @param _eType @@ -318,7 +318,7 @@ namespace dbaui If we remove a table, the connection must be set. */ void elementRemoved(ElementType _eType - ,const ::rtl::OUString& _rName ); + ,const OUString& _rName ); /// returns the preview mode PreviewMode getPreviewMode(); @@ -348,8 +348,8 @@ namespace dbaui <TRUE/> if it is a table, otherwise <FALSE/> @return void */ - void showPreview( const ::rtl::OUString& _sDataSourceName, - const ::rtl::OUString& _sName, + void showPreview( const OUString& _sDataSourceName, + const OUString& _sName, sal_Bool _bTable); SvTreeListEntry* getEntry( const Point& _aPoint ) const; diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx index 2157175cc906..568d585c5758 100644 --- a/dbaccess/source/ui/app/AppView.cxx +++ b/dbaccess/source/ui/app/AppView.cxx @@ -361,7 +361,7 @@ void OApplicationView::paste() pTest->paste(); } // ----------------------------------------------------------------------------- -::rtl::OUString OApplicationView::getQualifiedName( SvTreeListEntry* _pEntry ) const +OUString OApplicationView::getQualifiedName( SvTreeListEntry* _pEntry ) const { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); return getDetailView()->getQualifiedName( _pEntry ); @@ -427,7 +427,7 @@ sal_Int32 OApplicationView::getElementCount() return getDetailView()->getElementCount(); } // ----------------------------------------------------------------------------- -void OApplicationView::getSelectionElementNames( ::std::vector< ::rtl::OUString>& _rNames ) const +void OApplicationView::getSelectionElementNames( ::std::vector< OUString>& _rNames ) const { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); getDetailView()->getSelectionElementNames( _rNames ); @@ -445,27 +445,27 @@ void OApplicationView::describeCurrentSelectionForType( const ElementType _eType getDetailView()->describeCurrentSelectionForType( _eType, _out_rSelectedObjects ); } // ----------------------------------------------------------------------------- -void OApplicationView::selectElements(const Sequence< ::rtl::OUString>& _aNames) +void OApplicationView::selectElements(const Sequence< OUString>& _aNames) { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); getDetailView()->selectElements( _aNames ); } // ----------------------------------------------------------------------------- -SvTreeListEntry* OApplicationView::elementAdded(ElementType eType,const ::rtl::OUString& _rName, const Any& _rObject ) +SvTreeListEntry* OApplicationView::elementAdded(ElementType eType,const OUString& _rName, const Any& _rObject ) { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); return getDetailView()->elementAdded(eType,_rName,_rObject); } // ----------------------------------------------------------------------------- -void OApplicationView::elementRemoved(ElementType eType,const ::rtl::OUString& _rName ) +void OApplicationView::elementRemoved(ElementType eType,const OUString& _rName ) { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); getDetailView()->elementRemoved(eType,_rName); } // ----------------------------------------------------------------------------- void OApplicationView::elementReplaced(ElementType _eType - ,const ::rtl::OUString& _rOldName - ,const ::rtl::OUString& _rNewName ) + ,const OUString& _rOldName + ,const OUString& _rNewName ) { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); getDetailView()->elementReplaced(_eType, _rOldName, _rNewName ); @@ -517,9 +517,9 @@ void OApplicationView::showPreview(const Reference< XContent >& _xContent) getDetailView()->showPreview(_xContent); } // ----------------------------------------------------------------------------- -void OApplicationView::showPreview( const ::rtl::OUString& _sDataSourceName, +void OApplicationView::showPreview( const OUString& _sDataSourceName, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection, - const ::rtl::OUString& _sName, + const OUString& _sName, sal_Bool _bTable) { OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF"); diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx index 9c9cddf0e239..ed82d61ae3b1 100644 --- a/dbaccess/source/ui/app/AppView.hxx +++ b/dbaccess/source/ui/app/AppView.hxx @@ -141,7 +141,7 @@ namespace dbaui @return the qualified name */ - ::rtl::OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; + OUString getQualifiedName( SvTreeListEntry* _pEntry ) const; /** returns if an entry is a leaf @param _pEntry @@ -192,7 +192,7 @@ namespace dbaui @param _rNames The list will be filled. */ - void getSelectionElementNames( ::std::vector< ::rtl::OUString>& _rNames ) const; + void getSelectionElementNames( ::std::vector< OUString>& _rNames ) const; /** describes the current selection for the given control */ @@ -212,7 +212,7 @@ namespace dbaui * * \param _aNames the element names */ - void selectElements(const ::com::sun::star::uno::Sequence< ::rtl::OUString>& _aNames); + void selectElements(const ::com::sun::star::uno::Sequence< OUString>& _aNames); /** adds a new object to the detail page. @param _eType @@ -225,7 +225,7 @@ namespace dbaui If we insert a table, the connection must be set. */ SvTreeListEntry* elementAdded(ElementType _eType - ,const ::rtl::OUString& _rName + ,const OUString& _rName ,const ::com::sun::star::uno::Any& _rObject ); /** replaces a objects name with a new one @@ -241,8 +241,8 @@ namespace dbaui The object which was replaced */ void elementReplaced(ElementType eType - ,const ::rtl::OUString& _rOldName - ,const ::rtl::OUString& _rNewName ); + ,const OUString& _rOldName + ,const OUString& _rNewName ); /** removes an element from the detail page. @param _eType @@ -253,7 +253,7 @@ namespace dbaui If we remove a table, the connection must be set. */ void elementRemoved(ElementType _eType - ,const ::rtl::OUString& _rName ); + ,const OUString& _rName ); /** changes the container which should be displayed. The select handler will also be called. @@ -291,9 +291,9 @@ namespace dbaui <TRUE/> if it is a table, otherwise <FALSE/> @return void */ - void showPreview( const ::rtl::OUString& _sDataSourceName, + void showPreview( const OUString& _sDataSourceName, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection, - const ::rtl::OUString& _sName, + const OUString& _sName, sal_Bool _bTable); SvTreeListEntry* getEntry( const Point& _aPosPixel ) const; diff --git a/dbaccess/source/ui/app/subcomponentmanager.hxx b/dbaccess/source/ui/app/subcomponentmanager.hxx index 52981edb0bc3..15a3def5f7ac 100644 --- a/dbaccess/source/ui/app/subcomponentmanager.hxx +++ b/dbaccess/source/ui/app/subcomponentmanager.hxx @@ -64,7 +64,7 @@ namespace dbaui // container access void onSubComponentOpened( - const ::rtl::OUString& _rName, + const OUString& _rName, const sal_Int32 _nComponentType, const ElementOpenMode _eOpenMode, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& @@ -79,7 +79,7 @@ namespace dbaui previously */ bool activateSubFrame( - const ::rtl::OUString& _rName, + const OUString& _rName, const sal_Int32 _nComponentType, const ElementOpenMode _eOpenMode, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& o_rComponent @@ -95,7 +95,7 @@ namespace dbaui exist. */ bool closeSubFrames( - const ::rtl::OUString& _rName, + const OUString& _rName, const sal_Int32 _nComponentType ); @@ -112,7 +112,7 @@ namespace dbaui */ bool lookupSubComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& i_rComponent, - ::rtl::OUString& o_rName, + OUString& o_rName, sal_Int32& o_rComponentType ); |