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
495b6575
Kaydet (Commit)
495b6575
authored
Haz 25, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I45fcbcdf15134585443e528e8af2c9486d0b3bbe
üst
69acf266
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
bootstrap.cxx
unotools/source/config/bootstrap.cxx
+2
-2
dynamicmenuoptions.cxx
unotools/source/config/dynamicmenuoptions.cxx
+1
-1
pathoptions.cxx
unotools/source/config/pathoptions.cxx
+2
-2
No files found.
unotools/source/config/bootstrap.cxx
Dosyayı görüntüle @
495b6575
...
...
@@ -199,7 +199,7 @@ bool implNormalizeURL(OUString & _sURL, osl::DirectoryItem& aDirItem)
// #109863# sal/osl returns final slash for file URLs contradicting
// the URL/URI RFCs.
if
(
!
aNormalizedURL
.
endsWith
(
OUString
(
cURLSeparator
))
)
if
(
!
aNormalizedURL
.
endsWith
(
OUString
Literal1
<
cURLSeparator
>
(
))
)
_sURL
=
aNormalizedURL
;
else
_sURL
=
aNormalizedURL
.
copy
(
0
,
aNormalizedURL
.
getLength
()
-
1
);
...
...
@@ -312,7 +312,7 @@ PathStatus getDerivedPath(
// do we have a base path ?
if
(
!
_aBaseURL
.
isEmpty
())
{
OSL_PRECOND
(
!
_aBaseURL
.
endsWith
(
OUString
(
cURLSeparator
)),
"Unexpected: base URL ends in slash"
);
OSL_PRECOND
(
!
_aBaseURL
.
endsWith
(
OUString
Literal1
<
cURLSeparator
>
(
)),
"Unexpected: base URL ends in slash"
);
sDerivedURL
=
OUStringBuffer
(
_aBaseURL
).
append
(
cURLSeparator
).
append
(
_sRelativeURL
).
makeStringAndClear
();
...
...
unotools/source/config/dynamicmenuoptions.cxx
Dosyayı görüntüle @
495b6575
...
...
@@ -59,7 +59,7 @@ using namespace ::com::sun::star::beans;
#define OFFSET_IMAGEIDENTIFIER 2
#define OFFSET_TARGETNAME 3
#define PATHPREFIX_SETUP
OUString("m")
#define PATHPREFIX_SETUP
"m"
/*-****************************************************************************************************************
@descr struct to hold information about one menu entry.
...
...
unotools/source/config/pathoptions.cxx
Dosyayı görüntüle @
495b6575
...
...
@@ -58,8 +58,8 @@ using namespace com::sun::star::util;
using
namespace
com
::
sun
::
star
::
lang
;
#define SEARCHPATH_DELIMITER ';'
#define SIGN_STARTVARIABLE
OUString( "$(" )
#define SIGN_ENDVARIABLE
OUString( ")" )
#define SIGN_STARTVARIABLE
"$("
#define SIGN_ENDVARIABLE
")"
// Supported variables by the old SvtPathOptions implementation
#define SUBSTITUTE_INSTPATH "$(instpath)"
...
...
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