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
0dcaf6c6
Kaydet (Commit)
0dcaf6c6
authored
Eyl 23, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ByteString->rtl::OStringBuffer
üst
ff6af403
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
18 deletions
+14
-18
unxmgr.cxx
extensions/source/plugin/unx/unxmgr.cxx
+8
-12
svdmodel.cxx
svx/source/svdraw/svdmodel.cxx
+6
-6
No files found.
extensions/source/plugin/unx/unxmgr.cxx
Dosyayı görüntüle @
0dcaf6c6
...
@@ -256,26 +256,22 @@ Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() th
...
@@ -256,26 +256,22 @@ Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() th
static
const
char
*
pHome
=
getenv
(
"HOME"
);
static
const
char
*
pHome
=
getenv
(
"HOME"
);
static
const
char
*
pNPXPluginPath
=
getenv
(
"NPX_PLUGIN_PATH"
);
static
const
char
*
pNPXPluginPath
=
getenv
(
"NPX_PLUGIN_PATH"
);
ByteString
aSearchPath
(
"/usr/lib/netscape/plugins"
);
// netscape!, quick, beam me back to the 90's when Motif roamed the earth
rtl
::
OStringBuffer
aSearchBuffer
(
RTL_CONSTASCII_STRINGPARAM
(
"/usr/lib/netscape/plugins"
));
if
(
pHome
)
if
(
pHome
)
{
aSearchBuffer
.
append
(
':'
).
append
(
pHome
).
append
(
"/.netscape/plugins"
);
aSearchPath
.
Append
(
':'
);
aSearchPath
.
Append
(
pHome
);
aSearchPath
+=
"/.netscape/plugins"
;
}
if
(
pNPXPluginPath
)
if
(
pNPXPluginPath
)
{
aSearchBuffer
.
append
(
':'
).
append
(
pNPXPluginPath
);
aSearchPath
.
Append
(
':'
);
aSearchPath
+=
pNPXPluginPath
;
}
const
Sequence
<
::
rtl
::
OUString
>&
rPaths
(
PluginManager
::
getAdditionalSearchPaths
()
);
const
Sequence
<
::
rtl
::
OUString
>&
rPaths
(
PluginManager
::
getAdditionalSearchPaths
()
);
for
(
i
=
0
;
i
<
rPaths
.
getLength
();
i
++
)
for
(
i
=
0
;
i
<
rPaths
.
getLength
();
i
++
)
{
{
aSearch
Path
+=
":"
;
aSearch
Buffer
.
append
(
':'
).
append
(
rtl
::
OUStringToOString
(
aSearchPath
+=
ByteString
(
String
(
rPaths
.
getConstArray
()[
i
]
),
aEncoding
);
rPaths
.
getConstArray
()[
i
],
aEncoding
)
);
}
}
ByteString
aSearchPath
=
aSearchBuffer
.
makeStringAndClear
();
int
nPaths
=
aSearchPath
.
GetTokenCount
(
':'
);
int
nPaths
=
aSearchPath
.
GetTokenCount
(
':'
);
maxDirent
u
;
maxDirent
u
;
for
(
i
=
0
;
i
<
nPaths
;
i
++
)
for
(
i
=
0
;
i
<
nPaths
;
i
++
)
...
...
svx/source/svdraw/svdmodel.cxx
Dosyayı görüntüle @
0dcaf6c6
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <osl/endian.h>
#include <osl/endian.h>
#include <rtl/logfile.hxx>
#include <rtl/logfile.hxx>
#include <rtl/strbuf.hxx>
#include <math.h>
#include <math.h>
#include <tools/urlobj.hxx>
#include <tools/urlobj.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/ucbstreamhelper.hxx>
...
@@ -302,12 +303,11 @@ SdrModel::~SdrModel()
...
@@ -302,12 +303,11 @@ SdrModel::~SdrModel()
#ifdef DBG_UTIL
#ifdef DBG_UTIL
if
(
pAktUndoGroup
)
if
(
pAktUndoGroup
)
{
{
ByteString
aStr
(
"Im Dtor des SdrModel steht noch ein offenes Undo rum:
\"
"
);
rtl
::
OStringBuffer
aStr
(
RTL_CONSTASCII_STRINGPARAM
(
"Im Dtor des SdrModel steht noch ein offenes Undo rum:
\"
"
));
aStr
+=
ByteString
(
pAktUndoGroup
->
GetComment
(),
gsl_getSystemTextEncoding
());
aStr
.
append
(
rtl
::
OUStringToOString
(
pAktUndoGroup
->
GetComment
(),
gsl_getSystemTextEncoding
()))
aStr
+=
'\"'
;
.
append
(
'\"'
);
OSL_FAIL
(
aStr
.
getStr
());
OSL_FAIL
(
aStr
.
GetBuffer
());
}
}
#endif
#endif
if
(
pAktUndoGroup
!=
NULL
)
if
(
pAktUndoGroup
!=
NULL
)
...
...
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