[Libreoffice-commits] core.git: 2 commits - include/tools reportdesign/source

Thomas Arnhold thomas at arnhold.org
Tue May 6 12:56:26 PDT 2014


 include/tools/bigint.hxx                        |   13 -----
 reportdesign/source/ui/inc/ReportRuler.hxx      |   57 ------------------------
 reportdesign/source/ui/report/ReportRuler.cxx   |   53 ----------------------
 reportdesign/source/ui/report/ReportWindow.cxx  |    1 
 reportdesign/source/ui/report/SectionWindow.cxx |    1 
 reportdesign/source/ui/report/dlgedfunc.cxx     |    2 
 6 files changed, 127 deletions(-)

New commits:
commit e76dfa63810d99e7b482c16b3b436ca1744defe3
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Tue May 6 19:13:34 2014 +0200

    remove uncompiled source files
    
    Change-Id: I0c581bb48f101a84d0f0c4ceb7b064cff0d509d6

diff --git a/reportdesign/source/ui/inc/ReportRuler.hxx b/reportdesign/source/ui/inc/ReportRuler.hxx
deleted file mode 100644
index dc3c394..0000000
--- 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 4a3531f..0000000
--- 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 5f3c468..675f6ba 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 1773d85..779a410 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 5437808..024b7cc 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>
commit 59415434298861e35d79dc6c87e1a071b55367e2
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Tue May 6 18:32:53 2014 +0200

    _TLBIGINT_INT64 gone with 09abd826a0e2
    
    Change-Id: I749fe74abd7608afcb2b7b2351cee6513fc76c8f

diff --git a/include/tools/bigint.hxx b/include/tools/bigint.hxx
index e90f91b..33d19bc 100644
--- a/include/tools/bigint.hxx
+++ b/include/tools/bigint.hxx
@@ -26,11 +26,6 @@
 
 class SvStream;
 
-#ifdef _TLBIGINT_INT64
-struct SbxINT64;
-struct SbxUINT64;
-#endif
-
 #define MAX_DIGITS 8
 
 class Fraction;
@@ -108,10 +103,6 @@ public:
     BigInt( sal_uInt32 nVal );
     BigInt( const BigInt& rBigInt );
     BigInt( const OUString& rString );
-#ifdef _TLBIGINT_INT64
-    BigInt( const SbxINT64  &r );
-    BigInt( const SbxUINT64 &r );
-#endif
 
     operator        short() const;
     operator        long()  const;
@@ -128,10 +119,6 @@ public:
     bool        IsOne() const;
     bool        IsLong() const { return !((bool)bIsBig); }
     void            Abs();
-#ifdef _TLBIGINT_INT64
-    bool        INT64 ( SbxINT64  *p ) const;
-    bool        UINT64( SbxUINT64 *p ) const;
-#endif
 
     BigInt&         operator  =( const BigInt& rVal );
     BigInt&         operator +=( const BigInt& rVal );


More information about the Libreoffice-commits mailing list