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
a8b2bfdc
Kaydet (Commit)
a8b2bfdc
authored
Eki 17, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:inlineablemethods in writerfilter
Change-Id: Iada0f4d631703b3067c90923632ce9a1012bad62
üst
7477ab13
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
47 deletions
+8
-47
TableManager.cxx
writerfilter/source/dmapper/TableManager.cxx
+3
-3
TableManager.hxx
writerfilter/source/dmapper/TableManager.hxx
+0
-14
OOXMLDocumentImpl.cxx
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+1
-1
OOXMLDocumentImpl.hxx
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+0
-1
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+4
-24
rtfdocumentimpl.hxx
writerfilter/source/rtftok/rtfdocumentimpl.hxx
+0
-4
No files found.
writerfilter/source/dmapper/TableManager.cxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -257,7 +257,7 @@ void TableManager::endParagraphGroup()
{
endOfRowAction
();
mTableDataStack
.
top
()
->
endRow
(
getRowProps
());
resetRowProps
();
mState
.
resetRowProps
();
}
else
if
(
isInCell
())
...
...
@@ -270,7 +270,7 @@ void TableManager::endParagraphGroup()
closeCell
(
getHandle
());
}
}
resetCellProps
();
mState
.
resetCellProps
();
}
}
...
...
@@ -321,7 +321,7 @@ void TableManager::resolveCurrentTable()
SAL_WARN
(
"writerfilter"
,
"resolving of current table failed with: "
<<
e
.
Message
);
}
}
resetTableProps
();
mState
.
resetTableProps
();
clearData
();
#ifdef DEBUG_WRITERFILTER
...
...
writerfilter/source/dmapper/TableManager.hxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -216,11 +216,6 @@ protected:
mState
.
setCellProps
(
pProps
);
}
void
resetCellProps
()
{
mState
.
resetCellProps
();
}
public
:
TablePropertyMapPtr
getRowProps
()
{
...
...
@@ -232,10 +227,6 @@ public:
mState
.
setRowProps
(
pProps
);
}
void
resetRowProps
()
{
mState
.
resetRowProps
();
}
protected
:
void
setInCell
(
bool
bInCell
)
...
...
@@ -278,11 +269,6 @@ protected:
mState
.
setTableProps
(
pProps
);
}
void
resetTableProps
()
{
mState
.
resetTableProps
();
}
const
css
::
uno
::
Reference
<
css
::
text
::
XTextRange
>&
getHandle
()
{
return
mCurHandle
;
...
...
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -271,7 +271,7 @@ OOXMLDocumentImpl::getSubStream(const OUString & rId)
writerfilter
::
Reference
<
Stream
>::
Pointer_t
pRet
(
pTemp
=
new
OOXMLDocumentImpl
(
pStream
,
uno
::
Reference
<
task
::
XStatusIndicator
>
(),
mbSkipImages
,
maMediaDescriptor
));
pTemp
->
setModel
(
mxModel
);
pTemp
->
setDrawPage
(
mxDrawPage
);
pTemp
->
setIsSubstream
(
true
)
;
pTemp
->
mbIsSubstream
=
true
;
return
pRet
;
}
...
...
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -87,7 +87,6 @@ protected:
Id
aType
,
const
sal_Int32
nNoteId
);
void
setIsSubstream
(
bool
bSubstream
)
{
mbIsSubstream
=
bSubstream
;
};
void
resolveCustomXmlStream
(
Stream
&
rStream
);
void
resolveActiveXStream
(
Stream
&
rStream
);
void
resolveGlossaryStream
(
Stream
&
rStream
);
...
...
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -308,16 +308,6 @@ void RTFDocumentImpl::setSuperstream(RTFDocumentImpl* pSuperstream)
m_pSuperstream
=
pSuperstream
;
}
void
RTFDocumentImpl
::
setStreamType
(
Id
nId
)
{
m_nStreamType
=
nId
;
}
void
RTFDocumentImpl
::
setAuthor
(
OUString
&
rAuthor
)
{
m_aAuthor
=
rAuthor
;
}
void
RTFDocumentImpl
::
setAuthorInitials
(
OUString
&
rAuthorInitials
)
{
m_aAuthorInitials
=
rAuthorInitials
;
...
...
@@ -333,11 +323,6 @@ void RTFDocumentImpl::finishSubstream()
checkUnicode
(
/*bUnicode =*/
true
,
/*bHex =*/
true
);
}
void
RTFDocumentImpl
::
setIgnoreFirst
(
OUString
&
rIgnoreFirst
)
{
m_aIgnoreFirst
=
rIgnoreFirst
;
}
void
RTFDocumentImpl
::
resolveSubstream
(
std
::
size_t
nPos
,
Id
nId
)
{
OUString
aStr
;
...
...
@@ -349,11 +334,11 @@ void RTFDocumentImpl::resolveSubstream(std::size_t nPos, Id nId, OUString& rIgno
// Seek to header position, parse, then seek back.
auto
pImpl
=
std
::
make_shared
<
RTFDocumentImpl
>
(
m_xContext
,
m_xInputStream
,
m_xDstDoc
,
m_xFrame
,
m_xStatusIndicator
,
m_rMediaDescriptor
);
pImpl
->
setSuperstream
(
this
);
pImpl
->
setStreamType
(
nId
)
;
pImpl
->
setIgnoreFirst
(
rIgnoreFirst
)
;
pImpl
->
m_nStreamType
=
nId
;
pImpl
->
m_aIgnoreFirst
=
rIgnoreFirst
;
if
(
!
m_aAuthor
.
isEmpty
())
{
pImpl
->
setAuthor
(
m_aAuthor
)
;
pImpl
->
m_aAuthor
=
m_aAuthor
;
m_aAuthor
.
clear
();
}
if
(
!
m_aAuthorInitials
.
isEmpty
())
...
...
@@ -362,7 +347,7 @@ void RTFDocumentImpl::resolveSubstream(std::size_t nPos, Id nId, OUString& rIgno
m_aAuthorInitials
.
clear
();
}
pImpl
->
m_nDefaultFontIndex
=
m_nDefaultFontIndex
;
pImpl
->
s
eek
(
nPos
);
pImpl
->
Strm
().
S
eek
(
nPos
);
SAL_INFO
(
"writerfilter"
,
"substream start"
);
Mapper
().
substream
(
nId
,
pImpl
);
SAL_INFO
(
"writerfilter"
,
"substream end"
);
...
...
@@ -635,11 +620,6 @@ void RTFDocumentImpl::sectBreak(bool bFinal)
m_bNeedSect
=
false
;
}
void
RTFDocumentImpl
::
seek
(
sal_uInt64
const
nPos
)
{
Strm
().
Seek
(
nPos
);
}
sal_uInt32
RTFDocumentImpl
::
getColorTable
(
sal_uInt32
nIndex
)
{
if
(
!
m_pSuperstream
)
...
...
writerfilter/source/rtftok/rtfdocumentimpl.hxx
Dosyayı görüntüle @
a8b2bfdc
...
...
@@ -413,11 +413,7 @@ public:
return
*
m_pMapperStream
;
}
void
setSuperstream
(
RTFDocumentImpl
*
pSuperstream
);
void
setStreamType
(
Id
nId
);
void
setAuthor
(
OUString
&
rAuthor
);
void
setAuthorInitials
(
OUString
&
rAuthorInitials
);
void
setIgnoreFirst
(
OUString
&
rIgnoreFirst
);
void
seek
(
sal_uInt64
nPos
);
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
getModelFactory
()
{
return
m_xModelFactory
;
...
...
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