[Libreoffice-commits] core.git: sfx2/source
Noel Grandin
noel at peralex.com
Thu Aug 29 01:10:34 PDT 2013
sfx2/source/doc/new.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f1eed6b36a3496317fb2a88139ddab045e89e620
Author: Noel Grandin <noel at peralex.com>
Date: Thu Aug 29 10:08:58 2013 +0200
more windows fix after my OUString changes
MSVC having trouble with the OUString const-char-* overloads and
the ternary operator.
Change-Id: Iae88dfe26288b1b6d059b8166349686280f97348
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index f9dd4d3..7b52d8c 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;
}
More information about the Libreoffice-commits
mailing list