about.cxx (b1ddfb3c) | about.cxx (b6736e08) |
---|---|
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 --- 300 unchanged lines hidden (view full) --- 309 310 rtl::OUStringBuffer sbcopyright(250); 311 sbcopyright.appendAscii("Copyright "); 312 sbcopyright.append((sal_Unicode)0x00a9); 313 sbcopyright.appendAscii(" "); 314// TODO: 315// This date needs to be updated each year... do this automagically 316// | 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 --- 300 unchanged lines hidden (view full) --- 309 310 rtl::OUStringBuffer sbcopyright(250); 311 sbcopyright.appendAscii("Copyright "); 312 sbcopyright.append((sal_Unicode)0x00a9); 313 sbcopyright.appendAscii(" "); 314// TODO: 315// This date needs to be updated each year... do this automagically 316// |
317 rtl::OUString sYear( RTL_CONSTASCII_USTRINGPARAM("2022") ); | 317 rtl::OUString sYear( RTL_CONSTASCII_USTRINGPARAM("2023") ); |
318 if (vendor.EqualsAscii("Apache Software Foundation")) { 319 sbcopyright.append(sYear); 320 sbcopyright.appendAscii(" The Apache Software Foundation.\n\n"); 321 } else { 322#ifdef COPYRIGHT_YEAR 323 const rtl::OUString sDefYear( RTL_CONSTASCII_USTRINGPARAM( STRINGIFY( COPYRIGHT_YEAR ) ) ); 324 if ( sDefYear.getLength() > 0 ) 325 { --- 278 unchanged lines hidden --- | 318 if (vendor.EqualsAscii("Apache Software Foundation")) { 319 sbcopyright.append(sYear); 320 sbcopyright.appendAscii(" The Apache Software Foundation.\n\n"); 321 } else { 322#ifdef COPYRIGHT_YEAR 323 const rtl::OUString sDefYear( RTL_CONSTASCII_USTRINGPARAM( STRINGIFY( COPYRIGHT_YEAR ) ) ); 324 if ( sDefYear.getLength() > 0 ) 325 { --- 278 unchanged lines hidden --- |