summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-09-24 21:32:49 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-09-25 20:45:19 +0400
commit4f850e065632dc56d0c76bbbe23c3f44d1a7872d (patch)
treed5ef98671f2aff276b7323ba7f3e8b7f09bce207 /xmlsecurity/source/helper
parent57bd5cf70a875db4ec50761c6e53f4b478c10372 (diff)
String -> OUString
Change-Id: I252675bf223b8a14dff2b4bcdbfd926979e56dc3
Diffstat (limited to 'xmlsecurity/source/helper')
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx41
1 files changed, 19 insertions, 22 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index 8037ef9ddf5b..56f4df3e838f 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -30,7 +30,6 @@
#include <xmloff/attrlist.hxx>
#include <rtl/math.hxx>
-#include <tools/string.hxx>
namespace cssu = com::sun::star::uno;
namespace cssl = com::sun::star::lang;
@@ -112,42 +111,40 @@ sal_Bool XSecController::convertNumber( sal_Int32& rValue,
void XSecController::convertDateTime( ::rtl::OUStringBuffer& rBuffer,
const com::sun::star::util::DateTime& rDateTime )
{
- String aString( String::CreateFromInt32( rDateTime.Year ) );
- aString += '-';
+ rBuffer.append((sal_Int32) rDateTime.Year);
+ rBuffer.append('-');
if( rDateTime.Month < 10 )
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.Month );
- aString += '-';
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.Month);
+ rBuffer.append('-');
if( rDateTime.Day < 10 )
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.Day );
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.Day);
if( rDateTime.Seconds != 0 ||
rDateTime.Minutes != 0 ||
rDateTime.Hours != 0 )
{
- aString += 'T';
+ rBuffer.append('T');
if( rDateTime.Hours < 10 )
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.Hours );
- aString += ':';
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.Hours);
+ rBuffer.append(':');
if( rDateTime.Minutes < 10 )
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.Minutes );
- aString += ':';
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.Minutes);
+ rBuffer.append(':');
if( rDateTime.Seconds < 10 )
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.Seconds );
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.Seconds);
if ( rDateTime.HundredthSeconds > 0)
{
- aString += ',';
+ rBuffer.append(',');
if (rDateTime.HundredthSeconds < 10)
- aString += '0';
- aString += String::CreateFromInt32( rDateTime.HundredthSeconds );
+ rBuffer.append('0');
+ rBuffer.append((sal_Int32) rDateTime.HundredthSeconds);
}
}
-
- rBuffer.append( aString );
}
/** convert ISO Date String to util::DateTime */
0 15:58:23 +0100'>2012-11-30un-deprecate com::sun::star::xml::NamespaceContainerMichael Stahl1-0/+13 as it is apparently used, though i don't know if those properties are intentinally undocumented implementation details or accidentally undocumented due to lack of time. Change-Id: I0b5c564a8d49fb28aca3a6c1e15816f37ed20519 2012-09-27re-base on ALv2 code. Includes:Michael Meeks2-46/+28 linecap: Reintegrating finished LineCap feature Work contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 i118815 - Deprecate service due to removed implementation Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1233320 i118814 - Allow set timeout in Mail API Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1235679 included in the Apache baseline: dr80: #i117511# remove some assertions in xlsx/xlsb import filters Patch contributed by Daniel Rentz 2012-08-12Remove comment art from offapi and udkapiJean-Tiare LE BIGOT7-28/+0 I used this "one-liner" to detect comment lines containing only spaces and '=' or '-' $ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \; Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07 2012-08-07remove empty ascii boxes and stuff IIThomas Arnhold4-12/+0 Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea 2012-06-12re-base on ALv2 code.Michael Meeks6-150/+96 2012-01-05add mode-lines to .idl filesCaolán McNamara8-0/+23 2011-06-18ause130: #i117218# change .idl handling to gnu makeHans-Joachim Lankenau1-55/+0 2011-04-02Strip include guards in idl filesJulien Nabet7-84/+0 2011-01-31Some fixes to documentation (part 5)Aurimas Fišeras2-2/+2 Fixes many spelling errors (checked with en_US spell checker). Unifies spelling of some common words. Replaces single quotes ('') with double quotes (""). Fixes several other errors. 2010-12-06Replace all occured, occurance etc.Takeshi Abe1-2/+2 2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien9-37/+9 Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2008-04-11INTEGRATION: CWS changefileheader (1.5.300); FILE MERGEDRüdiger Timm1-23/+19 2008/03/31 16:07:37 rt 1.5.300.1: #i87441# Change license header to LPGL v3. 2008-04-11INTEGRATION: CWS changefileheader (1.3.500); FILE MERGEDRüdiger Timm6-138/+108 2008/03/31 16:07:37 rt 1.3.500.1: #i87441# Change license header to LPGL v3. 2008-04-11INTEGRATION: CWS changefileheader (1.4.84); FILE MERGEDRüdiger Timm1-23/+18 2008/03/31 16:07:37 rt 1.4.84.1: #i87441# Change license header to LPGL v3. 2008-04-11INTEGRATION: CWS changefileheader (1.4.500); FILE MERGEDRüdiger Timm1-23/+18 2008/03/31 16:07:37 rt 1.4.500.1: #i87441# Change license header to LPGL v3. 2008-01-30INTEGRATION: CWS dba24d (1.3.400); FILE MERGEDRüdiger Timm1-4/+4 2007/11/30 21:39:44 fs 1.3.400.1: warning-free autodoc: 'Confusion or Misuse of <Type> vs. <Member>' warning cause fixed 2006-12-01INTEGRATION: CWS dba22a (1.4.222); FILE MERGEDRüdiger Timm1-3/+3 2006/11/13 10:55:24 fs 1.4.222.1: corrected PRJNAME 2005-09-08INTEGRATION: CWS ooo19126 (1.3.52); FILE MERGEDRüdiger Timm1-48/+21 2005/09/05 12:37:58 rt 1.3.52.1: #i54170# Change license header: remove SISSL 2005-09-08INTEGRATION: CWS ooo19126 (1.2.130); FILE MERGEDRüdiger Timm2-94/+42 2005/09/05 12:37:57 rt 1.2.130.1: #i54170# Change license header: remove SISSL 2005-09-08INTEGRATION: CWS ooo19126 (1.3.52); FILE MERGEDRüdiger Timm1-47/+21 2005/09/05 12:37:57 rt 1.3.52.1: #i54170# Change license header: remove SISSL 2005-09-08INTEGRATION: CWS ooo19126 (1.2.130); FILE MERGEDRüdiger Timm2-94/+42 2005/09/05 12:37:56 rt 1.2.130.1: #i54170# Change license header: remove SISSL 2005-09-08INTEGRATION: CWS ooo19126 (1.2.52); FILE MERGEDRüdiger Timm1-47/+21