[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Apr 17 12:17:38 PDT 2012
sc/source/ui/unoobj/datauno.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5920b681eaf2f1203efd5af581827db2e1a81bc8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Wed Apr 18 03:38:08 2012 +0900
fdo#46983 Macros: Macro to set filter in Calc does not work with .StringValue
this fixed a regression slipped into 8808d77f199720be596a09084fbc36569ed2f1f1
Signed-off-by: Kohei Yoshida <kohei.yoshida at gmail.com>
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 3695f14..69252ed 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -1334,7 +1334,7 @@ throw(uno::RuntimeException)
if (!bByEmpty && !rEntry.GetQueryItems().empty())
{
const ScQueryEntry::Item& rItem = rEntry.GetQueryItems().front();
- aField.IsNumeric = !rItem.meType != ScQueryEntry::ByString;
+ aField.IsNumeric = rItem.meType != ScQueryEntry::ByString;
aField.StringValue = rItem.maString;
aField.NumericValue = rItem.mfVal;
}
More information about the Libreoffice-commits
mailing list