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
fe347327
Kaydet (Commit)
fe347327
authored
Eki 26, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin: unused aName string and whacky indent
Change-Id: I3febbc1618ca86f19c851a8eea313327a9c0a96c
üst
308ed5c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
31 deletions
+41
-31
cppuoptions.cxx
codemaker/source/cppumaker/cppuoptions.cxx
+32
-19
t602filter.cxx
filter/source/t602/t602filter.cxx
+9
-11
excdoc.cxx
sc/source/filter/excel/excdoc.cxx
+0
-1
No files found.
codemaker/source/cppumaker/cppuoptions.cxx
Dosyayı görüntüle @
fe347327
...
...
@@ -55,7 +55,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
}
i
=
1
;
}
else
}
else
{
i
=
0
;
}
...
...
@@ -74,7 +75,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
{
i
++
;
s
=
av
[
i
];
}
else
}
else
{
OString
tmp
(
"'-O', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -84,7 +86,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
throw
IllegalArgument
(
tmp
);
}
}
else
}
else
{
s
=
av
[
i
]
+
2
;
}
...
...
@@ -98,7 +101,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
{
i
++
;
s
=
av
[
i
];
}
else
}
else
{
OString
tmp
(
"'-B', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -108,7 +112,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
throw
IllegalArgument
(
tmp
);
}
}
else
}
else
{
s
=
av
[
i
]
+
2
;
}
...
...
@@ -122,7 +127,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
{
i
++
;
s
=
av
[
i
];
}
else
}
else
{
OString
tmp
(
"'-T', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -132,7 +138,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
throw
IllegalArgument
(
tmp
);
}
}
else
}
else
{
s
=
av
[
i
]
+
2
;
}
...
...
@@ -142,7 +149,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
OString
tmp
(
m_options
[
"-T"
]);
tmp
=
tmp
+
";"
+
s
;
m_options
[
"-T"
]
=
tmp
;
}
else
}
else
{
m_options
[
"-T"
]
=
OString
(
s
);
}
...
...
@@ -187,8 +195,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
}
m_options
[
"-CS"
]
=
OString
(
""
);
break
;
}
else
if
(
av
[
i
][
2
]
!=
'\0'
)
}
else
if
(
av
[
i
][
2
]
!=
'\0'
)
{
OString
tmp
(
"'-C', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -222,8 +230,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
m_options
[
"-Gc"
]
=
OString
(
""
);
break
;
}
else
if
(
av
[
i
][
2
]
!=
'\0'
)
}
else
if
(
av
[
i
][
2
]
!=
'\0'
)
{
OString
tmp
(
"'-G', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -244,7 +252,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
{
i
++
;
s
=
av
[
i
];
}
else
}
else
{
OString
tmp
(
"'-X', please check"
);
if
(
i
<=
ac
-
1
)
...
...
@@ -254,7 +263,8 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
throw
IllegalArgument
(
tmp
);
}
}
else
}
else
{
s
=
av
[
i
]
+
2
;
}
...
...
@@ -271,11 +281,12 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
if
(
av
[
i
][
0
]
==
'@'
)
{
FILE
*
cmdFile
=
fopen
(
av
[
i
]
+
1
,
"r"
);
if
(
cmdFile
==
NULL
)
{
if
(
cmdFile
==
NULL
)
{
fprintf
(
stderr
,
"%s"
,
prepareHelp
().
getStr
());
ret
=
sal_False
;
}
else
}
else
{
int
rargc
=
0
;
char
*
rargv
[
512
];
...
...
@@ -295,12 +306,14 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile)
free
(
rargv
[
j
]);
}
}
}
else
}
else
{
if
(
bCmdFile
)
{
m_inputFiles
.
push_back
(
av
[
i
]);
}
else
}
else
{
OUString
system_filepath
;
if
(
osl_getCommandArg
(
i
-
1
,
&
system_filepath
.
pData
)
...
...
filter/source/t602/t602filter.cxx
Dosyayı görüntüle @
fe347327
...
...
@@ -535,19 +535,17 @@ void T602ImportFilter::wrtfnt()
void
T602ImportFilter
::
setfnt
(
fonts
fnt
,
bool
mustwrite
)
{
if
(
fnt
==
fst
.
oldfnt
&&
fnt
==
fst
.
nowfnt
&&
!
mustwrite
)
if
(
fnt
==
fst
.
oldfnt
&&
fnt
==
fst
.
nowfnt
&&
!
mustwrite
)
fst
.
nowfnt
=
standard
;
else
if
(
fnt
!=
chngul
)
fst
.
nowfnt
=
fnt
;
else
if
(
fnt
!=
chngul
)
fst
.
nowfnt
=
fnt
;
if
(
mustwrite
)
if
(
fst
.
oldfnt
!=
fst
.
nowfnt
||
fst
.
olduline
!=
fst
.
uline
)
{
wrtfnt
();
fst
.
oldfnt
=
fst
.
nowfnt
;
fst
.
olduline
=
fst
.
uline
;
}
if
(
mustwrite
&&
(
fst
.
oldfnt
!=
fst
.
nowfnt
||
fst
.
olduline
!=
fst
.
uline
)
)
{
wrtfnt
();
fst
.
oldfnt
=
fst
.
nowfnt
;
fst
.
olduline
=
fst
.
uline
;
}
}
unsigned
char
T602ImportFilter
::
Readchar602
()
...
...
sc/source/filter/excel/excdoc.cxx
Dosyayı görüntüle @
fe347327
...
...
@@ -245,7 +245,6 @@ void ExcTable::FillAsHeader( ExcBoundsheetList& rBoundsheetList )
Add
(
new
XclExpUInt16Record
(
EXC_ID_FNGROUPCOUNT
,
14
)
);
// erst Namen- und Tabellen-Eintraege aufbauen
String
aName
;
for
(
nC
=
0
;
nC
<
nScTabCount
;
nC
++
)
if
(
rTabInfo
.
IsExportTab
(
nC
)
)
...
...
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