[Libreoffice-commits] .: sc/source
Takeshi Abe
tabe at kemper.freedesktop.org
Tue Apr 17 11:54:30 PDT 2012
sc/source/ui/unoobj/datauno.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 84a1ca6d9136c71bf20514307876824c1f915c0a
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
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 8380c0b..2043e26 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -1324,7 +1324,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