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
387a035d
Kaydet (Commit)
387a035d
authored
Ock 09, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:externvar: sal
Change-Id: Iefc33784f21e7a0b88c8d6308618926e38ab8554
üst
2f3bc785
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
57 additions
and
12 deletions
+57
-12
strbuf.hxx
include/rtl/strbuf.hxx
+5
-0
string.hxx
include/rtl/string.hxx
+5
-0
stringconcat.hxx
include/rtl/stringconcat.hxx
+4
-0
ustrbuf.hxx
include/rtl/ustrbuf.hxx
+4
-0
ustring.hxx
include/rtl/ustring.hxx
+4
-0
salusesyslog.hxx
sal/inc/salusesyslog.hxx
+23
-0
log.cxx
sal/osl/all/log.cxx
+1
-0
salinit.cxx
sal/osl/unx/salinit.cxx
+1
-2
osl_File.cxx
sal/qa/osl/file/osl_File.cxx
+1
-1
test_ostring_concat.cxx
sal/qa/rtl/strings/test_ostring_concat.cxx
+2
-1
test_ostring_stringliterals.cxx
sal/qa/rtl/strings/test_ostring_stringliterals.cxx
+4
-4
test_oustring_stringliterals.cxx
sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+3
-4
No files found.
include/rtl/strbuf.hxx
Dosyayı görüntüle @
387a035d
...
...
@@ -34,6 +34,11 @@
#include <rtl/stringconcat.hxx>
#endif
#ifdef RTL_STRING_UNITTEST
extern
bool
rtl_string_unittest_const_literal
;
extern
bool
rtl_string_unittest_const_literal_function
;
#endif
// The unittest uses slightly different code to help check that the proper
// calls are made. The class is put into a different namespace to make
// sure the compiler generates a different (if generating also non-inline)
...
...
include/rtl/string.hxx
Dosyayı görüntüle @
387a035d
...
...
@@ -39,6 +39,11 @@
#include <sal/log.hxx>
#ifdef RTL_STRING_UNITTEST
extern
bool
rtl_string_unittest_const_literal
;
extern
bool
rtl_string_unittest_const_literal_function
;
#endif
// The unittest uses slightly different code to help check that the proper
// calls are made. The class is put into a different namespace to make
// sure the compiler generates a different (if generating also non-inline)
...
...
include/rtl/stringconcat.hxx
Dosyayı görüntüle @
387a035d
...
...
@@ -17,6 +17,10 @@
#ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING"
#if defined RTL_STRING_UNITTEST_CONCAT
extern
bool
rtl_string_unittest_invalid_concat
;
#endif
#ifdef RTL_STRING_UNITTEST
#define rtl rtlunittest
#endif
...
...
include/rtl/ustrbuf.hxx
Dosyayı görüntüle @
387a035d
...
...
@@ -35,6 +35,10 @@
#include <rtl/stringconcat.hxx>
#endif
#ifdef RTL_STRING_UNITTEST
extern
bool
rtl_string_unittest_invalid_conversion
;
#endif
// The unittest uses slightly different code to help check that the proper
// calls are made. The class is put into a different namespace to make
// sure the compiler generates a different (if generating also non-inline)
...
...
include/rtl/ustring.hxx
Dosyayı görüntüle @
387a035d
...
...
@@ -39,6 +39,10 @@
#include <rtl/stringconcat.hxx>
#endif
#ifdef RTL_STRING_UNITTEST
extern
bool
rtl_string_unittest_invalid_conversion
;
#endif
// The unittest uses slightly different code to help check that the proper
// calls are made. The class is put into a different namespace to make
// sure the compiler generates a different (if generating also non-inline)
...
...
sal/inc/salusesyslog.hxx
0 → 100644
Dosyayı görüntüle @
387a035d
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_SAL_INC_SALUSESYSLOG_HXX
#define INCLUDED_SAL_INC_SALUSESYSLOG_HXX
#include <sal/config.h>
#include <config_global.h>
#if HAVE_SYSLOG_H
extern
bool
sal_use_syslog
;
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
sal/osl/all/log.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -27,6 +27,7 @@
#include "sal/log.hxx"
#include "sal/types.h"
#include "misc.hxx"
#include "salusesyslog.hxx"
#if defined ANDROID
#include <android/log.h>
...
...
sal/osl/unx/salinit.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -33,12 +33,11 @@
#include "sal/types.h"
#include <saltime.hxx>
#include <salusesyslog.hxx>
#if HAVE_SYSLOG_H
#include <string.h>
#include <syslog.h>
// from sal/osl/all/log.cxx:
extern
bool
sal_use_syslog
;
#endif
extern
"C"
{
...
...
sal/qa/osl/file/osl_File.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -5090,6 +5090,6 @@ class GlobalObject
}
};
GlobalObject
theGlobalObject
;
static
GlobalObject
theGlobalObject
;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal/qa/rtl/strings/test_ostring_concat.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -9,7 +9,6 @@
// activate support for detecting errors instead of getting compile errors
#define RTL_STRING_UNITTEST_CONCAT
bool
rtl_string_unittest_invalid_concat
=
false
;
#include <sal/types.h>
#include <cppunit/TestFixture.h>
...
...
@@ -22,6 +21,8 @@ bool rtl_string_unittest_invalid_concat = false;
#include <typeinfo>
bool
rtl_string_unittest_invalid_concat
=
false
;
using
namespace
rtl
;
namespace
std
...
...
sal/qa/rtl/strings/test_ostring_stringliterals.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -9,10 +9,6 @@
// activate the extra needed ctor
#define RTL_STRING_UNITTEST
bool
rtl_string_unittest_const_literal
;
bool
rtl_string_unittest_invalid_conversion
;
bool
rtl_string_unittest_const_literal_function
;
bool
rtl_string_unittest_non_const_literal_function
;
#include <sal/types.h>
#include <cppunit/TestFixture.h>
...
...
@@ -21,6 +17,10 @@ bool rtl_string_unittest_non_const_literal_function;
#include "rtl/string.hxx"
#include "rtl/strbuf.hxx"
bool
rtl_string_unittest_const_literal
;
bool
rtl_string_unittest_const_literal_function
;
static
bool
rtl_string_unittest_non_const_literal_function
;
namespace
test
{
namespace
ostring
{
class
StringLiterals
:
public
CppUnit
::
TestFixture
...
...
sal/qa/rtl/strings/test_oustring_stringliterals.cxx
Dosyayı görüntüle @
387a035d
...
...
@@ -9,10 +9,6 @@
// activate the extra needed ctor
#define RTL_STRING_UNITTEST
extern
bool
rtl_string_unittest_const_literal
;
extern
bool
rtl_string_unittest_invalid_conversion
;
extern
bool
rtl_string_unittest_const_literal_function
;
extern
bool
rtl_string_unittest_non_const_literal_function
;
#include <sal/config.h>
...
...
@@ -26,6 +22,9 @@ extern bool rtl_string_unittest_non_const_literal_function;
#include "rtl/ustring.hxx"
#include "rtl/ustrbuf.hxx"
extern
bool
rtl_string_unittest_const_literal
;
bool
rtl_string_unittest_invalid_conversion
;
namespace
test
{
namespace
oustring
{
class
StringLiterals
:
public
CppUnit
::
TestFixture
...
...
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