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
ed609b51
Kaydet (Commit)
ed609b51
authored
Ara 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lotuswordpro: Use appropriate OUString functions on string constants
Change-Id: I8cccb8e558aba949d64cf9e7b85316d8e2e15865
üst
6fbf6f2a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
20 deletions
+14
-20
LotusWordProImportFilter.cxx
lotuswordpro/source/filter/LotusWordProImportFilter.cxx
+2
-8
lwpfrib.cxx
lotuswordpro/source/filter/lwpfrib.cxx
+1
-1
lwpmarker.cxx
lotuswordpro/source/filter/lwpmarker.cxx
+4
-4
lwpnotes.cxx
lotuswordpro/source/filter/lwpnotes.cxx
+1
-1
lwppara.cxx
lotuswordpro/source/filter/lwppara.cxx
+1
-1
xfdocfield.cxx
lotuswordpro/source/filter/xfilter/xfdocfield.cxx
+2
-2
xfdrawstyle.cxx
lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx
+2
-2
xfdropcap.hxx
lotuswordpro/source/filter/xfilter/xfdropcap.hxx
+1
-1
No files found.
lotuswordpro/source/filter/LotusWordProImportFilter.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -180,22 +180,16 @@ OUString LotusWordProImportFilter_getImplementationName ()
...
@@ -180,22 +180,16 @@ OUString LotusWordProImportFilter_getImplementationName ()
return
OUString
(
"com.sun.star.comp.Writer.LotusWordProImportFilter"
);
return
OUString
(
"com.sun.star.comp.Writer.LotusWordProImportFilter"
);
}
}
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
#define SERVICE_NAME2 "com.sun.star.document.ExtendedTypeDetection"
Sequence
<
OUString
>
SAL_CALL
LotusWordProImportFilter_getSupportedServiceNames
(
)
Sequence
<
OUString
>
SAL_CALL
LotusWordProImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
Sequence
<
OUString
>
aRet
(
2
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
)
;
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
pArray
[
1
]
=
OUString
(
SERVICE_NAME2
)
;
pArray
[
1
]
=
"com.sun.star.document.ExtendedTypeDetection"
;
return
aRet
;
return
aRet
;
}
}
#undef SERVICE_NAME2
#undef SERVICE_NAME1
uno
::
Reference
<
XInterface
>
SAL_CALL
LotusWordProImportFilter_createInstance
(
const
uno
::
Reference
<
XMultiServiceFactory
>
&
rSMgr
)
uno
::
Reference
<
XInterface
>
SAL_CALL
LotusWordProImportFilter_createInstance
(
const
uno
::
Reference
<
XMultiServiceFactory
>
&
rSMgr
)
throw
(
Exception
)
throw
(
Exception
)
{
{
...
...
lotuswordpro/source/filter/lwpfrib.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -247,7 +247,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
...
@@ -247,7 +247,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
//note by ,1-27
//note by ,1-27
rtl
::
Reference
<
XFFont
>
pFont
;
rtl
::
Reference
<
XFFont
>
pFont
;
XFTextStyle
*
pStyle
=
NULL
;
XFTextStyle
*
pStyle
=
NULL
;
m_StyleName
=
""
;
m_StyleName
.
clear
()
;
XFStyleManager
*
pXFStyleManager
=
LwpGlobalMgr
::
GetInstance
()
->
GetXFStyleManager
();
XFStyleManager
*
pXFStyleManager
=
LwpGlobalMgr
::
GetInstance
()
->
GetXFStyleManager
();
if
(
m_pModifiers
->
HasCharStyle
)
if
(
m_pModifiers
->
HasCharStyle
)
{
{
...
...
lotuswordpro/source/filter/lwpmarker.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -391,11 +391,11 @@ void LwpFieldMark::ParseIndex(OUString& sKey1,OUString& sKey2)
...
@@ -391,11 +391,11 @@ void LwpFieldMark::ParseIndex(OUString& sKey1,OUString& sKey2)
if
(
index
[
0
]
>=
0
&&
index
[
1
]
>=
0
)
if
(
index
[
0
]
>=
0
&&
index
[
1
]
>=
0
)
sKey1
=
sFormula
.
copy
(
index
[
0
]
+
1
,
index
[
1
]
-
index
[
0
]
-
1
);
sKey1
=
sFormula
.
copy
(
index
[
0
]
+
1
,
index
[
1
]
-
index
[
0
]
-
1
);
else
else
sKey1
=
""
;
sKey1
.
clear
()
;
if
(
index
[
2
]
>=
0
&&
index
[
3
]
>=
0
)
if
(
index
[
2
]
>=
0
&&
index
[
3
]
>=
0
)
sKey2
=
sFormula
.
copy
(
index
[
2
]
+
1
,
index
[
3
]
-
index
[
2
]
-
1
);
sKey2
=
sFormula
.
copy
(
index
[
2
]
+
1
,
index
[
3
]
-
index
[
2
]
-
1
);
else
else
sKey2
=
""
;
sKey2
.
clear
()
;
}
}
void
LwpFieldMark
::
ParseTOC
(
OUString
&
sLevel
,
OUString
&
sText
)
void
LwpFieldMark
::
ParseTOC
(
OUString
&
sLevel
,
OUString
&
sText
)
...
@@ -413,11 +413,11 @@ void LwpFieldMark::ParseTOC(OUString& sLevel,OUString& sText)
...
@@ -413,11 +413,11 @@ void LwpFieldMark::ParseTOC(OUString& sLevel,OUString& sText)
if
(
index
[
0
]
>=
0
&&
index
[
1
]
>=
0
)
if
(
index
[
0
]
>=
0
&&
index
[
1
]
>=
0
)
sLevel
=
sFormula
.
copy
(
index
[
0
]
+
1
,
index
[
1
]
-
index
[
0
]
-
1
);
sLevel
=
sFormula
.
copy
(
index
[
0
]
+
1
,
index
[
1
]
-
index
[
0
]
-
1
);
else
else
sLevel
=
""
;
sLevel
.
clear
()
;
if
(
index
[
2
]
>=
0
&&
index
[
3
]
>=
0
)
if
(
index
[
2
]
>=
0
&&
index
[
3
]
>=
0
)
sText
=
sFormula
.
copy
(
index
[
2
]
+
1
,
index
[
3
]
-
index
[
2
]
-
1
);
sText
=
sFormula
.
copy
(
index
[
2
]
+
1
,
index
[
3
]
-
index
[
2
]
-
1
);
else
else
sText
=
""
;
sText
.
clear
()
;
}
}
bool
LwpFieldMark
::
IsFormulaInsert
()
bool
LwpFieldMark
::
IsFormulaInsert
()
...
...
lotuswordpro/source/filter/lwpnotes.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -208,7 +208,7 @@ OUString LwpNoteLayout::GetAuthor()
...
@@ -208,7 +208,7 @@ OUString LwpNoteLayout::GetAuthor()
{
{
if
(
m_UserName
.
HasValue
())
if
(
m_UserName
.
HasValue
())
{
{
if
(
m_UserName
.
str
()
!=
OUString
(
" "
)
)
if
(
m_UserName
.
str
()
!=
" "
)
{
{
return
m_UserName
.
str
();
return
m_UserName
.
str
();
}
}
...
...
lotuswordpro/source/filter/lwppara.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -813,7 +813,7 @@ XFSection* LwpPara::CreateXFSection()
...
@@ -813,7 +813,7 @@ XFSection* LwpPara::CreateXFSection()
{
{
XFSection
*
pXFSection
=
new
XFSection
();
XFSection
*
pXFSection
=
new
XFSection
();
pXFSection
->
SetStyleName
(
m_SectionStyleName
);
pXFSection
->
SetStyleName
(
m_SectionStyleName
);
m_SectionStyleName
=
""
;
m_SectionStyleName
.
clear
()
;
return
pXFSection
;
return
pXFSection
;
}
}
...
...
lotuswordpro/source/filter/xfilter/xfdocfield.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -68,9 +68,9 @@ void XFFileName::ToXml(IXFStream *pStrm)
...
@@ -68,9 +68,9 @@ void XFFileName::ToXml(IXFStream *pStrm)
{
{
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
IXFAttrList
*
pAttrList
=
pStrm
->
GetAttrList
();
pAttrList
->
Clear
();
pAttrList
->
Clear
();
if
(
m_strType
.
equals
(
"FileName"
)
)
if
(
m_strType
==
"FileName"
)
pAttrList
->
AddAttribute
(
"text:display"
,
"name-and-extension"
);
pAttrList
->
AddAttribute
(
"text:display"
,
"name-and-extension"
);
else
if
(
m_strType
.
equals
(
"Path"
)
)
else
if
(
m_strType
==
"Path"
)
pAttrList
->
AddAttribute
(
"text:display"
,
"path"
);
pAttrList
->
AddAttribute
(
"text:display"
,
"path"
);
pStrm
->
StartElement
(
"text:file-name"
);
pStrm
->
StartElement
(
"text:file-name"
);
pStrm
->
EndElement
(
"text:file-name"
);
pStrm
->
EndElement
(
"text:file-name"
);
...
...
lotuswordpro/source/filter/xfilter/xfdrawstyle.cxx
Dosyayı görüntüle @
ed609b51
...
@@ -292,7 +292,7 @@ void XFDrawStyle::ToXml(IXFStream *pStrm)
...
@@ -292,7 +292,7 @@ void XFDrawStyle::ToXml(IXFStream *pStrm)
}
}
//adjust
//adjust
aStr
=
""
;
aStr
.
clear
()
;
switch
(
m_pFontWorkStyle
->
GetAdjustType
())
switch
(
m_pFontWorkStyle
->
GetAdjustType
())
{
{
default
:
// fall througth
default
:
// fall througth
...
@@ -315,7 +315,7 @@ void XFDrawStyle::ToXml(IXFStream *pStrm)
...
@@ -315,7 +315,7 @@ void XFDrawStyle::ToXml(IXFStream *pStrm)
}
}
//form
//form
aStr
=
""
;
aStr
.
clear
()
;
switch
(
m_pFontWorkStyle
->
GetButtonForm
())
switch
(
m_pFontWorkStyle
->
GetButtonForm
())
{
{
default
:
// fall through!
default
:
// fall through!
...
...
lotuswordpro/source/filter/xfilter/xfdropcap.hxx
Dosyayı görüntüle @
ed609b51
...
@@ -111,7 +111,7 @@ inline void XFDropcap::Reset()
...
@@ -111,7 +111,7 @@ inline void XFDropcap::Reset()
m_nCharCount
=
0
;
m_nCharCount
=
0
;
m_nLines
=
0
;
m_nLines
=
0
;
m_fDistance
=
0
;
m_fDistance
=
0
;
m_strStyleName
=
""
;
m_strStyleName
.
clear
()
;
}
}
inline
void
XFDropcap
::
ToXml
(
IXFStream
*
pStrm
)
inline
void
XFDropcap
::
ToXml
(
IXFStream
*
pStrm
)
...
...
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