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
f2e74301
Kaydet (Commit)
f2e74301
authored
Ock 09, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:externvar: unotools
Change-Id: I117f5166dffa1514cfc774105b4c94009183fe90
üst
3b2ec686
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
16 deletions
+43
-16
Library_utl.mk
unotools/Library_utl.mk
+5
-0
unotoolsservices.hxx
unotools/inc/unotoolsservices.hxx
+22
-0
misccfg.cxx
unotools/source/config/misccfg.cxx
+1
-1
printwarningoptions.cxx
unotools/source/config/printwarningoptions.cxx
+1
-1
ServiceDocumenter.cxx
unotools/source/misc/ServiceDocumenter.cxx
+3
-2
fontcvt.cxx
unotools/source/misc/fontcvt.cxx
+6
-6
unotoolsservices.cxx
unotools/source/misc/unotoolsservices.cxx
+2
-4
xtempfile.cxx
unotools/source/ucbhelper/xtempfile.cxx
+3
-2
No files found.
unotools/Library_utl.mk
Dosyayı görüntüle @
f2e74301
...
...
@@ -20,6 +20,11 @@ $(eval $(call gb_Library_use_custom_headers,utl,\
# in case UNO services are exported: declare location of component file
$(eval $(call gb_Library_set_componentfile,utl,unotools/util/utl))
$(eval $(call gb_Library_set_include,utl, \
$$(INCLUDE) \
-I$(SRCDIR)/unotools/inc \
))
# add any additional definitions to be set for compilation here
# (e.g. -DLIB_DLLIMPLEMENTATION)
$(eval $(call gb_Library_add_defs,utl,\
...
...
unotools/inc/unotoolsservices.hxx
0 → 100644
Dosyayı görüntüle @
f2e74301
/* -*- 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_UNOTOOLS_INC_UNOTOOLSSERVICES_HXX
#define INCLUDED_UNOTOOLS_INC_UNOTOOLSSERVICES_HXX
#include <sal/config.h>
namespace
comphelper
{
namespace
service_decl
{
class
ServiceDecl
;
}
}
extern
comphelper
::
service_decl
::
ServiceDecl
const
OTempFileServiceDecl
;
extern
comphelper
::
service_decl
::
ServiceDecl
const
ServiceDocumenterDecl
;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
unotools/source/config/misccfg.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -36,7 +36,7 @@ namespace utl
{
class
SfxMiscCfg
;
std
::
weak_ptr
<
SfxMiscCfg
>
g_pOptions
;
st
atic
st
d
::
weak_ptr
<
SfxMiscCfg
>
g_pOptions
;
class
SfxMiscCfg
:
public
utl
::
ConfigItem
{
...
...
unotools/source/config/printwarningoptions.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -221,7 +221,7 @@ Sequence< OUString > SvtPrintWarningOptions_Impl::impl_GetPropertyNames()
return
seqPropertyNames
;
}
std
::
weak_ptr
<
SvtPrintWarningOptions_Impl
>
g_pPrintWarningOptions
;
st
atic
st
d
::
weak_ptr
<
SvtPrintWarningOptions_Impl
>
g_pPrintWarningOptions
;
SvtPrintWarningOptions
::
SvtPrintWarningOptions
()
{
...
...
unotools/source/misc/ServiceDocumenter.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -7,6 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <ServiceDocumenter.hxx>
#include <unotoolsservices.hxx>
#include <comphelper/servicedecl.hxx>
#include <com/sun/star/system/XSystemShellExecute.hpp>
using
namespace
com
::
sun
::
star
;
...
...
@@ -59,8 +60,8 @@ void unotools::misc::ServiceDocumenter::showServiceDocs(const Reference<XService
}
namespace
sdecl
=
::
comphelper
::
service_decl
;
sdecl
::
class_
<
unotools
::
misc
::
ServiceDocumenter
>
ServiceDocumenterImpl
;
extern
const
sdecl
::
ServiceDecl
ServiceDocumenterDecl
(
sdecl
::
class_
<
unotools
::
misc
::
ServiceDocumenter
>
const
ServiceDocumenterImpl
;
const
sdecl
::
ServiceDecl
ServiceDocumenterDecl
(
ServiceDocumenterImpl
,
"com.sun.star.comp.unotools.misc.ServiceDocumenter"
,
""
);
...
...
unotools/source/misc/fontcvt.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -1018,7 +1018,7 @@ enum SymbolFont
Wingdings3
=
32
,
MTExtra
=
64
,
TimesNewRoman
=
128
};
const
char
*
aSymbolNames
[]
=
const
char
*
const
aSymbolNames
[]
=
{
"Symbol"
,
"Wingdings"
,
"Monotype Sorts"
,
"Webdings"
,
"Wingdings 2"
,
"Wingdings 3"
,
"MT Extra"
,
"Times New Roman"
...
...
@@ -1041,7 +1041,7 @@ public:
struct
ExtraTable
{
sal_Unicode
cStar
;
sal_uInt8
cMS
;};
ExtraTable
aWingDingsExtraTab
[]
=
ExtraTable
const
aWingDingsExtraTab
[]
=
{
{
0x25cf
,
0x6C
},
{
0x2714
,
0xFC
},
{
0x2717
,
0xFB
},
{
0x2794
,
0xE8
},
{
0x27a2
,
0xD8
},
{
0xe000
,
0x6F
},
{
0xe001
,
0x73
},
{
0xe002
,
0x74
},
...
...
@@ -1059,7 +1059,7 @@ ExtraTable aWingDingsExtraTab[] =
{
0xe034
,
0x4D
},
{
0xe0aa
,
0x71
},
{
0xe422
,
0x44
}
};
ExtraTable
aSymbolExtraTab2
[]
=
ExtraTable
const
aSymbolExtraTab2
[]
=
{
{
0x0020
,
0x20
},
{
0x00A0
,
0x20
},
{
0x0021
,
0x21
},
{
0x2200
,
0x22
},
{
0x0023
,
0x23
},
{
0x2203
,
0x24
},
{
0x0025
,
0x25
},
{
0x0026
,
0x26
},
...
...
@@ -1087,7 +1087,7 @@ ExtraTable aSymbolExtraTab2[] =
{
0x2320
,
0xF3
},
{
0x2321
,
0xF5
},
{
0x2013
,
0x2D
}
};
ExtraTable
aSymbolExtraTab
[]
=
ExtraTable
const
aSymbolExtraTab
[]
=
{
{
0xe021
,
0xD3
},
{
0xe024
,
0xD2
},
{
0xe035
,
0x20
},
{
0xe036
,
0x28
},
{
0xe037
,
0x29
},
{
0xe039
,
0x20
},
{
0xe083
,
0x2B
},
{
0xe084
,
0x3C
},
...
...
@@ -1109,7 +1109,7 @@ ExtraTable aSymbolExtraTab[] =
{
0xe0dc
,
0xAD
},
{
0xe0dd
,
0xAF
}
};
ExtraTable
aTNRExtraTab
[]
=
ExtraTable
const
aTNRExtraTab
[]
=
{
{
0xe021
,
0xA9
},
{
0xe022
,
0x40
},
...
...
@@ -1207,7 +1207,7 @@ StarSymbolToMSMultiFontImpl::StarSymbolToMSMultiFontImpl()
const
char
*
SymbolFontToString
(
int
nResult
)
{
const
char
**
ppName
=
aSymbolNames
;
const
char
*
const
*
ppName
=
aSymbolNames
;
int
nI
=
Symbol
;
while
(
nI
<=
nResult
)
{
...
...
unotools/source/misc/unotoolsservices.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -11,11 +11,9 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <uno/environment.h>
namespace
sdecl
=
::
comphelper
::
service_decl
;
extern
sdecl
::
ServiceDecl
const
OTempFileServiceDecl
;
extern
sdecl
::
ServiceDecl
const
ServiceDocumenterDecl
;
#include <unotoolsservices.hxx>
namespace
sdecl
=
::
comphelper
::
service_decl
;
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
utl_component_getFactory
(
sal_Char
const
*
pImplName
,
void
*
,
void
*
)
...
...
unotools/source/ucbhelper/xtempfile.cxx
Dosyayı görüntüle @
f2e74301
...
...
@@ -18,6 +18,7 @@
*/
#include "XTempFile.hxx"
#include <unotoolsservices.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
...
...
@@ -402,8 +403,8 @@ throw ( css::io::IOException, css::uno::RuntimeException, std::exception )
}
namespace
sdecl
=
::
comphelper
::
service_decl
;
sdecl
::
class_
<
OTempFileService
>
OTempFileServiceImpl
;
extern
const
sdecl
::
ServiceDecl
OTempFileServiceDecl
(
sdecl
::
class_
<
OTempFileService
>
const
OTempFileServiceImpl
;
const
sdecl
::
ServiceDecl
OTempFileServiceDecl
(
OTempFileServiceImpl
,
"com.sun.star.io.comp.TempFile"
,
"com.sun.star.io.TempFile"
);
...
...
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