summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/ui/inc/ConnectionLineAccess.hxx6
-rw-r--r--dbaccess/source/ui/inc/JAccess.hxx5
-rw-r--r--dbaccess/source/ui/inc/QueryTextView.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableWindowAccess.hxx5
-rw-r--r--dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx16
-rw-r--r--dbaccess/source/ui/querydesign/JAccess.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/QueryTextView.cxx5
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowAccess.cxx4
-rw-r--r--unusedcode.easy6
9 files changed, 0 insertions, 53 deletions
diff --git a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
index ce3451097408..fa3e860217f0 100644
--- a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
+++ b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
@@ -41,10 +41,6 @@ namespace dbaui
*/
virtual void SAL_CALL disposing() SAL_OVERRIDE;
- /** isEditable returns the current editable state
- @return true if it is editable otherwise false
- */
- bool isEditable() const;
public:
OConnectionLineAccess(OTableConnection* _pLine);
@@ -79,13 +75,11 @@ namespace dbaui
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleComponent
- bool SAL_CALL contains( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Point SAL_CALL getLocation( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- bool SAL_CALL isShowing( ) throw (::com::sun::star::uno::RuntimeException);
// XAccessibleRelationSet
virtual sal_Int32 SAL_CALL getRelationCount( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/JAccess.hxx b/dbaccess/source/ui/inc/JAccess.hxx
index d9642901a1e3..44e8dfb339d4 100644
--- a/dbaccess/source/ui/inc/JAccess.hxx
+++ b/dbaccess/source/ui/inc/JAccess.hxx
@@ -34,11 +34,6 @@ namespace dbaui
{
OJoinTableView* m_pTableView; // the window which I should give accessibility to
- protected:
- /** isEditable returns the current editable state
- @return true if the controller is not readonly otherwise false
- */
- bool isEditable() const;
public:
/** OJoinDesignViewAccess needs a valid view
*/
diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx
index a45eefb93a12..5d9cff71e4e4 100644
--- a/dbaccess/source/ui/inc/QueryTextView.hxx
+++ b/dbaccess/source/ui/inc/QueryTextView.hxx
@@ -41,8 +41,6 @@ namespace dbaui
void paste();
// clears the whole query
void clear();
- // set the view readonly or not
- void setReadOnly(bool _bReadOnly);
// set the statement for representation
void setStatement(const OUString& _rsStatement);
OUString getStatement();
diff --git a/dbaccess/source/ui/inc/TableWindowAccess.hxx b/dbaccess/source/ui/inc/TableWindowAccess.hxx
index c37f481e073b..710c755f85e5 100644
--- a/dbaccess/source/ui/inc/TableWindowAccess.hxx
+++ b/dbaccess/source/ui/inc/TableWindowAccess.hxx
@@ -43,11 +43,6 @@ namespace dbaui
*/
virtual void SAL_CALL disposing() SAL_OVERRIDE;
- /** isEditable returns the current editable state
- @return true if it is editable otherwise false
- */
- bool isEditable() const;
-
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
public:
OTableWindowAccess( OTableWindow* _pTable);
diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
index 0ea77ec75f26..d089f291c1ec 100644
--- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
+++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
@@ -105,12 +105,6 @@ namespace dbaui
return this;
}
// XAccessibleComponent
- bool SAL_CALL OConnectionLineAccess::contains( const awt::Point& _aPoint ) throw (RuntimeException)
- {
- ::osl::MutexGuard aGuard( m_aMutex );
- Point aPoint(_aPoint.X,_aPoint.Y);
- return m_pLine ? m_pLine->CheckHit(aPoint) : sal_False;
- }
Reference< XAccessible > SAL_CALL OConnectionLineAccess::getAccessibleAtPoint( const awt::Point& /*_aPoint*/ ) throw (RuntimeException, std::exception)
{
return Reference< XAccessible >();
@@ -139,11 +133,6 @@ namespace dbaui
Size aSize(m_pLine ? m_pLine->GetBoundingRect().GetSize() : Size());
return awt::Size(aSize.Width(),aSize.Height());
}
- bool SAL_CALL OConnectionLineAccess::isShowing( ) throw (RuntimeException)
- {
- ::osl::MutexGuard aGuard( m_aMutex );
- return m_pLine ? m_pLine->GetParent()->GetWindowRegionPixel().IsInside(m_pLine->GetBoundingRect()) : sal_False;
- }
// XAccessibleRelationSet
sal_Int32 SAL_CALL OConnectionLineAccess::getRelationCount( ) throw (RuntimeException, std::exception)
{
@@ -183,11 +172,6 @@ namespace dbaui
// clear vector
clearLineData();
}
- bool OConnectionLineAccess::isEditable() const
- {
-
- return m_pLine ? !m_pLine->GetParent()->getDesignView()->getController().isReadOnly() : sal_False;
- }
Reference< XAccessibleContext > SAL_CALL OConnectionLineAccess::getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return this;
diff --git a/dbaccess/source/ui/querydesign/JAccess.cxx b/dbaccess/source/ui/querydesign/JAccess.cxx
index 717128eb4aeb..9e942be56793 100644
--- a/dbaccess/source/ui/querydesign/JAccess.cxx
+++ b/dbaccess/source/ui/querydesign/JAccess.cxx
@@ -83,10 +83,6 @@ namespace dbaui
throw IndexOutOfBoundsException();
return aRet;
}
- bool OJoinDesignViewAccess::isEditable() const
- {
- return m_pTableView && !m_pTableView->getDesignView()->getController().isReadOnly();
- }
sal_Int16 SAL_CALL OJoinDesignViewAccess::getAccessibleRole( ) throw (RuntimeException, std::exception)
{
return AccessibleRole::VIEW_PORT;
diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx
index 162eb9b93502..107daa95ec2d 100644
--- a/dbaccess/source/ui/querydesign/QueryTextView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx
@@ -73,11 +73,6 @@ OUString OQueryTextView::getStatement()
return m_pEdit->GetText();
}
-void OQueryTextView::setReadOnly(bool _bReadOnly)
-{
- m_pEdit->SetReadOnly(_bReadOnly);
-}
-
void OQueryTextView::clear()
{
OSqlEditUndoAct* pUndoAct = new OSqlEditUndoAct( m_pEdit );
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
index 433e008e6e68..b91e32e50bed 100644
--- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
@@ -229,10 +229,6 @@ namespace dbaui
}
return AccessibleRelation();
}
- bool OTableWindowAccess::isEditable() const
- {
- return m_pTable && !m_pTable->getTableView()->getDesignView()->getController().isReadOnly();
- }
OUString SAL_CALL OTableWindowAccess::getTitledBorderText( ) throw (RuntimeException, std::exception)
{
return getAccessibleName( );
diff --git a/unusedcode.easy b/unusedcode.easy
index 31e36366a086..6a30cfc6b629 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -176,13 +176,7 @@ connectivity::sdbcx::OGroup::OGroup(bool)
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool)
dbaccess::OBookmarkContainer::dispose()
dbaccess::StorageInputStream::close()
-dbaui::OConnectionLineAccess::contains(com::sun::star::awt::Point const&)
-dbaui::OConnectionLineAccess::isEditable() const
-dbaui::OConnectionLineAccess::isShowing()
-dbaui::OJoinDesignViewAccess::isEditable() const
-dbaui::OQueryViewSwitch::setReadOnly(bool)
dbaui::OTableRowView::SetUpdatable(bool)
-dbaui::OTableWindowAccess::isEditable() const
dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&)
oglcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const