summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-06 19:13:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-06 21:55:10 +0200
commite76dfa63810d99e7b482c16b3b436ca1744defe3 (patch)
tree28835e173c0e506b1d618fa2f5a01400eb9238ce /reportdesign
parent59415434298861e35d79dc6c87e1a071b55367e2 (diff)
remove uncompiled source files
Change-Id: I0c581bb48f101a84d0f0c4ceb7b064cff0d509d6
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inc/ReportRuler.hxx57
-rw-r--r--reportdesign/source/ui/report/ReportRuler.cxx53
-rw-r--r--reportdesign/source/ui/report/ReportWindow.cxx1
-rw-r--r--reportdesign/source/ui/report/SectionWindow.cxx1
-rw-r--r--reportdesign/source/ui/report/dlgedfunc.cxx2
5 files changed, 0 insertions, 114 deletions
diff --git a/reportdesign/source/ui/inc/ReportRuler.hxx b/reportdesign/source/ui/inc/ReportRuler.hxx
deleted file mode 100644
index dc3c394f4d6c..000000000000
--- a/reportdesign/source/ui/inc/ReportRuler.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * 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_REPORTDESIGN_SOURCE_UI_INC_REPORTRULER_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTRULER_HXX
-
-#include <vcl/window.hxx>
-#include <com/sun/star/report/XSection.hpp>
-
-namespace rptui
-{
- class OReportSection;
- class OReportWindow;
- class OReportRuler : public Window
- {
- OReportSection* m_pSection;
- OReportWindow* m_pParent;
- bool m_bShow;
- OReportRuler(OReportRuler&);
- void operator =(OReportRuler&);
- public:
- OReportRuler(Window* _pParent,OReportWindow* _pReportWindowt,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection);
- virtual ~OReportRuler();
-
- // windows overloads
- virtual void Resize() SAL_OVERRIDE;
-
- inline OReportSection* getSection() const { return m_pSection; }
- inline OReportWindow* getView() const { return m_pParent; }
-
- /** makes the grid visible
- *
- * \param _bVisible when <TRUE/> the grid is made visible
- */
- void SetGridVisible(sal_Bool _bVisible);
- };
-
-} // rptui
-
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_REPORTRULER_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/report/ReportRuler.cxx b/reportdesign/source/ui/report/ReportRuler.cxx
deleted file mode 100644
index 4a3531f570dd..000000000000
--- a/reportdesign/source/ui/report/ReportRuler.cxx
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#include "ReportRuler.hxx"
-#include "ReportSection.hxx"
-#include "ReportWindow.hxx"
-namespace rptui
-{
-using namespace ::com::sun::star;
-OReportRuler::OReportRuler(Window* _pParent,OReportWindow* _pReportWindow,const uno::Reference< report::XSection >& _xSection)
-:Window(_pParent)
-,m_pParent(_pReportWindow)
-{
- SetMapMode( MapMode( MAP_100TH_MM ) );
-
- Show();
-}
-
-OReportRuler::~OReportRuler()
-{
- delete m_pSection;
-}
-
-void OReportRuler::Resize()
-{
- m_pSection->SetPosSizePixel(Point(0,0),GetOutputSize());
-}
-
-void OReportRuler::SetGridVisible(sal_Bool _bVisible)
-{
- m_pSection->SetGridVisible( _bVisible );
-}
-
-
-} // rptui
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/report/ReportWindow.cxx b/reportdesign/source/ui/report/ReportWindow.cxx
index 5f3c46847414..675f6ba6077e 100644
--- a/reportdesign/source/ui/report/ReportWindow.cxx
+++ b/reportdesign/source/ui/report/ReportWindow.cxx
@@ -20,7 +20,6 @@
#include "ReportSection.hxx"
#include "SectionView.hxx"
#include "ViewsWindow.hxx"
-#include "ReportRuler.hxx"
#include "DesignView.hxx"
#include "UITools.hxx"
diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx
index 1773d85f3ae0..779a410d69cc 100644
--- a/reportdesign/source/ui/report/SectionWindow.cxx
+++ b/reportdesign/source/ui/report/SectionWindow.cxx
@@ -18,7 +18,6 @@
*/
#include "SectionWindow.hxx"
#include "ReportWindow.hxx"
-#include "ReportRuler.hxx"
#include "rptui_slotid.hrc"
#include "ReportController.hxx"
#include "SectionView.hxx"
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx
index 543780841984..024b7cce9e95 100644
--- a/reportdesign/source/ui/report/dlgedfunc.cxx
+++ b/reportdesign/source/ui/report/dlgedfunc.cxx
@@ -47,8 +47,6 @@
#include "ReportWindow.hxx"
#include "RptObject.hxx"
#include "ScrollHelper.hxx"
-
-#include "ReportRuler.hxx"
#include "UITools.hxx"
#include <uistrings.hrc>