Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
439550c9
Kaydet (Commit)
439550c9
authored
Haz 04, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unnecessary and unused chart debug functionality
Change-Id: Ic8100b2afebe469709723b324394e08b7669d911
üst
044be710
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
141 deletions
+0
-141
Library_chartcore.mk
chart2/Library_chartcore.mk
+0
-1
ChartDebugTrace.hxx
chart2/source/inc/ChartDebugTrace.hxx
+0
-63
ChartModel_Persistence.cxx
chart2/source/model/main/ChartModel_Persistence.cxx
+0
-6
ChartTypeTemplate.cxx
chart2/source/model/template/ChartTypeTemplate.cxx
+0
-10
ChartDebugTrace.cxx
chart2/source/tools/ChartDebugTrace.cxx
+0
-61
No files found.
chart2/Library_chartcore.mk
Dosyayı görüntüle @
439550c9
...
...
@@ -183,7 +183,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\
chart2/source/tools/BaseGFXHelper \
chart2/source/tools/CachedDataSequence \
chart2/source/tools/CharacterProperties \
chart2/source/tools/ChartDebugTrace \
chart2/source/tools/ChartModelHelper \
chart2/source/tools/ChartTypeHelper \
chart2/source/tools/ChartViewHelper \
...
...
chart2/source/inc/ChartDebugTrace.hxx
deleted
100644 → 0
Dosyayı görüntüle @
044be710
/* -*- 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_CHART2_SOURCE_INC_CHARTDEBUGTRACE_HXX
#define INCLUDED_CHART2_SOURCE_INC_CHARTDEBUGTRACE_HXX
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/XDiagram.hpp>
#include "charttoolsdllapi.hxx"
#define CHART_TRACE_OSL_DEBUG_LEVEL 2
namespace
chart
{
namespace
debug
{
#if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
/** Does several OSL_TRACEs that show information about the given chart document
(e.g. the chart-type manager, diagrams etc.)
If OSL_DEBUG_LEVEL is less than CHART_TRACE_OSL_DEBUG_LEVEL this
function does nothing.
*/
OOO_DLLPUBLIC_CHARTTOOLS
void
ChartDebugTraceDocument
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XChartDocument
>
&
xDoc
,
int
nIndent
=
0
);
/** Does several OSL_TRACEs that show information about the given diagram
(e.g. coordinate systems, data series etc.)
If OSL_DEBUG_LEVEL is less than CHART_TRACE_OSL_DEBUG_LEVEL this
function does nothing.
*/
OOO_DLLPUBLIC_CHARTTOOLS
void
ChartDebugTraceDiagram
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XDiagram
>
&
xDiagram
,
int
nIndent
=
0
);
#endif
}
// namespace debug
}
// namespace chart
// INCLUDED_CHART2_SOURCE_INC_CHARTDEBUGTRACE_HXX
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/model/main/ChartModel_Persistence.cxx
Dosyayı görüntüle @
439550c9
...
...
@@ -19,7 +19,6 @@
#include "ChartModel.hxx"
#include "MediaDescriptorHelper.hxx"
#include "ChartDebugTrace.hxx"
#include "macros.hxx"
#include "ChartViewHelper.hxx"
#include "ChartModelHelper.hxx"
...
...
@@ -480,11 +479,6 @@ void SAL_CALL ChartModel::initNew()
}
setModified
(
sal_False
);
unlockControllers
();
#if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
OSL_TRACE
(
"ChartModel::initNew: Showing ChartDocument structure"
);
::
chart
::
debug
::
ChartDebugTraceDocument
(
Reference
<
chart2
::
XChartDocument
>
(
this
));
#endif
}
void
SAL_CALL
ChartModel
::
load
(
...
...
chart2/source/model/template/ChartTypeTemplate.cxx
Dosyayı görüntüle @
439550c9
...
...
@@ -30,7 +30,6 @@
#include "AxisHelper.hxx"
#include "LegendHelper.hxx"
#include "DiagramHelper.hxx"
#include "ChartDebugTrace.hxx"
#include "AxisIndexDefines.hxx"
#include <cppuhelper/component_context.hxx>
#include <com/sun/star/chart/ChartSolidType.hpp>
...
...
@@ -304,10 +303,6 @@ void SAL_CALL ChartTypeTemplate::changeDiagramData(
Reference
<
XDataSeriesContainer
>
xDSCnt
(
aChartTypes
[
i
],
uno
::
UNO_QUERY_THROW
);
xDSCnt
->
setDataSeries
(
aSeriesSeq
[
i
]
);
}
#if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
OSL_TRACE
(
"ChartTypeTemplate::changeDiagramData: Showing Diagram structure"
);
::
chart
::
debug
::
ChartDebugTraceDiagram
(
xDiagram
);
#endif
}
catch
(
const
uno
::
Exception
&
ex
)
{
...
...
@@ -805,11 +800,6 @@ void ChartTypeTemplate::FillDiagram(
{
ASSERT_EXCEPTION
(
ex
);
}
#if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
OSL_TRACE
(
"ChartTypeTemplate::FillDiagram: Showing Diagram structure"
);
::
chart
::
debug
::
ChartDebugTraceDiagram
(
xDiagram
);
#endif
}
void
ChartTypeTemplate
::
createChartTypes
(
...
...
chart2/source/tools/ChartDebugTrace.cxx
deleted
100644 → 0
Dosyayı görüntüle @
044be710
/* -*- 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 "ChartDebugTrace.hxx"
#include "macros.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/chart2/AxisType.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart2/StackingDirection.hpp>
#include <rtl/math.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
chart2
;
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
::
com
::
sun
::
star
::
uno
::
Sequence
;
namespace
chart
{
namespace
debug
{
#if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
void
ChartDebugTraceDocument
(
const
Reference
<
XChartDocument
>
&
/*xDoc*/
,
int
/*nIndent*/
)
{
}
void
ChartDebugTraceDiagram
(
const
Reference
<
XDiagram
>
&
/*xDiagram*/
,
int
/*nIndent*/
)
{
}
#endif
}
// namespace debug
}
// namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment