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
b32bcaf1
Kaydet (Commit)
b32bcaf1
authored
Kas 04, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw, writerfilter: fixed debug builds and output dmapper table messages
üst
0ec5a0d1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
34 deletions
+40
-34
accmap.cxx
sw/source/core/access/accmap.cxx
+1
-0
toxhlp.cxx
sw/source/core/tox/toxhlp.cxx
+1
-0
optpage.cxx
sw/source/ui/config/optpage.cxx
+1
-1
debug_setup.mk
writerfilter/debug_setup.mk
+2
-0
TableManager.hxx
writerfilter/inc/resourcemodel/TableManager.hxx
+32
-32
DomainMapperTableHandler.cxx
writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+3
-1
No files found.
sw/source/core/access/accmap.cxx
Dosyayı görüntüle @
b32bcaf1
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <rtl/ref.hxx>
#include <rtl/ref.hxx>
#include <rtl/strbuf.hxx>
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/weakref.hxx>
#include <vcl/window.hxx>
#include <vcl/window.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdmodel.hxx>
...
...
sw/source/core/tox/toxhlp.cxx
Dosyayı görüntüle @
b32bcaf1
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
#include <rtl/strbuf.hxx>
#include <tools/string.hxx>
#include <tools/string.hxx>
#include <toxwrap.hxx>
#include <toxwrap.hxx>
...
...
sw/source/ui/config/optpage.cxx
Dosyayı görüntüle @
b32bcaf1
...
@@ -1775,7 +1775,7 @@ SwTestTabPage::SwTestTabPage( Window* pParent,
...
@@ -1775,7 +1775,7 @@ SwTestTabPage::SwTestTabPage( Window* pParent,
lcl_SetPosSize
(
aTest9CBox
,
Point
(
116
,
53
),
Size
(
74
,
10
));
lcl_SetPosSize
(
aTest9CBox
,
Point
(
116
,
53
),
Size
(
74
,
10
));
lcl_SetPosSize
(
aTest10CBox
,
Point
(
116
,
66
),
Size
(
74
,
10
));
lcl_SetPosSize
(
aTest10CBox
,
Point
(
116
,
66
),
Size
(
74
,
10
));
aTestFL
.
SetText
(
rtl
::
OUString
(
RTL_CONSTASCII_STRINGPARAM
(
"Settings only for testpurposes"
,
RTL_TEXTENCODING_ASCII_US
));
aTestFL
.
SetText
(
rtl
::
OUString
::
createFromAscii
(
"Settings only for testpurposes"
));
aTest1CBox
.
SetText
(
C2S
(
"unused"
));
aTest1CBox
.
SetText
(
C2S
(
"unused"
));
aTest2CBox
.
SetText
(
C2S
(
"dynamic"
));
aTest2CBox
.
SetText
(
C2S
(
"dynamic"
));
aTest3CBox
.
SetText
(
C2S
(
"No calm"
));
aTest3CBox
.
SetText
(
C2S
(
"No calm"
));
...
...
writerfilter/debug_setup.mk
Dosyayı görüntüle @
b32bcaf1
...
@@ -10,5 +10,7 @@ $(if $(filter-out 0 1,$(strip $(gb_DEBUGLEVEL))),\
...
@@ -10,5 +10,7 @@ $(if $(filter-out 0 1,$(strip $(gb_DEBUGLEVEL))),\
-DDEBUG_IMPORT \
-DDEBUG_IMPORT \
-DDEBUG_LOGGING \
-DDEBUG_LOGGING \
-DDEBUG_DMAPPER_PROPERTY_MAP \
-DDEBUG_DMAPPER_PROPERTY_MAP \
-DDEBUG_DMAPPER_TABLE_HANDLER \
-DDEBUG_TABLE \
)
)
endef
endef
writerfilter/inc/resourcemodel/TableManager.hxx
Dosyayı görüntüle @
b32bcaf1
...
@@ -625,11 +625,11 @@ template <typename T, typename PropertiesPointer>
...
@@ -625,11 +625,11 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
cellDepth
(
sal_uInt32
nDepth
)
void
TableManager
<
T
,
PropertiesPointer
>::
cellDepth
(
sal_uInt32
nDepth
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
{
{
mpTableLogger
->
startElement
(
"tablemanager.cellDepth"
);
mpTableLogger
->
startElement
(
"tablemanager.cellDepth"
);
mpTableLogger
->
attribute
(
"depth"
,
nDepth
);
mpTableLogger
->
attribute
(
"depth"
,
nDepth
);
mpTableLogger
->
endElement
(
"tablemanager.cellDepth"
);
mpTableLogger
->
endElement
();
}
}
#endif
#endif
...
@@ -640,7 +640,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -640,7 +640,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
inCell
()
void
TableManager
<
T
,
PropertiesPointer
>::
inCell
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
element
(
"tablemanager.inCell"
);
mpTableLogger
->
element
(
"tablemanager.inCell"
);
#endif
#endif
setInCell
(
true
);
setInCell
(
true
);
...
@@ -653,7 +653,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -653,7 +653,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
endCell
()
void
TableManager
<
T
,
PropertiesPointer
>::
endCell
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
element
(
"tablemanager.endCell"
);
mpTableLogger
->
element
(
"tablemanager.endCell"
);
#endif
#endif
...
@@ -664,7 +664,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -664,7 +664,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
endRow
()
void
TableManager
<
T
,
PropertiesPointer
>::
endRow
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
element
(
"tablemanager.endRow"
);
mpTableLogger
->
element
(
"tablemanager.endRow"
);
#endif
#endif
...
@@ -682,11 +682,11 @@ template <typename T, typename PropertiesPointer>
...
@@ -682,11 +682,11 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
handle
(
const
T
&
rHandle
)
void
TableManager
<
T
,
PropertiesPointer
>::
handle
(
const
T
&
rHandle
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
)
if
(
mpTableLogger
)
{
{
mpTableLogger
->
startElement
(
"tablemanager.handle"
);
mpTableLogger
->
startElement
(
"tablemanager.handle"
);
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
endElement
(
"tablemanager.handle"
);
mpTableLogger
->
endElement
();
}
}
#endif
#endif
...
@@ -697,7 +697,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -697,7 +697,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
startLevel
()
void
TableManager
<
T
,
PropertiesPointer
>::
startLevel
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
{
{
typename
TableData
<
T
,
PropertiesPointer
>::
Pointer_t
pTableData
;
typename
TableData
<
T
,
PropertiesPointer
>::
Pointer_t
pTableData
;
...
@@ -711,7 +711,7 @@ void TableManager<T, PropertiesPointer>::startLevel()
...
@@ -711,7 +711,7 @@ void TableManager<T, PropertiesPointer>::startLevel()
mpTableLogger
->
attribute
(
"openCell"
,
mpTableLogger
->
attribute
(
"openCell"
,
pTableData
->
isCellOpen
()
?
"yes"
:
"no"
);
pTableData
->
isCellOpen
()
?
"yes"
:
"no"
);
mpTableLogger
->
endElement
(
"tablemanager.startLevel"
);
mpTableLogger
->
endElement
();
}
}
#endif
#endif
...
@@ -732,7 +732,7 @@ void TableManager<T, PropertiesPointer>::endLevel()
...
@@ -732,7 +732,7 @@ void TableManager<T, PropertiesPointer>::endLevel()
mTableDataStack
.
pop
();
mTableDataStack
.
pop
();
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
{
{
typename
TableData
<
T
,
PropertiesPointer
>::
Pointer_t
pTableData
;
typename
TableData
<
T
,
PropertiesPointer
>::
Pointer_t
pTableData
;
...
@@ -746,7 +746,7 @@ void TableManager<T, PropertiesPointer>::endLevel()
...
@@ -746,7 +746,7 @@ void TableManager<T, PropertiesPointer>::endLevel()
mpTableLogger
->
attribute
(
"openCell"
,
mpTableLogger
->
attribute
(
"openCell"
,
pTableData
->
isCellOpen
()
?
"yes"
:
"no"
);
pTableData
->
isCellOpen
()
?
"yes"
:
"no"
);
mpTableLogger
->
endElement
(
"tablemanager.endLevel"
);
mpTableLogger
->
endElement
();
}
}
#endif
#endif
}
}
...
@@ -845,7 +845,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -845,7 +845,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
handle0x7
()
void
TableManager
<
T
,
PropertiesPointer
>::
handle0x7
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.handle0x7"
);
mpTableLogger
->
startElement
(
"tablemanager.handle0x7"
);
#endif
#endif
...
@@ -858,8 +858,8 @@ void TableManager<T, PropertiesPointer>::handle0x7()
...
@@ -858,8 +858,8 @@ void TableManager<T, PropertiesPointer>::handle0x7()
endRow
();
endRow
();
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.handle0x7"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -891,7 +891,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -891,7 +891,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
cellProps
(
PropertiesPointer
pProps
)
void
TableManager
<
T
,
PropertiesPointer
>::
cellProps
(
PropertiesPointer
pProps
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.cellProps"
);
mpTableLogger
->
startElement
(
"tablemanager.cellProps"
);
#endif
#endif
...
@@ -901,8 +901,8 @@ void TableManager<T, PropertiesPointer>::cellProps(PropertiesPointer pProps)
...
@@ -901,8 +901,8 @@ void TableManager<T, PropertiesPointer>::cellProps(PropertiesPointer pProps)
setCellProps
(
pProps
);
setCellProps
(
pProps
);
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.cellProps"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -911,15 +911,15 @@ void TableManager<T, PropertiesPointer>::cellPropsByCell
...
@@ -911,15 +911,15 @@ void TableManager<T, PropertiesPointer>::cellPropsByCell
(
unsigned
int
i
,
PropertiesPointer
pProps
)
(
unsigned
int
i
,
PropertiesPointer
pProps
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.cellPropsByCell"
);
mpTableLogger
->
startElement
(
"tablemanager.cellPropsByCell"
);
#endif
#endif
mTableDataStack
.
top
()
->
insertCellProperties
(
i
,
pProps
);
mTableDataStack
.
top
()
->
insertCellProperties
(
i
,
pProps
);
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.cellPropsByCell"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -927,7 +927,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -927,7 +927,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
insertRowProps
(
PropertiesPointer
pProps
)
void
TableManager
<
T
,
PropertiesPointer
>::
insertRowProps
(
PropertiesPointer
pProps
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.insertRowProps"
);
mpTableLogger
->
startElement
(
"tablemanager.insertRowProps"
);
#endif
#endif
...
@@ -937,8 +937,8 @@ void TableManager<T, PropertiesPointer>::insertRowProps(PropertiesPointer pProps
...
@@ -937,8 +937,8 @@ void TableManager<T, PropertiesPointer>::insertRowProps(PropertiesPointer pProps
setRowProps
(
pProps
);
setRowProps
(
pProps
);
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.insertRowProps"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -946,7 +946,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -946,7 +946,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
insertTableProps
(
PropertiesPointer
pProps
)
void
TableManager
<
T
,
PropertiesPointer
>::
insertTableProps
(
PropertiesPointer
pProps
)
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.insertTableProps"
);
mpTableLogger
->
startElement
(
"tablemanager.insertTableProps"
);
#endif
#endif
...
@@ -956,8 +956,8 @@ void TableManager<T, PropertiesPointer>::insertTableProps(PropertiesPointer pPro
...
@@ -956,8 +956,8 @@ void TableManager<T, PropertiesPointer>::insertTableProps(PropertiesPointer pPro
setTableProps
(
pProps
);
setTableProps
(
pProps
);
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.insertTableProps"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -965,7 +965,7 @@ template <typename T, typename PropertiesPointer>
...
@@ -965,7 +965,7 @@ template <typename T, typename PropertiesPointer>
void
TableManager
<
T
,
PropertiesPointer
>::
resolveCurrentTable
()
void
TableManager
<
T
,
PropertiesPointer
>::
resolveCurrentTable
()
{
{
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
startElement
(
"tablemanager.resolveCurrentTable"
);
mpTableLogger
->
startElement
(
"tablemanager.resolveCurrentTable"
);
#endif
#endif
...
@@ -1016,8 +1016,8 @@ void TableManager<T, PropertiesPointer>::resolveCurrentTable()
...
@@ -1016,8 +1016,8 @@ void TableManager<T, PropertiesPointer>::resolveCurrentTable()
clearData
();
clearData
();
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
if
(
mpTableLogger
.
get
()
!=
NULL
)
if
(
mpTableLogger
!=
NULL
)
mpTableLogger
->
endElement
(
"tablemanager.resolveCurrentTable"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
@@ -1049,7 +1049,7 @@ void TableManager<T, PropertiesPointer>::openCell
...
@@ -1049,7 +1049,7 @@ void TableManager<T, PropertiesPointer>::openCell
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
mpTableLogger
->
startElement
(
"tablemanager.openCell"
);
mpTableLogger
->
startElement
(
"tablemanager.openCell"
);
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
endElement
(
"tablemanager.openCell"
);
mpTableLogger
->
endElement
();
#endif
#endif
if
(
mTableDataStack
.
size
()
>
0
)
if
(
mTableDataStack
.
size
()
>
0
)
...
@@ -1068,7 +1068,7 @@ void TableManager<T, PropertiesPointer>::closeCell
...
@@ -1068,7 +1068,7 @@ void TableManager<T, PropertiesPointer>::closeCell
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
mpTableLogger
->
startElement
(
"tablemanager.closeCell"
);
mpTableLogger
->
startElement
(
"tablemanager.closeCell"
);
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
chars
(
toString
(
rHandle
));
mpTableLogger
->
endElement
(
"tablemanager.closeCell"
);
mpTableLogger
->
endElement
();
#endif
#endif
if
(
mTableDataStack
.
size
()
>
0
)
if
(
mTableDataStack
.
size
()
>
0
)
...
@@ -1101,7 +1101,7 @@ void TableManager<T, PropertiesPointer>::ensureOpenCell(PropertiesPointer pProp
...
@@ -1101,7 +1101,7 @@ void TableManager<T, PropertiesPointer>::ensureOpenCell(PropertiesPointer pProp
}
}
}
}
#ifdef DEBUG_TABLE
#ifdef DEBUG_TABLE
mpTableLogger
->
endElement
(
"tablemanager.ensureOpenCell"
);
mpTableLogger
->
endElement
();
#endif
#endif
}
}
...
...
writerfilter/source/dmapper/DomainMapperTableHandler.cxx
Dosyayı görüntüle @
b32bcaf1
...
@@ -719,9 +719,11 @@ void DomainMapperTableHandler::endTable()
...
@@ -719,9 +719,11 @@ void DomainMapperTableHandler::endTable()
m_xTableRange
=
xTable
->
getAnchor
(
);
m_xTableRange
=
xTable
->
getAnchor
(
);
}
}
}
}
catch
(
lang
::
IllegalArgumentException
)
catch
(
lang
::
IllegalArgumentException
&
e
)
{
{
#ifdef DEBUG_DMAPPER_TABLE_HANDLER
#ifdef DEBUG_DMAPPER_TABLE_HANDLER
fprintf
(
stderr
,
"Conversion to table error: %s
\n
"
,
rtl
::
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
).
getStr
()
);
dmapper_logger
->
chars
(
"failed to import table!"
);
dmapper_logger
->
chars
(
"failed to import table!"
);
#endif
#endif
}
}
...
...
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