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
2075a648
Kaydet (Commit)
2075a648
authored
Ara 09, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed useless code due to the move to SAL_INFO
üst
87ec1f88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
RtfFilter.cxx
writerfilter/source/filter/RtfFilter.cxx
+1
-5
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+0
-10
No files found.
writerfilter/source/filter/RtfFilter.cxx
Dosyayı görüntüle @
2075a648
...
@@ -101,11 +101,7 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
...
@@ -101,11 +101,7 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
}
}
catch
(
const
uno
::
Exception
&
e
)
catch
(
const
uno
::
Exception
&
e
)
{
{
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
"Exception caught: "
<<
e
.
Message
());
SAL_INFO
(
"writerfilter"
,
"Exception caught: "
<<
rtl
::
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
).
getStr
()
);
#endif
(
void
)
e
;
return
sal_False
;
return
sal_False
;
}
}
}
}
...
...
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
2075a648
...
@@ -1226,9 +1226,7 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
...
@@ -1226,9 +1226,7 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
m_aStates
.
top
().
nDestinationState
=
DESTINATION_SKIP
;
m_aStates
.
top
().
nDestinationState
=
DESTINATION_SKIP
;
break
;
break
;
default
:
default
:
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle destination '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle destination '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
#endif
// Make sure we skip destinations (even without \*) till we don't handle them
// Make sure we skip destinations (even without \*) till we don't handle them
m_aStates
.
top
().
nDestinationState
=
DESTINATION_SKIP
;
m_aStates
.
top
().
nDestinationState
=
DESTINATION_SKIP
;
aSkip
.
setParsed
(
false
);
aSkip
.
setParsed
(
false
);
...
@@ -1411,9 +1409,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
...
@@ -1411,9 +1409,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
// Nothing to do, dmapper assumes this is the default.
// Nothing to do, dmapper assumes this is the default.
break
;
break
;
default
:
default
:
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle symbol '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle symbol '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
#endif
aSkip
.
setParsed
(
false
);
aSkip
.
setParsed
(
false
);
break
;
break
;
}
}
...
@@ -1869,9 +1865,7 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
...
@@ -1869,9 +1865,7 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
case
RTF_POSXL
:
m_aStates
.
top
().
aFrame
.
nHoriAlign
=
NS_ooxml
::
LN_Value_wordprocessingml_ST_XAlign_left
;
break
;
case
RTF_POSXL
:
m_aStates
.
top
().
aFrame
.
nHoriAlign
=
NS_ooxml
::
LN_Value_wordprocessingml_ST_XAlign_left
;
break
;
case
RTF_POSXR
:
m_aStates
.
top
().
aFrame
.
nHoriAlign
=
NS_ooxml
::
LN_Value_wordprocessingml_ST_XAlign_right
;
break
;
case
RTF_POSXR
:
m_aStates
.
top
().
aFrame
.
nHoriAlign
=
NS_ooxml
::
LN_Value_wordprocessingml_ST_XAlign_right
;
break
;
default
:
default
:
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle flag '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle flag '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
#endif
aSkip
.
setParsed
(
false
);
aSkip
.
setParsed
(
false
);
break
;
break
;
}
}
...
@@ -2514,9 +2508,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
...
@@ -2514,9 +2508,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
m_aStates
.
top
().
aPicture
.
eWMetafile
=
nParam
;
m_aStates
.
top
().
aPicture
.
eWMetafile
=
nParam
;
break
;
break
;
default
:
default
:
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle value '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle value '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
#endif
aSkip
.
setParsed
(
false
);
aSkip
.
setParsed
(
false
);
break
;
break
;
}
}
...
@@ -2613,9 +2605,7 @@ int RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam
...
@@ -2613,9 +2605,7 @@ int RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam
}
}
break
;
break
;
default
:
default
:
#if OSL_DEBUG_LEVEL > 1
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle toggle '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
SAL_INFO
(
"writerfilter"
,
OSL_THIS_FUNC
<<
": TODO handle toggle '"
<<
lcl_RtfToString
(
nKeyword
)
<<
"'"
);
#endif
aSkip
.
setParsed
(
false
);
aSkip
.
setParsed
(
false
);
break
;
break
;
}
}
...
...
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