summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
diff options
context:
space:
mode:
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