summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-29 10:08:58 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 10:08:58 +0200
commitf1eed6b36a3496317fb2a88139ddab045e89e620 (patch)
treeebdf51f29714627852e2d49d186fd88e1f6b6d7d
parent7bd1e6bbd208287944b76915b875cef4bc135842 (diff)
more windows fix after my OUString changes
MSVC having trouble with the OUString const-char-* overloads and the ternary operator. Change-Id: Iae88dfe26288b1b6d059b8166349686280f97348
-rw-r--r--sfx2/source/doc/new.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index f9dd4d30952d..7b52d8cad61b 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -559,9 +559,9 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_Impl(
SfxNewFileDialog_Impl::~SfxNewFileDialog_Impl()
{
OUString &rExtra = pAntiImpl->GetExtraData();
- rExtra = MORE_BTN(GetState()) ? "Y" : "N";
+ rExtra = MORE_BTN(GetState()) ? OUString("Y") : OUString("N");
rExtra += "|";
- rExtra += aPreviewBtn.IsChecked() ? "Y" : "N";
+ rExtra += aPreviewBtn.IsChecked() ? OUString("Y") : OUString("N");
delete pMoreBt;
}