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
e1b30d68
Kaydet (Commit)
e1b30d68
authored
Tem 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-private-field
Change-Id: I80da554ab15450ff6aa13575784ee8f64ca506db
üst
bb9d6285
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
60 deletions
+8
-60
XmlSearchExceptions.hxx
xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx
+5
-38
Query.hxx
xmlhelp/source/cxxhelp/inc/qe/Query.hxx
+2
-5
databases.cxx
xmlhelp/source/cxxhelp/provider/databases.cxx
+1
-11
databases.hxx
xmlhelp/source/cxxhelp/provider/databases.hxx
+0
-6
No files found.
xmlhelp/source/cxxhelp/inc/excep/XmlSearchExceptions.hxx
Dosyayı görüntüle @
e1b30d68
...
@@ -28,60 +28,27 @@ namespace xmlsearch {
...
@@ -28,60 +28,27 @@ namespace xmlsearch {
class
XmlSearchException
class
XmlSearchException
{
{};
public
:
XmlSearchException
(
const
OUString
&
message
)
:
_message
(
message
)
{
}
private
:
OUString
_message
;
};
class
IOException
class
IOException
:
public
virtual
XmlSearchException
:
public
virtual
XmlSearchException
{
{};
public
:
IOException
(
const
OUString
&
message
)
:
XmlSearchException
(
message
)
{
}
};
class
NoFactoryException
class
NoFactoryException
:
public
virtual
XmlSearchException
:
public
virtual
XmlSearchException
{
{};
public
:
NoFactoryException
(
const
OUString
&
message
)
:
XmlSearchException
(
message
)
{
}
};
class
NoSuchBlock
class
NoSuchBlock
:
public
virtual
XmlSearchException
:
public
virtual
XmlSearchException
{
{};
public
:
NoSuchBlock
(
const
OUString
&
message
)
:
XmlSearchException
(
message
)
{
}
};
class
IllegalIndexException
class
IllegalIndexException
:
public
virtual
XmlSearchException
:
public
virtual
XmlSearchException
{
{};
public
:
IllegalIndexException
(
const
OUString
&
message
)
:
XmlSearchException
(
message
)
{
}
};
}
}
}
}
...
...
xmlhelp/source/cxxhelp/inc/qe/Query.hxx
Dosyayı görüntüle @
e1b30d68
...
@@ -52,15 +52,12 @@ namespace xmlsearch {
...
@@ -52,15 +52,12 @@ namespace xmlsearch {
class
QueryHitData
class
QueryHitData
{
{
public
:
public
:
QueryHitData
(
const
OUString
&
document
,
OUString
*
terms
)
QueryHitData
(
OUString
*
terms
)
:
document_
(
document
),
:
terms_
(
terms
)
{
}
terms_
(
terms
)
{
}
~
QueryHitData
()
{
delete
[]
terms_
;
}
~
QueryHitData
()
{
delete
[]
terms_
;
}
private
:
private
:
const
OUString
document_
;
OUString
*
terms_
;
OUString
*
terms_
;
};
// end class QueryHitData
};
// end class QueryHitData
...
...
xmlhelp/source/cxxhelp/provider/databases.cxx
Dosyayı görüntüle @
e1b30d68
...
@@ -459,7 +459,7 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
...
@@ -459,7 +459,7 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
cfgFile
.
close
();
cfgFile
.
close
();
const
sal_Unicode
*
str
=
fileContent
.
getStr
();
const
sal_Unicode
*
str
=
fileContent
.
getStr
();
OUString
current
,
lang_
,
program
,
startid
,
title
,
heading
,
fulltext
;
OUString
current
,
lang_
,
program
,
startid
,
title
;
OUString
order
(
"1"
);
OUString
order
(
"1"
);
for
(
sal_Int32
i
=
0
;
i
<
fileContent
.
getLength
();
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
fileContent
.
getLength
();
i
++
)
...
@@ -487,14 +487,6 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
...
@@ -487,14 +487,6 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
{
{
program
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
program
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
}
}
else
if
(
current
.
startsWith
(
"Heading"
)
)
{
heading
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
}
else
if
(
current
.
startsWith
(
"FullText"
)
)
{
fulltext
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
}
else
if
(
current
.
startsWith
(
"Order"
)
)
else
if
(
current
.
startsWith
(
"Order"
)
)
{
{
order
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
order
=
current
.
copy
(
current
.
indexOf
(
'='
)
+
1
);
...
@@ -509,8 +501,6 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
...
@@ -509,8 +501,6 @@ StaticModuleInformation* Databases::getStaticInformationForModule( const OUStrin
it
->
second
=
new
StaticModuleInformation
(
title
,
it
->
second
=
new
StaticModuleInformation
(
title
,
startid
,
startid
,
program
,
program
,
heading
,
fulltext
,
order
);
order
);
}
}
}
}
...
...
xmlhelp/source/cxxhelp/provider/databases.hxx
Dosyayı görüntüle @
e1b30d68
...
@@ -59,8 +59,6 @@ namespace chelp {
...
@@ -59,8 +59,6 @@ namespace chelp {
OUString
m_aStartId
;
OUString
m_aStartId
;
OUString
m_aProgramSwitch
;
OUString
m_aProgramSwitch
;
OUString
m_aTitle
;
OUString
m_aTitle
;
OUString
m_aHeading
;
OUString
m_aFulltext
;
int
m_nOrder
;
int
m_nOrder
;
public
:
public
:
...
@@ -68,14 +66,10 @@ namespace chelp {
...
@@ -68,14 +66,10 @@ namespace chelp {
StaticModuleInformation
(
const
OUString
&
aTitle
,
StaticModuleInformation
(
const
OUString
&
aTitle
,
const
OUString
&
aStartId
,
const
OUString
&
aStartId
,
const
OUString
&
aProgramSwitch
,
const
OUString
&
aProgramSwitch
,
const
OUString
&
aHeading
,
const
OUString
&
aFulltext
,
const
OUString
&
aOrder
)
const
OUString
&
aOrder
)
:
m_aStartId
(
aStartId
),
:
m_aStartId
(
aStartId
),
m_aProgramSwitch
(
aProgramSwitch
),
m_aProgramSwitch
(
aProgramSwitch
),
m_aTitle
(
aTitle
),
m_aTitle
(
aTitle
),
m_aHeading
(
aHeading
),
m_aFulltext
(
aFulltext
),
m_nOrder
(
aOrder
.
toInt32
()
)
m_nOrder
(
aOrder
.
toInt32
()
)
{
{
}
}
...
...
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