summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reportdesign/source/core/api/Section.cxx19
-rw-r--r--reportdesign/source/core/inc/Section.hxx3
-rw-r--r--sc/source/ui/inc/tabview.hxx1
-rw-r--r--sc/source/ui/view/tabview.cxx42
-rw-r--r--unusedcode.easy5
-rw-r--r--vcl/inc/unx/salgdi.h4
-rw-r--r--vcl/unx/generic/gdi/salgdi2.cxx6
7 files changed, 4 insertions, 76 deletions
diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx
index 3ce3a2d8476f..465087310658 100644
--- a/reportdesign/source/core/api/Section.cxx
+++ b/reportdesign/source/core/api/Section.cxx
@@ -516,25 +516,6 @@ void SAL_CALL OSection::removeVetoableChangeListener( const OUString& PropertyNa
SectionPropertySet::removeVetoableChangeListener( PropertyName, aListener );
}
-void OSection::lcl_copySection(const uno::Reference< report::XSection>& _xSource,uno::Reference< report::XSection>& _xDest)
-{
- if ( _xSource.is() )
- {
- ::comphelper::copyProperties(_xSource.get(),_xDest.get());
- sal_Int32 nCount = _xSource->getCount();
- for(sal_Int32 i = 0;i != nCount;++i)
- {
- uno::Reference<util::XCloneable> xClone(_xSource->getByIndex(i),uno::UNO_QUERY);
- OSL_ENSURE(xClone.is(),"No XCloneable interface found!");
- if ( xClone.is() )
- {
- uno::Reference< drawing::XShape> xShape(xClone->createClone(),uno::UNO_QUERY);
- _xDest->add(xShape);
- }
- }
- }
-}
-
void SAL_CALL OSection::add( const uno::Reference< drawing::XShape >& xShape ) throw (uno::RuntimeException, std::exception)
{
{
diff --git a/reportdesign/source/core/inc/Section.hxx b/reportdesign/source/core/inc/Section.hxx
index f0a3031fc22b..03d06fcd2bf9 100644
--- a/reportdesign/source/core/inc/Section.hxx
+++ b/reportdesign/source/core/inc/Section.hxx
@@ -228,9 +228,6 @@ namespace reportdesign
static OSection* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent );
static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
- static void lcl_copySection(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xSource
- ,::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xDest);
-
void notifyElementAdded(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
void notifyElementRemoved(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
};
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 63573bae4bb8..8d6010ab2cdf 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -496,7 +496,6 @@ public:
Point GetMousePosPixel();
- void SnapSplitPos( Point& rScreenPosPixel );
void FreezeSplitters( bool bFreeze );
void RemoveSplit();
void SplitAtCursor();
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 1f5f07ca26b1..24ab8ecc06e6 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1962,48 +1962,6 @@ bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin )
} // anonymous namespace
-void ScTabView::SnapSplitPos( Point& rScreenPosPixel )
-{
- bool bOverWin = false;
- sal_uInt16 i;
- for (i=0; i<4; i++)
- if (lcl_MouseIsOverWin(rScreenPosPixel,pGridWin[i]))
- bOverWin = true;
-
- if (!bOverWin)
- return;
-
- // don't snap to cells if the scale will be modified afterwards
- if ( GetZoomType() != SVX_ZOOM_PERCENT )
- return;
-
- ScSplitPos ePos = SC_SPLIT_BOTTOMLEFT;
- if ( aViewData.GetVSplitMode() != SC_SPLIT_NONE )
- ePos = SC_SPLIT_TOPLEFT;
-
- vcl::Window* pWin = pGridWin[ePos];
- if (!pWin)
- {
- OSL_FAIL("Window NULL");
- return;
- }
-
- Point aMouse = pWin->NormalizedScreenToOutputPixel( rScreenPosPixel );
- SCsCOL nPosX;
- SCsROW nPosY;
- // bNextIfLarge=FALSE: nicht auf naechste Zelle, wenn ausserhalb des Fensters
- aViewData.GetPosFromPixel( aMouse.X(), aMouse.Y(), ePos, nPosX, nPosY, true, false, false );
- bool bLeft;
- bool bTop;
- aViewData.GetMouseQuadrant( aMouse, ePos, nPosX, nPosY, bLeft, bTop );
- if (!bLeft)
- ++nPosX;
- if (!bTop)
- ++nPosY;
- aMouse = aViewData.GetScrPos( static_cast<SCCOL>(nPosX), static_cast<SCROW>(nPosY), ePos, true );
- rScreenPosPixel = pWin->OutputToNormalizedScreenPixel( aMouse );
-}
-
void ScTabView::FreezeSplitters( bool bFreeze )
{
ScSplitMode eOldH = aViewData.GetHSplitMode();
diff --git a/unusedcode.easy b/unusedcode.easy
index 68341cbbd4e2..99f7933cc148 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -19,6 +19,7 @@ Primitive2dXmlDump::filterActionType(unsigned short, bool)
Primitive2dXmlDump::filterAllActionTypes()
Printer::Error()
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
+ScBroadcastAreaSlot::AreaBroadcastInRange(ScRange const&, ScHint const&)
ScCellValue::set(ScRefCellValue const&)
ScCondFormatManagerDlg::IsInRefMode() const
ScDocument::CreateFormatTable() const
@@ -54,7 +55,6 @@ Test::testPerf()
Test::testSharedFormulaMoveBlock()
ToolBox::UserDraw(UserDrawEvent const&)
UnxPluginComm::NPP_GetMIMEDescription()
-X11SalGraphics::drawAlphaBitmap(SalTwoRect const&, SalBitmap const&)
XclXmlUtils::ToOString(XclRange const&)
XmlTestTools::parseXml(utl::TempFile&)
apitest::CellProperties::testRotateReference()
@@ -197,6 +197,9 @@ dbaui::OQueryViewSwitch::setReadOnly(bool)
dbaui::OTableRowView::SetUpdatable(bool)
dbaui::OTableWindowAccess::isEditable() const
dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&)
+frm::ORichTextModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
+frm::OScrollBarModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
+frm::OSpinButtonModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
oglcanvas::CanvasHelper::flush() 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
oox::drawingml::TextListStyle::dump() const
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index 40e1cd65b449..5f04d79bca92 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -250,10 +250,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE;
- bool drawAlphaBitmap(
- const SalTwoRect&,
- const SalBitmap& rBitmap );
-
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,
diff --git a/vcl/unx/generic/gdi/salgdi2.cxx b/vcl/unx/generic/gdi/salgdi2.cxx
index 850b2a84ee41..7b667cb1b5b1 100644
--- a/vcl/unx/generic/gdi/salgdi2.cxx
+++ b/vcl/unx/generic/gdi/salgdi2.cxx
@@ -193,12 +193,6 @@ bool X11SalGraphics::drawAlphaBitmap( const SalTwoRect& rTR,
return mxImpl->drawAlphaBitmap( rTR, rSrcBitmap, rAlphaBmp );
}
-bool X11SalGraphics::drawAlphaBitmap( const SalTwoRect& rTR,
- const SalBitmap& rBitmap )
-{
- return mxImpl->drawAlphaBitmap( rTR, rBitmap );
-}
-
bool X11SalGraphics::drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,