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
60c8df43
Kaydet (Commit)
60c8df43
authored
Nis 06, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove static strings
üst
18c7992d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
25 deletions
+12
-25
FValue.cxx
connectivity/source/commontools/FValue.cxx
+2
-4
dbtools2.cxx
connectivity/source/commontools/dbtools2.cxx
+1
-2
parameters.cxx
connectivity/source/commontools/parameters.cxx
+1
-2
msvbahelper.cxx
filter/source/msfilter/msvbahelper.cxx
+1
-3
vbacollectionimpl.hxx
include/vbahelper/vbacollectionimpl.hxx
+1
-2
vbaworkbooks.cxx
sc/source/ui/vba/vbaworkbooks.cxx
+1
-2
bindablecontrolhelper.cxx
svtools/source/misc/bindablecontrolhelper.cxx
+1
-2
galtheme.cxx
svx/source/gallery2/galtheme.cxx
+1
-3
vbaborders.cxx
sw/source/ui/vba/vbaborders.cxx
+3
-5
No files found.
connectivity/source/commontools/FValue.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -1077,14 +1077,12 @@ bool ORowSetValue::getBool() const
case
DataType
:
:
LONGVARCHAR
:
{
const
OUString
sValue
(
m_aValue
.
m_pString
);
const
static
OUString
s_sTrue
(
"true"
);
const
static
OUString
s_sFalse
(
"false"
);
if
(
sValue
.
equalsIgnoreAsciiCase
(
s_sTrue
)
||
(
sValue
==
"1"
)
)
if
(
sValue
.
equalsIgnoreAsciiCase
(
"true"
)
||
(
sValue
==
"1"
)
)
{
bRet
=
true
;
break
;
}
else
if
(
sValue
.
equalsIgnoreAsciiCase
(
s_sFalse
)
||
(
sValue
==
"0"
)
)
else
if
(
sValue
.
equalsIgnoreAsciiCase
(
"false"
)
||
(
sValue
==
"0"
)
)
{
bRet
=
false
;
break
;
...
...
connectivity/source/commontools/dbtools2.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -1000,8 +1000,7 @@ OUString getDefaultReportEngineServiceName(const Reference< XComponentContext >&
if
(
aReportEngine
.
isValid
()
)
{
OUString
sRet
;
const
static
OUString
s_sService
(
"ServiceName"
);
aReportEngine
.
getNodeValue
(
s_sService
)
>>=
sRet
;
aReportEngine
.
getNodeValue
(
"ServiceName"
)
>>=
sRet
;
return
sRet
;
}
}
...
...
connectivity/source/commontools/parameters.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -381,7 +381,6 @@ namespace dbtools
// did we find links where the detail field refers to a detail column (instead of a parameter name)?
if
(
!
aAdditionalFilterComponents
.
empty
()
)
{
const
static
OUString
s_sAnd
(
" AND "
);
// build a conjunction of all the filter components
OUStringBuffer
sAdditionalFilter
;
for
(
::
std
::
vector
<
OUString
>::
const_iterator
aComponent
=
aAdditionalFilterComponents
.
begin
();
...
...
@@ -390,7 +389,7 @@ namespace dbtools
)
{
if
(
!
sAdditionalFilter
.
isEmpty
()
)
sAdditionalFilter
.
append
(
s_sAnd
);
sAdditionalFilter
.
append
(
" AND "
);
sAdditionalFilter
.
appendAscii
(
"( "
,((
sal_Int32
)(
sizeof
(
"( "
)
-
1
)));
sAdditionalFilter
.
append
(
*
aComponent
);
...
...
filter/source/msfilter/msvbahelper.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -104,11 +104,9 @@ SfxObjectShell* findShellForUrl( const OUString& sMacroURLOrPath )
OUString
aName
=
xModel
->
getURL
()
;
if
(
aName
.
isEmpty
())
{
const
static
OUString
sTitle
(
"Title"
);
uno
::
Reference
<
frame
::
XFrame
>
xFrame
(
xModel
->
getCurrentController
()
->
getFrame
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
beans
::
XPropertySet
>
xProps
(
xFrame
,
uno
::
UNO_QUERY_THROW
);
xProps
->
getPropertyValue
(
sTitle
)
>>=
aName
;
xProps
->
getPropertyValue
(
"Title"
)
>>=
aName
;
sal_Int32
pos
=
0
;
aName
=
aName
.
getToken
(
0
,
'-'
,
pos
);
aName
=
aName
.
trim
();
...
...
include/vbahelper/vbacollectionimpl.hxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -309,8 +309,7 @@ public:
// XDefaultMethod
OUString
SAL_CALL
getDefaultMethodName
(
)
throw
(
css
::
uno
::
RuntimeException
)
{
const
static
OUString
sName
(
"Item"
);
return
sName
;
return
"Item"
;
}
// XEnumerationAccess
virtual
css
::
uno
::
Reference
<
css
::
container
::
XEnumeration
>
SAL_CALL
createEnumeration
()
throw
(
css
::
uno
::
RuntimeException
)
=
0
;
...
...
sc/source/ui/vba/vbaworkbooks.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -248,8 +248,7 @@ ScVbaWorkbooks::isTextFile( const OUString& sType )
// b) a csv file
// c) unknown
// returning true basically means treat this like a csv file
const
static
OUString
txtType
(
"generic_Text"
);
return
sType
.
equals
(
txtType
)
||
sType
.
isEmpty
();
return
sType
.
equals
(
"generic_Text"
)
||
sType
.
isEmpty
();
}
bool
...
...
svtools/source/misc/bindablecontrolhelper.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -41,12 +41,11 @@ using namespace ::com::sun::star;
bool
lcl_isNamedRange
(
const
OUString
&
sAddress
,
const
uno
::
Reference
<
frame
::
XModel
>&
xModel
,
table
::
CellRangeAddress
&
aAddress
)
{
bool
bRes
=
false
;
const
static
OUString
sNamedRanges
(
"NamedRanges"
);
uno
::
Reference
<
sheet
::
XCellRangeReferrer
>
xReferrer
;
try
{
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
(
xModel
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
container
::
XNameAccess
>
xNamed
(
xPropSet
->
getPropertyValue
(
sNamedRanges
),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
container
::
XNameAccess
>
xNamed
(
xPropSet
->
getPropertyValue
(
"NamedRanges"
),
uno
::
UNO_QUERY_THROW
);
xReferrer
.
set
(
xNamed
->
getByName
(
sAddress
),
uno
::
UNO_QUERY
);
}
catch
(
uno
::
Exception
&
/*e*/
)
...
...
svx/source/gallery2/galtheme.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -1459,9 +1459,7 @@ SvStream& GalleryTheme::ReadData( SvStream& rIStm )
{
if
(
SGA_OBJ_SVDRAW
==
pObj
->
eObjKind
)
{
const
static
OUString
aBaseURLStr
(
"gallery/svdraw/"
);
OUString
aDummyURL
(
aBaseURLStr
);
OUString
aDummyURL
(
"gallery/svdraw/"
);
pObj
->
aURL
=
INetURLObject
(
aDummyURL
+=
aFileName
,
INET_PROT_PRIV_SOFFICE
);
}
else
...
...
sw/source/ui/vba/vbaborders.cxx
Dosyayı görüntüle @
60c8df43
...
...
@@ -38,8 +38,6 @@ typedef InheritedHelperInterfaceImpl1<word::XBorder > SwVbaBorder_Base;
// borders, the enumeration will match the order in this list
static
const
sal_Int16
supportedIndexTable
[]
=
{
word
::
WdBorderType
::
wdBorderBottom
,
word
::
WdBorderType
::
wdBorderDiagonalDown
,
word
::
WdBorderType
::
wdBorderDiagonalUp
,
word
::
WdBorderType
::
wdBorderHorizontal
,
word
::
WdBorderType
::
wdBorderLeft
,
word
::
WdBorderType
::
wdBorderRight
,
word
::
WdBorderType
::
wdBorderTop
,
word
::
WdBorderType
::
wdBorderVertical
};
const
static
OUString
sTableBorder
(
"TableBorder"
);
// Equiv widths in in 1/100 mm
const
static
sal_Int32
OOLineHairline
=
2
;
...
...
@@ -52,7 +50,7 @@ private:
bool
setBorderLine
(
table
::
BorderLine
&
rBorderLine
)
{
table
::
TableBorder
aTableBorder
;
m_xProps
->
getPropertyValue
(
sTableBorder
)
>>=
aTableBorder
;
m_xProps
->
getPropertyValue
(
"TableBorder"
)
>>=
aTableBorder
;
switch
(
m_LineType
)
{
...
...
@@ -89,14 +87,14 @@ private:
default:
return
false
;
}
m_xProps
->
setPropertyValue
(
sTableBorder
,
uno
::
makeAny
(
aTableBorder
)
);
m_xProps
->
setPropertyValue
(
"TableBorder"
,
uno
::
makeAny
(
aTableBorder
)
);
return
true
;
}
bool
getBorderLine
(
table
::
BorderLine
&
rBorderLine
)
{
table
::
TableBorder
aTableBorder
;
m_xProps
->
getPropertyValue
(
sTableBorder
)
>>=
aTableBorder
;
m_xProps
->
getPropertyValue
(
"TableBorder"
)
>>=
aTableBorder
;
switch
(
m_LineType
)
{
case
word
:
:
WdBorderType
::
wdBorderLeft
:
...
...
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