summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 11:22:26 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 08:36:06 +0200
commitf12f51316a2cb230138ec6dcdc7295e18b6fce28 (patch)
tree804d24d28af3c15026353fa780199e642c7d5cf1 /sc/source/ui/sidebar
parent2ac50736e4a3d442a43d3f9d368be45c57ad9285 (diff)
remove unnecessary use of OUString constructor in SC module
Change-Id: I2d40c589eb3b5c99300f36cd705c32cf824b2a98
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 7570526a6805..229b9c40bcb9 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -154,7 +154,7 @@ IMPL_LINK( NumberFormatPropertyPanel, NumFormatSelectHdl, ListBox*, pBox )
IMPL_LINK( NumberFormatPropertyPanel, NumFormatValueHdl, void*, EMPTYARG )
{
OUString aFormat;
- OUString sBreak = OUString(",");
+ OUString sBreak = ",";
bool bThousand = mpBtnThousand->IsEnabled()
&& mpBtnThousand->IsChecked();
bool bNegRed = mpBtnNegRed->IsEnabled()
@@ -304,7 +304,7 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
}*/
sal_uInt16 aLen = aCode.getLength();
OUString* sFormat = new OUString[4];
- OUString sTmpStr = OUString();
+ OUString sTmpStr = "";
sal_uInt16 nCount = 0;
sal_uInt16 nStrCount = 0;
while( nCount < aLen )
@@ -313,7 +313,7 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
if(cChar == sal_Unicode(','))
{
sFormat[nStrCount] = sTmpStr;
- sTmpStr = OUString();
+ sTmpStr = "";
nStrCount++;
}
else