t_leak.cxx (cdf0e10c) t_leak.cxx (73d9b18a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
1/*
2 * t_leak.cxx
3 */
4
5#include "sal/main.h"
6#include "osl/process.h"
7#include "osl/thread.h"
8
9 int main (int /*argc*/, char ** /*argv*/)
10//SAL_IMPLEMENT_MAIN()
11{
12 rtl_Locale * pLocale = 0;
13 osl_getProcessLocale (&pLocale);
14#if 0
15 rtl_TextEncoding te = osl_getThreadTextEncoding();
16 (void) te;
17#endif
18 return 0;
19}
22/*
23 * t_leak.cxx
24 */
25
26#include "sal/main.h"
27#include "osl/process.h"
28#include "osl/thread.h"
29
30 int main (int /*argc*/, char ** /*argv*/)
31//SAL_IMPLEMENT_MAIN()
32{
33 rtl_Locale * pLocale = 0;
34 osl_getProcessLocale (&pLocale);
35#if 0
36 rtl_TextEncoding te = osl_getThreadTextEncoding();
37 (void) te;
38#endif
39 return 0;
40}