about.cxx (6a0f49f0) about.cxx (e07a3880)
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

--- 5 unchanged lines hidden (view full) ---

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 *
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

--- 5 unchanged lines hidden (view full) ---

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
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_cui.hxx"
26
27#include <comphelper/processfactory.hxx>
28#include <dialmgr.hxx>
29#include <osl/file.hxx>
30#include <rtl/bootstrap.hxx>
31//#include <rtl/ustrbuf.hxx>

--- 274 unchanged lines hidden (view full) ---

306 createdRes = String( ResId( RID_CUI_ABOUT_STR_CREATED_VENDOR, *rId.GetResMgr() ));
307 }
308 const String copyrightAcknowledge( ResId( RID_CUI_ABOUT_STR_ACKNOWLEDGE, *rId.GetResMgr() ) );
309
310 rtl::OUStringBuffer sbcopyright(250);
311 sbcopyright.appendAscii("Copyright ");
312 sbcopyright.append((sal_Unicode)0x00a9);
313 sbcopyright.appendAscii(" ");
22// MARKER(update_precomp.py): autogen include statement, do not remove
23#include "precompiled_cui.hxx"
24
25#include <comphelper/processfactory.hxx>
26#include <dialmgr.hxx>
27#include <osl/file.hxx>
28#include <rtl/bootstrap.hxx>
29//#include <rtl/ustrbuf.hxx>

--- 274 unchanged lines hidden (view full) ---

304 createdRes = String( ResId( RID_CUI_ABOUT_STR_CREATED_VENDOR, *rId.GetResMgr() ));
305 }
306 const String copyrightAcknowledge( ResId( RID_CUI_ABOUT_STR_ACKNOWLEDGE, *rId.GetResMgr() ) );
307
308 rtl::OUStringBuffer sbcopyright(250);
309 sbcopyright.appendAscii("Copyright ");
310 sbcopyright.append((sal_Unicode)0x00a9);
311 sbcopyright.appendAscii(" ");
314 rtl::OUString sYear( RTL_CONSTASCII_USTRINGPARAM("2023") );
312 rtl::OUString sYear( RTL_CONSTASCII_USTRINGPARAM("2024") );
315 if (vendor.EqualsAscii("Apache Software Foundation")) {
316 sbcopyright.append(sYear);
317 sbcopyright.appendAscii(" The Apache Software Foundation.\n\n");
318 } else {
319#ifdef COPYRIGHT_YEAR
320 const rtl::OUString sDefYear( RTL_CONSTASCII_USTRINGPARAM( STRINGIFY( COPYRIGHT_YEAR ) ) );
321 if ( sDefYear.getLength() > 0 )
322 {

--- 280 unchanged lines hidden ---
313 if (vendor.EqualsAscii("Apache Software Foundation")) {
314 sbcopyright.append(sYear);
315 sbcopyright.appendAscii(" The Apache Software Foundation.\n\n");
316 } else {
317#ifdef COPYRIGHT_YEAR
318 const rtl::OUString sDefYear( RTL_CONSTASCII_USTRINGPARAM( STRINGIFY( COPYRIGHT_YEAR ) ) );
319 if ( sDefYear.getLength() > 0 )
320 {

--- 280 unchanged lines hidden ---